Operating System - HP-UX
1752683 Members
5570 Online
108789 Solutions
New Discussion

/usr/lib/dld.sl: Invalid version fo shared library

 
SOLVED
Go to solution
Jolivet
Occasional Contributor

/usr/lib/dld.sl: Invalid version fo shared library


A product offers the possibility to be customized by changing a shared library.

I use template files .c and .h and I compile and link a new shared library.

But when I replace the original one by mine, those messages appear :
/usr/lib/dld/sl: Invalid version for shared library
/usr/lib/dld.sl: Exec format error

What can I do ?

Michel
1 REPLY 1
Klaus Crusius
Trusted Contributor
Solution

Re: /usr/lib/dld.sl: Invalid version fo shared library


Please report the OS version you run and the cc and ld commands you use in detail.
Ask the provider of your 3rd party product, if they support your actual HPUX version. (I fear the HPUX10 .o-files cannot be linked with HPUX11 .o files).

Klaus
There is a live before death!