gcc and ldd on HP11.0: collect2: cannot find ldd

Cesard, Patrick O. PATRICK.O.CESARD@saic.com
Thu Feb 28 09:29:00 GMT 2002


Hello,
 
I'm get this error when compiling on 64-bit HP11 machine: "collect2: cannot
find `ldd'.

My app is written in C (not C++), and the app runs fine after the
compilation and warning. The weird thing is that I can find ldd in my path:

'which ldd' returns /bin/ldd 
which is a link to /usr/ccs/bin/ldd, 
which is a link to /usr/ccs/lbin/ldd64, 
which is link to /usr/ccs/lbin/fastbind64...

So why the error? Why does gcc try to call on ldd if apparently it's not
needed when executing the app? How exactly does gcc use ldd on a HP11.0??

-- Patrick



More information about the Gcc-help mailing list