1833777 Members
2120 Online
110063 Solutions
New Discussion

Re: gcc and HP-UX

 
olly_1
Occasional Contributor

gcc and HP-UX

Hello,

I`m having problems using gcc to compile app.
The build is successful, but when I try to run the program, I get:
/usr/lib/dld.sl: Unresolved symbol: __shlinit

These look like shared library initialization routines. I`ve tried using
`nm` to find these routines in /lib and /usr/lib but to no avail.(They all
appear to define them as `extern`).

Version info:-

HP-UX 11.0
gcc 2.8.1

Any suggestion ? I really appreciate it.

Thanks,


2 REPLIES 2
Scott Van Kalken
Esteemed Contributor

Re: gcc and HP-UX

what happens when compiled with -DEBUG?
Hartmut Lang
Trusted Contributor

Re: gcc and HP-UX

Just some hints:
- could it be a problem with 32bit vs. 64bit applications?
- have you checked patches for dld and ld?

Hardy