bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/1031] linker errors on solaris10 (symbol versioning?)


From: funtoos at yahoo dot com
Subject: [Bug ld/1031] linker errors on solaris10 (symbol versioning?)
Date: 1 Jul 2005 21:52:11 -0000

------- Additional Comments From funtoos at yahoo dot com  2005-07-01 21:52 
-------
I hit this error in openssl with gcc 4 and binutils 2.16.1:

../libcrypto.so: undefined reference to address@hidden'
../libcrypto.so: undefined reference to address@hidden'
../libcrypto.so: undefined reference to address@hidden'
../libcrypto.so: undefined reference to address@hidden'

And the workaround I mentioned about libtool actually works. just remove '-lc
-ldl' from link line of libcrypto.so and other links work fine after that. it
seems that -shared and -lc (or -ldl) are not playing nice together on solaris,
only on 10+ though. solaris 9 has no such problem. Why does linking shared
library require -lc on link line?

also, I should mention that same openssl package compiles fine on solaris 10
with gcc using /usr/ccs/ tools instead of binutils. original gcc 3.4.3 on the
install was built with /usr/ccs/bin/ld.


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1031

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]