1748019 Members
4773 Online
108757 Solutions
New Discussion юеВ

Re: hpsmh on 11.23

 
SOLVED
Go to solution
uxbeginner22
Trusted Contributor

hpsmh on 11v2

[root@hpux /]# /opt/hpsmh/lbin22/smhstart
/usr/lib/dld.sl: Can't find path for shared library: libexpat.sl.4
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)
[root@hpux /]# /opt/hpsmh/lbin20/smhstart
/usr/lib/dld.sl: Can't find path for shared library: libexpat.sl.4
/usr/lib/dld.sl: No such file or directory

[root@hpux /]# chatr /usr/lib/dld.sl
/usr/lib/dld.sl:
         shared library
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  disabled  first  Not Defined
         shared vtable support disabled
         explicit unloading enabled
         runtime checks disabled
         static branch prediction disabled
         executable from stack: D (default)
         kernel assisted branch prediction enabled
         lazy swap allocation disabled
         text segment locking disabled
         data segment locking disabled
         third quadrant private data space disabled
         fourth quadrant private data space disabled
         third quadrant global data space disabled
         data page size: D (default)
         instruction page size: D (default)
         nulptr references disabled
         shared library private mapping disabled

 I'm confused.how to solve?

Thanks

4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: hpsmh on 11.23

>dld.sl: Can't find path for shared library: libexpat.sl.4

>how to solve?

 

You need to do:

chatr /opt/hpsmh/lbin20/smhstart

ldd /opt/hpsmh/lbin20/smhstart

 

And either libexpat.sl.4 is missing or you need to set SHLIB_PATH to where it is.

uxbeginner22
Trusted Contributor

Re: hpsmh on 11.23

/opt/hpsmh/bin/smhconfig 
/usr/lib/dld.sl: Can't find path for shared library: libxml2.sl
/usr/lib/dld.sl: No such file or directory
ABORT instruction (core dumped)


chatr /opt/hpsmh/bin/smhconfig 
/opt/hpsmh/bin/smhconfig: 
         shared executable 
         shared library dynamic path search:
             SHLIB_PATH     disabled  second 
             embedded path  enabled   first  /opt/openssl/lib:/opt/hpsmh/lib:/opt/hpws/apache/lib:
         shared library list:
             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libsmhcommon.sl
             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libdomc.sl.0.7
             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libmba.sl.0.6
             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libexpat.sl.4
             dynamic   /opt/openssl/lib/libssl.sl.1
             dynamic   /opt/openssl/lib/libcrypto.sl.1
             dynamic   /opt/hpws/apache/lib/libapr-0.sl.9
             dynamic   /opt/hpws/apache/lib/libaprutil-0.sl.9
             dynamic   /usr/lib/librt.2
             dynamic   /usr/lib/libm.2
             dynamic   /usr/lib/libnsl.1
             dynamic   /usr/lib/libpthread.1
             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libxml2.sl
             dynamic   /opt/hpws/apache/lib/libz.sl
             dynamic   /opt/hpws/apache/lib/libiconv.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
         explicit unloading enabled
         runtime checks disabled
         static branch prediction disabled
         executable from stack: D (default)
         kernel assisted branch prediction enabled
         lazy swap allocation disabled
         text segment locking disabled
         data segment locking disabled
         third quadrant private data space disabled
         fourth quadrant private data space disabled
         third quadrant global data space disabled
         data page size: D (default)
         instruction page size: D (default)
         nulptr references enabled
         shared library private mapping disabled
         shared library text merging disabled


ln -s /opt/hpsmh/lib20/libxml2.sl /opt/hpsmh/lib/


/opt/hpsmh/bin/smhconfig 
/usr/lib/dld.sl: Can't find path for shared library: libxml2.sl
/usr/lib/dld.sl: No such file or directory

 

:(

 

How to solve?

Thanks

Dennis Handly
Acclaimed Contributor
Solution

Re: hpsmh on 11.23

>dld.sl: Can't find path for shared library: libxml2.sl
>             embedded path  enabled   first  /opt/openssl/lib:/opt/hpsmh/lib:/opt/hpws/apache/lib:
>             dynamic   /opt/hpsmh_build_dir_pa_1123/20/lib/libxml2.sl

 

So libxml2.sl must be in either /opt/openssl/lib, /opt/hpsmh/lib, /opt/hpws/apache/lib or /usr/lib.

 

If you don't see it there, you may not have installed the right products.  Do you have another system where 11.23 SMH works?

Or use find(1) to search for that shlib.

 

uxbeginner22
Trusted Contributor

Re: hpsmh on 11.23

Solution found,i have to copy or simlink the missing lib
in right places.
Thanks