Multiple definitions in libX11.dylib
Multiple definitions in libX11.dylib
- Subject: Multiple definitions in libX11.dylib
- From: robert delius royar <email@hidden>
- Date: Sat, 13 Mar 2004 09:40:50 -0500 (EST)
- Organization: An Apple OS X end user
- Priority: NEW
With some libtool managed projects that have yet to be ported to OS X (i.e.
neither fink nor darwinports), I will see multiple warnings such as this:
ld: warning multiple definitions of symbol _XauFileName
/usr/X11R6/lib/libX11.6.2.dylib(AuFileName.o) definition of _XauFileName
/usr/X11R6/lib/libX11.dylib(AuFileName.o) definition of _XauFileName
It appears that enough of these warnings witl cause the link to fail. The
problem arises from libX11.dylib being a simple symbolic link to
libX11.6.2.dylib. The excerpt comes from a compilation that had these
warnings for every variable referenced in every library it tried to pull in
from the directory /usr/X11R6/lib/ (where there was a sym link involved).
What command flags to ld could I pass it that would either force it to
ignore the symlink libraries or choose the first of the values it finds and
go forward?
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.