DragonFly bugs List (threaded) for 2004-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Linker question (proper library names)
I managed to compile the xorg-libraries on DFly with a little
fudging here and there. (No, I haven't installed them yet.)
I ran across one linker error which stumped me: ld stopped
with "can't find XThrStub" even though it was exactly where
it was supposed to be.
The file the loader needed was actually a symlink, like this:
libXThrStub.so.6.1 -> ../../lib/XThrStub/libXThrStub.so.6.1
The symlink was correct, but ld insisted the file couldn't
be found.
I eventually changed the name of the symlink to just plain
'libXThrStub.so' which made ld very happy and the compile
finished without further error.
What puzzles me is that there were dozens of similar symlinks
in that same directory and AFAIK ld must have used all
of them but didn't complain about any of the others.
My question is: why did ld pick that one symlink to fuss
about? Why not all the others as well?
Thanks for any clues.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]