1833151 Members
3280 Online
110051 Solutions
New Discussion

library error,

 
aruns_s
Frequent Advisor

library error,

After installing wget on an hp-ux machine, we got following error,
# wget
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libcrypto.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

libcrypto.sl was present under /usr/lib.

# ls /usr/lib/libcry*
libcrypt.a libcrypto.sl libcrypto.sl.0.9.7 libcryptx.sl
libcrypto.a libcrypto.sl.0 libcryptx.0

so I have copied libraries to /usr/local/lib

After copying library files, I got following error,

wget
/usr/lib/dld.sl: Unresolved symbol: __shlinit (code) from /opt/wbem/lib/libpegc
ommon.1

Please advice
Thanks
5 REPLIES 5
Jeeshan
Honored Contributor

Re: library error,

Hi arun

better you create a soft link the library file to that position

#ln -s /usr/lib/libcrypto.sl /usr/local/lib/libcrypto.sl
a warrior never quits
aruns_s
Frequent Advisor

Re: library error,

I hv already copied the libraries to /usr/loca/lib


Jeeshan
Honored Contributor

Re: library error,

is it works?

I have doubt it will not work.

if don't please soft link to that location.
a warrior never quits
Steven Schweda
Honored Contributor

Re: library error,

> After installing wget [...]

Starting from which kit? (Built how?)
Sometimes it pays to build things like this
from the source. Especially if your compiler
and run-time libraries differ from those used
whrn a particular binary kit was created.
Dennis Handly
Acclaimed Contributor

Re: library error,

>Unresolved symbol: __shlinit (code) /opt/wbem/lib/libpegcommon.1

Are you using libpegcommon.1 in your application? Or is this because you picked the wrong libcrypto.sl?

This error occurs if you don't have the aC++ runtime linked into your application.