Operating System - HP-UX
1855750 Members
1315 Online
104103 Solutions
New Discussion

Re: Libraries were not found

 
Jose Luis Orozco
Occasional Advisor

Libraries were not found

Hi, I installed HDLM in HP-UX 11.11 and any command ends with an error saying:

/usr/lib/dld.s1: can't find path for shared library: libhntr2n.s1
/usr/lib/dld.s1: no such file or directory
abort (coredump)

Do you know why is that and how to solve it?

Thanks in advance,

JL
9 REPLIES 9
V. Nyga
Honored Contributor

Re: Libraries were not found

Hi,

with 'ldd ' you can find such problems.
Then you've to find the path where these libraries are.
Then you have to create/expand the environment variable 'SHLIB_PATH'.
Either you'll set these pathes during login or at the beginning of a script that starts your executable.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Steven Schweda
Honored Contributor

Re: Libraries were not found

> /usr/lib/dld.s1: can't find path for shared library: libhntr2n.s1

Is that really ".s1" (ess-one), or ".sl"
(ess-ell)? One makes more sense than the
other.
Jose Luis Orozco
Occasional Advisor

Re: Libraries were not found

Volmark, thanks in advance, but it is not working, I keep receiving the same message, in fact I used LD_LIBRARY_PATH because our OS is 64 bits to look like this:

LD_LIBRARY_PATH =/usr/local/lib:/lib:/usr/lib

Any clues?
Jose Luis Orozco
Occasional Advisor

Re: Libraries were not found

Steven, yes it is a "l" not a "1", my mistake...
Jose Luis Orozco
Occasional Advisor

Re: Libraries were not found

Sorry guys, but this library does not exists: libhntr2n.sl

So, shoudl I get it from the software vendor?

Thanks again,

JL
Dennis Handly
Acclaimed Contributor

Re: Libraries were not found

>in fact I used LD_LIBRARY_PATH because our OS is 64 bits to look like this:
LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib

This is incorrect. It doesn't matter the OS, it matters the architecture and the bitness of the application. In this case you must use SHLIB_PATH for those paths.

Also remove /lib, there is nothing there, it's an illusion.
Jose Luis Orozco
Occasional Advisor

Re: Libraries were not found

O.K. thanks.
V. Nyga
Honored Contributor

Re: Libraries were not found

Hi again,

yes, if you can't find this library with a find-command (from '/') then you have to ask the vendor of the software. Have you tried with wildcards, maybe the lib has a misspelling.

V.
*** Say 'Thanks' with Kudos ***
Jose Luis Orozco
Occasional Advisor

Re: Libraries were not found

Guys, I found that the software uses a special library, which for some reason it is not being installed at installation time, so I will have to turn this case to HDS, thanks again.