Re: Problem linking c-program

From: Frank Langelage <>
Date: Mon, 27 Feb 2012 21:51:13 +0100
Message-ID: <>

On 26.02.12 21:01, Gerard H. Pille wrote:
> Frank Langelage wrote:
>> On 19.02.12 20:20, Gerard H. Pille wrote:
> Does this help?
> I found this using what is called a "search engine", one of the more
> obscure ones can be found at this address:

Oh, thank you. Never heard about search engines!!! ;-))

No, does not help. ld is the original one from Solaris. This one is used by oracle for building the shared libraries. gcc/g++ dirs are not in $PATH.

oracle_at_sb2000:/opt/oracle type ld
ld ist /usr/ccs/bin/ld

oracle_at_sb2000:/opt/oracle ls -l /usr/ccs/bin/ld -rwxr-xr-x 1 root bin 10660 Jul 6 2011 /usr/ccs/bin/ld

root_at_sb2000:/ grep /usr/ccs/bin/ld /var/sadm/install/contents /usr/ccs/bin/ld f none 0755 root bin 10660 50287 1309964095 SUNWtoo

root_at_sb2000:/ LANG=C pkginfo -l SUNWtoo

       NAME:  Programming Tools
   CATEGORY:  system
       ARCH:  sparc
    VERSION:  11.10.0,REV=2005.
    BASEDIR:  /
     VENDOR:  Oracle Corporation
       DESC:  utilities for software development, including ld, ldd, od, 
and truss
     PSTAMP:  on10ptchfeat20110701191055
   INSTDATE:  Aug 05 2011 16:44
    HOTLINE:  Please contact your local service provider
     STATUS:  vollständig installiert
      FILES:       71 installierte Pfadnamen
                   11 gemeinsam genutzte Pfadnamen
                    4 gelinkte Dateien
                   15 Verzeichnisse
                   34 ausführbare Dateien
                 2329 genutzte Blöcke (geschätzter Wert)
Received on Mon Feb 27 2012 - 14:51:13 CST

Original text of this message