Operating System - HP-UX
1753412 Members
7354 Online
108793 Solutions
New Discussion юеВ

Re: Cannot find shared library libz.sl

 
Jerry Sommerville_2
Frequent Advisor

Cannot find shared library libz.sl

I have been trying to build a subversion client on HP-UX 11.11 and have finally managed to get a binary in /usr/local/bin. However, each time I run the svn client, I get the error message that dld.sl cannot find the libz.sh library and then a core dump. I have modified to the SHLIB_PATH environment variable to point to /usr/local/lib where the library lives, but to no avail. Can anyone tell me what I might do to resolve the internal library requirements so I can get svn to work without blowing up? Attached is the logfile of the "make install" for the client. Obviously there were lots of issues..... The make install also died with a core dump - cannot find libz.sl library, but not until after it created the svn client executables.
25 REPLIES 25
Fat Scrape
Honored Contributor

Re: Cannot find shared library libz.sl

Hi,

Have you installed zlib?

You can find it

http://hpux.connect.org.uk/hppd/hpux/Misc/zlib-1.2.3/

Regards
Jerry Sommerville_2
Frequent Advisor

Re: Cannot find shared library libz.sl

Yes, zlib is installed.
Fat Scrape
Honored Contributor

Re: Cannot find shared library libz.sl

Hi,

if you run ldd (list dynamic dependencies of executable files)
of your svn client executable file, do you see lbz.sl library with the correct path?

Regards,
Jerry Sommerville_2
Frequent Advisor

Re: Cannot find shared library libz.sl

The ldd command reported the svn client is not a shared executable.


"ldd: "/usr/local/bin/svn" is not a shared executable."

What now?
MarkSyder
Honored Contributor

Re: Cannot find shared library libz.sl

What response do you get to the command:

file /usr/local/bin/svn

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Jerry Sommerville_2
Frequent Advisor

Re: Cannot find shared library libz.sl

HHmm... Good question. Here it is:

root@temp85 / >file /usr/local/bin/svn
/usr/local/bin/svn: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Fat Scrape
Honored Contributor

Re: Cannot find shared library libz.sl

Hi,

but with cmd

ldd /usr/local/bin/svn

Do you see nothing?

but with cmd file you see that /usr/local/bin/svn is a
ELF-64 executable object file - PA-RISC 2.0 (LP64)

Regards
Jerry Sommerville_2
Frequent Advisor

Re: Cannot find shared library libz.sl

Huh? I don't understand! I already did a ldd command and verified it is a executable. What now?
H.Merijn Brand (procura
Honored Contributor

Re: Cannot find shared library libz.sl

Can it be that you are running in a 32bit environment?

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn