At 13:46 Uhr +0100 25.01.2002, Martin Costabel wrote:
>Max Horn wrote:
>
>>  So, maybe the suggestion the linker gives us, to use "-bind_at_load"
>>  might indeed be the way to go. Maybe somebody could test the result
>>  with this?
>
>Doesn't help. Even the advice about using -bind_at_load remains there
>when this option is used. I see another part of the ld man page that
>seems to be relevant:
>
>    The order of the  search  list
>    is always the same order the libraries were encountered on
>    the command line. All dynamic libraries libraries that the
>    dynamic  libraries are dependent upon are added to the end
>    of the search list.
>
>The second sentence contradicts the first, in fact: If there is an
>object file before -lXm in the list that depends on libXm, then libXm
>will end up at the end of the list.

Nope, it does not contradict each other. It doesn't say "...movd to 
the end of the search list.", after all, but "...added to the end of 
the search list."


>  This is not quite what is written there, but it seems to work like that.

If that is true, then it's a bug I'd say. There is a good reason why 
added dependencies are to be added at the end.


>I tried to put -L/sw/lib -lXm before any *.o in the command line, and
>the message changed, the order between libXm and libXt was respected in
>this case.
>
>But this did not yet help with the "DropSiteManager" error.
>
>I found a message where someone solved this problem on BeOS, but what he
>says is way over my head:
>http://www.mail-archive.com/lesstif@hungry.com/msg01460.html

Yes, that's basically the same thing. In this case, he "solved" it by 
using static libs, but I don't see this as a good option, only as a 
last-chance-resort.


Let us look at it from this point: It all used to work. Then came 
XFree86 4.2.0 and it stopped to work. Now, what exactly changed to 
make it stop work, I wonder? The only thing that varied where the 
XFree libs. So we should maybe take a peek and check if we can find 
some differences... I have both XFree86 versions installed on 
different partitions, maybe I can uncover something during weekend.


Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to