Operating System - HP-UX
1822360 Members
5409 Online
109642 Solutions
New Discussion юеВ

Re: /usr/lib/dld.sl: No such file or directory

 
wtiancai
Frequent Advisor

/usr/lib/dld.sl: No such file or directory

hi,

bea8:/#/usr/local/bin/svn --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libcom_err.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)


what's the problem?
12 REPLIES 12
Wim Rombauts
Honored Contributor

Re: /usr/lib/dld.sl: No such file or directory

Nine times out of 10 : Your SHLIB_PATH does not include the directory with the libraries needed by svn.
Try tusc and look at where svn complains about a file it could not open.
Wim Rombauts
Honored Contributor

Re: /usr/lib/dld.sl: No such file or directory

Tusc i snot even necessary : Check is /usr/local/lib is in $SHLIB_PATH
(or in $LD_LIBRARY_PATH is svn is a 64-bit application)
TY 007
Honored Contributor

Re: /usr/lib/dld.sl: No such file or directory

Wu An Wtiancai,

Kerberos Shared Library - libcom_err.sl:
http://docs.hp.com/en/B2355-60105/libkrb5.3.html

32-Bit Library on PA-RISC System:
# ln -s /usr/lib/libcom_err.sl /usr/local/lib/libcom_err.sl

64-Bit Librart on PA-RISC System:
# ln -s /usr/lib/pa20_64/libcom_err.sl /usr/local/lib/libcom_err.sl

Thanks
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

hi,Wim

Tusc i snot even necessary : Check is /usr/local/lib is in $SHLIB_PATH
(or in $LD_LIBRARY_PATH is svn is a 64-bit application)

==========
bea8:/#getconf HW_CPU_SUPP_BITS
64
bea8:/#getconf KERNEL_BITS
64


and i have set the PATH in the profile,but still get the error info

bea8:/#/usr/local/bin/svn --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libcom_err.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
James R. Ferguson
Acclaimed Contributor

Re: /usr/lib/dld.sl: No such file or directory

Hi:

Verify that '/usr/local/lib' allows read+execute permissions to your process, too.

Regards!

...JRF...
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

hi,JSF

i use the root to login,and the usr/local/lib is read+execute status
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

hi,JRF

i copy the libcom_err.sl from usr/lib/ to usr/local/lib/,and it's ok,but

bea8:/#svn --version
/usr/lib/dld.sl: Can't open shared library: /usr/local/apr/lib/libaprutil-0.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)


=====
and i can't find libaprutil-0.sl anywhere
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/dld.sl: No such file or directory

Well, you found libcom_err.sl, now you need to find all of the rest. You should use ldd(1) and chatr(1) on /usr/local/bin/svn to see if there are even more.

>Wim: Try tusc and look at where svn complains about a file it could not open.

Pretty useless because that's what the message said and it isn't there. Unless it is a permission problem.

>Wim: Check if /usr/local/lib is in $SHLIB_PATH

That won't work because that's what dld already tried.
You need to set SHLIB_PATH to there it IS, not where you want it to be.

>bea8:/#getconf HW_CPU_SUPP_BITS

To figure out what svn is, you need to use file(1). You don't care about the kernel.

>I can't find libaprutil-0.sl anywhere

Did you look for libaprutil-0.*?

Using google and searching for libaprutil-0.sl, shows lots of questions about this lib but no real answers. Some say the name is libaprutil-0.sl.9.

If you do have that name, just make a symlink from libaprutil-0.sl to libaprutil-0.sl.9.
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

hi,Dennis

>You should use ldd(1) and chatr(1) on /usr/local/bin/svn to see if there are even more.

