link error???
hello
I am trying to compile the vorbis tools on my darwin7.2 system. Making of libao, libvorbis and libogg went fine, with no compile errors at all.
but when I try to compile vorbis tools I get an unresolved symbol error:
ld: undefined symbols:
_dlsym_auto_underscore
and make dies. the funny thing is, I found where this symbol should be (somewhere in libao.a if I saw right) and the library is specified on the command line which is supposed to link the binaries. it looks somewhat like this:
gcc -fno-common -O4 ....... -lm -logg -vorbis -lao -lpthread ... and so on....
I also seem to have other link problems with ncurses for example... very strange. My problem is, that i have a linker on the system (called "ld") but it seems not to link what it should... on the other hand, as I mentioned, 3 other packages already compiled and linked with o problems at all...
my question: how to make gcc to link the binaries with no errors (because the symbol should be there somewhere) or how to do something what "ldconfig" on linux systems does? Cos I have no ldconfig. could anyone tell me what package I need to look for to get "gnu ld" (the one which comes with ldconfig)? Or what else should I do?
Thanks
raven
|