bad libs /lib/liblddbg.so.4
Sorry this may not be directly related to Sun Studio. I seem to be able to compile fine with gcc but not with Studio.
configure:3048: /opt/SUNWspro/bin/cc conftest.c >&5
ld.so.1: ld: fatal: relocation error: file /usr/lib/libld.so.2: symbol Dbg_cap_sec_title: referenced symbol not found
cc: Fatal error in /usr/ccs/bin/ld : Killed
When compiling some GNU software, I get that error message.
Apparently the library /lib/liblddbg.so.4 should have. This is on a system that has it:
root:/lib# strings /lib/liblddbg.so.4 |grep Dbg_cap_sec_title
Dbg_cap_sec_title
This one doesn't have it:
root@vps1:/# strings /lib/liblddbg.so.4 |grep Dbg_cap_sec_title
root@vps1:/# pkginfo -l SUNWcsl
PKGINST: SUNWcsl
NAME: Core Solaris, (Shared Libs)
CATEGORY: system
ARCH: i386
VERSION: 11.10.0,REV=2005.01.21.16.34
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core shared libraries for a specific instruction-set architecture
PSTAMP: on10-patch-x20070329073629
INSTDATE: Apr 18 2007 09:03
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES:573 installed pathnames
19 shared pathnames
23 directories
159 executables
22889 blocks used (approx)
pkgchk doesn't report any errors and I believe I am on the latest patches.
This is on x86 intel 64.
Any ideas?