bea8:/#ldd /usr/local/bin/svn
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libintl.sl => /usr/local/lib/libintl.sl
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
/usr/local/lib/libexpat.sl => /usr/local/lib/libexpat.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libneon.sl => /usr/local/lib/libneon.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libexpat.sl => /usr/local/lib/libexpat.sl
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libasn1.sl => /usr/local/lib/libasn1.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libhx509.sl => /usr/local/lib/libhx509.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libasn1.sl => /usr/local/lib/libasn1.sl
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libkrb5.sl => /usr/local/lib/libkrb5.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libasn1.sl => /usr/local/lib/libasn1.sl
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libkrb5.sl => /usr/local/lib/libkrb5.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libasn1.sl => /usr/local/lib/libasn1.sl
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libhx509.sl => /usr/local/lib/libhx509.sl
/usr/local/lib/libheimntlm.sl => /usr/local/lib/libheimntlm.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libkrb5.sl => /usr/local/lib/libkrb5.sl
/usr/local/lib/libgssapi.sl => /usr/local/lib/libgssapi.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/local/lib/libroken.sl => /usr/local/lib/libroken.sl
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/local/lib/libcom_err.sl => /usr/local/lib/libcom_err.sl
/usr/local/lib/libasn1.sl => /usr/local/lib/libasn1.sl
/usr/local/lib/libkrb5.sl => /usr/local/lib/libkrb5.sl
/usr/local/lib/libheimntlm.sl => /usr/local/lib/libheimntlm.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/local/lib/libssl.sl => /usr/local/lib/libssl.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/local/lib/libcrypto.sl => /usr/local/lib/libcrypto.sl
/usr/local/lib/libz.sl => /usr/local/lib/libz.sl
/usr/local/lib/libintl.sl => /usr/local/lib/libintl.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
/usr/lib/libxti.2 => /usr/lib/libxti.2
/usr/lib/libm.2 => /usr/lib/libm.2
/usr/local/apr/lib/libapr-0.sl => /usr/local/apr/lib/libapr-0.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
/usr/lib/libm.2 => /usr/lib/libm.2
/usr/local/lib/libdb.sl => /usr/local/lib/libdb.sl
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
/usr/lib/dld.sl: Can't open shared library: /usr/local/apr/lib/libaprutil-0.sl
/usr/lib/dld.sl: No such file or directory



bea8:/#chatr /usr/local/bin/svn
chatr(error): dl_header_ext.size != sizeof(dl_header_ext). Please update your v
/usr/local/bin/svn:
shared executable
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path enabled second /usr/local/lib
shared library list:
dynamic /usr/lib/libpthread.1
static /usr/local/lib/libsvn_client-1.sl
static /usr/local/lib/libsvn_wc-1.sl
static /usr/local/lib/libsvn_ra-1.sl
static /usr/local/lib/libsvn_ra_local-1.sl
static /usr/local/lib/libsvn_repos-1.sl
static /usr/local/lib/libsvn_fs-1.sl
static /usr/local/lib/libsvn_fs_fs-1.sl
static /usr/local/lib/libsvn_fs_base-1.sl
static /usr/local/lib/libsvn_ra_svn-1.sl
static /usr/local/lib/libsvn_ra_dav-1.sl
static /usr/local/lib/libsvn_delta-1.sl
static /usr/local/lib/libsvn_diff-1.sl
static /usr/local/lib/libsvn_subr-1.sl
static /usr/local/apr/lib/libaprutil-0.sl
static /usr/local/lib/libdb.sl
static /usr/local/apr/lib/libapr-0.sl
dynamic /usr/lib/libm.2
dynamic /usr/lib/libnsl.1
dynamic /usr/lib/libdld.2
static /usr/local/lib/libneon.sl
static /usr/local/lib/libexpat.sl
static /usr/local/lib/libintl.sl
static /usr/local/lib/libiconv.sl
dynamic /usr/local/lib/libz.sl
dynamic /usr/lib/libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)


>Did you look for libaprutil-0.*?

i just do like this

bea8:/#find . -name libaprutil-0.*
./opt/hpws/apache/lib/libaprutil-0.9
./opt/hpws/apache/lib/libaprutil-0.9.4
./opt/hpws/apache/lib/libaprutil-0.a

>If you do have that name, just make a symlink from libaprutil-0.sl to libaprutil-0.sl.9.

pls speak that detail
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

hi,when installing svn,if the Apache must be installed?
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

i reinstall the apr_util-0.9.13-hppa-11.11.depot,then it's ok


tks
wtiancai
Frequent Advisor

Re: /usr/lib/dld.sl: No such file or directory

tks