Operating System - HP-UX
1831703 Members
2467 Online
110029 Solutions
New Discussion

Can't find path for shared library libexslt.sl.7

 
Masaki Birchmier
Frequent Advisor

Can't find path for shared library libexslt.sl.7

Hello all,
I have a newly installed 11.11 system where I am trying to get the domxml PGP extension to work on Apache.

The php.log entry is...
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/domxml.sl' - Can't find path for shared library: libexslt.sl.7 in Unknown on line0

I have installed libxml2 and libxslt from the Porting Center. They installed to /usr/local/lib although there is no instance of libexslt.sl.7, only libexslt.a, libexslt.la and libexslt.sl

I have also included /usr/local/lib in LD_LIBRARY_PATH & SHLIB_PATH for the user that apache runs as (in my case user www).

I have also tried creating a link in the extensions directory
libexslt.sl.7 -> /usr/local/lib/libexslt.sl
but it had no effect.

The domxml extension worked out of the box with the 11.00 apache installation, but the 11.11 version does not work.
Please help with any suggestions.

Thanks,
Masaki
15 REPLIES 15
RAC_1
Honored Contributor

Re: Can't find path for shared library libexslt.sl.7

What are the perms on /usr/local/lib/libexslt.sl?? Atleast for everybosy. Also as creating the link has not helped, why not copy it in extension dir???

Try it and post.

Anil
There is no substitute to HARDWORK
Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

The permission on libexslt.sl is 555 root:sys
Tried copying to the extensions directory, and restarted apache. Same results.
RAC_1
Honored Contributor

Re: Can't find path for shared library libexslt.sl.7

After copying the file, is error message same as that of first error?

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: Can't find path for shared library libexslt.sl.7

State your apache version number. Is it the hpws kit 2.0.10?

That may be a factor.

What is the source on PGP?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

The error message is exactally the same.

versions:
hpuxwsAPACHE A.2.0.49.00 2.0.49 base
hpuxwsAPACHE.PHP A.2.0.49.0 4.3.4 base
RAC_1
Honored Contributor

Re: Can't find path for shared library libexslt.sl.7

What does following say??

swverify hpuxwsAPACHE
swverify hpuxwsAPACHE.PHP

Anil
There is no substitute to HARDWORK
Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

all apache filesets verify without errors
RAC_1
Honored Contributor

Re: Can't find path for shared library libexslt.sl.7

What does chatr on domxml.sl and libexslt.sl.7 return??

Anil
There is no substitute to HARDWORK
Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

domxml.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path enabled first /usr/local/lib
internal name:
domxml.slllll
shared library list:
dynamic /usr/local/lib/libexslt.sl.7
dynamic /usr/local/lib/libxslt.sl.1
dynamic /usr/local/lib/libxml2.sl.7
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
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



libexslt.sl:
shared library
shared library dynamic path search:
SHLIB_PATH enabled first
embedded path enabled second /usr/local/lib
shared library list:
static /usr/local/lib/libxml2.sl
dynamic /usr/local/lib/libz.sl
dynamic /usr/lib/libpthread.1
static /usr/local/lib/libintl.sl
dynamic /usr/lib/libm.2
dynamic /usr/lib/libc.2
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
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
RAC_1
Honored Contributor

Re: Can't find path for shared library libexslt.sl.7

For domxml.sl SHLIB_PATH is disabled. Let us try to enable and check.
chatr +s enable domxml.sl. Now restart apache and check.

Anil
There is no substitute to HARDWORK
ranganath ramachandra
Esteemed Contributor

Re: Can't find path for shared library libexslt.sl.7

can you post the output of "what /usr/lib/dld.sl"?

this may be a known issue which is resolved in the latest linker/loader patches PHSS_30967(11.00) / PHSS_30968 (11.11).
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

Thanks for your suggestions,
the chatr +s command did not work properly until I installed PHSS_30968.
SHLIB_PATH is now enabled for domxml.sl

Restarted apache, but still getting same php.log error "can't find path for shared library:libexslt.sl.7 in unknown on line 0"

Can someone explain the relationship between libexslt.sl.7 and libexslt.sl ?
I know that "7" represents a major revision level, but I'm not sure how the linker resolves libexslt.sl.7 to libexslt.sl (or does it)?
Masaki Birchmier
Frequent Advisor

Re: Can't find path for shared library libexslt.sl.7

Figured it out!
ran the command
"odump -sllibload domxml.sl"
and it errored out. So I suspected domxml.sl might be corrupted so I compared domxml.sl on another 11.11 system and discovered the size was quite different. Copied domxml.sl from the other sytem, and all is good now.

Good debug tools for library isses: ldd, chatr, odump, elfdump
ranganath ramachandra
Esteemed Contributor

Re: Can't find path for shared library libexslt.sl.7

"odump -verifyall" is helpful in checking whether a PA32 binary is corrupt.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Rolf Wagner_1
New Member

Re: Can't find path for shared library libexslt.sl.7

I have exactly the same problem, but no second HPUX 11.23 system to get a non-corrupted domxml.sl. Could anybody please tell me where to get it (System CD?) or just mail it to me...

rolf.wagner@tecways.com