- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Program doesn´t find existing libraries
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:27 PM
07-18-2005 11:27 PM
Program doesn´t find existing libraries
we got a new version of a program (animator) and we can´t start it, because the program doesn´t find an existing library (libjpeg.sl).
I checked SHLIB_PATH, /usr/local/lib is set.
I checked the executable with chatr and ldd and here is the problem: ldd searches in the right place (/usr/local/lib), but doesn´t find the library. I installed the patch PHSS_30965, but nothing changed. How can I solve this problem ?
Here is the printout of ldd at the "missing" library:
find library=libjpeg.sl; required by /soft/gns/animator/hpux/a3_06_5b2/a3_m_hp_64
search path=/usr/lib:/usr/local/lib:/etc/opt/resmon/lib:/opt/graphics/OpenGL/lib:/opt/graphics/common/lib:/opt/tiff-3.5/lib:/opt/jpeg-6/lib:/opt/libpng/lib:/opt/aalib/lib:/opt/gimp/lib:/opt/glib/lib:/opt/tk-8.2/lib/X11:/opt/xpm/lib/X11:/opt/zlib/lib (LD_LIBRARY_PATH)
trying path=/usr/lib/libjpeg.sl
trying path=/usr/local/lib/libjpeg.sl
trying path=/etc/opt/resmon/lib/libjpeg.sl
trying path=/opt/graphics/OpenGL/lib/libjpeg.sl
trying path=/opt/graphics/common/lib/libjpeg.sl
trying path=/opt/tiff-3.5/lib/libjpeg.sl
trying path=/opt/jpeg-6/lib/libjpeg.sl
trying path=/opt/libpng/lib/libjpeg.sl
trying path=/opt/aalib/lib/libjpeg.sl
trying path=/opt/gimp/lib/libjpeg.sl
trying path=/opt/glib/lib/libjpeg.sl
trying path=/opt/tk-8.2/lib/X11/libjpeg.sl
trying path=/opt/xpm/lib/X11/libjpeg.sl
trying path=/opt/zlib/lib/libjpeg.sl
search path=/usr/lib:/usr/local/lib:/etc/opt/resmon/lib:/opt/graphics/OpenGL/lib:/opt/graphics/common/lib:/opt/tiff-3.5/lib:/opt/jpeg-6/lib:/opt/libpng/lib:/opt/aalib/lib:/opt/gimp/lib:/opt/glib/lib:/opt/tk-8.2/lib/X11:/opt/xpm/lib/X11:/opt/zlib/lib (SHLIB_PATH)
trying path=/usr/lib/libjpeg.sl
trying path=/usr/local/lib/libjpeg.sl
trying path=/etc/opt/resmon/lib/libjpeg.sl
trying path=/opt/graphics/OpenGL/lib/libjpeg.sl
trying path=/opt/graphics/common/lib/libjpeg.sl
trying path=/opt/tiff-3.5/lib/libjpeg.sl
trying path=/opt/jpeg-6/lib/libjpeg.sl
trying path=/opt/libpng/lib/libjpeg.sl
trying path=/opt/aalib/lib/libjpeg.sl
trying path=/opt/gimp/lib/libjpeg.sl
trying path=/opt/glib/lib/libjpeg.sl
trying path=/opt/tk-8.2/lib/X11/libjpeg.sl
trying path=/opt/xpm/lib/X11/libjpeg.sl
trying path=/opt/zlib/lib/libjpeg.sl
search path=../lib/lib_hp/pa20_64:/opt/graphics/OpenGL/lib/pa20_64:/usr/lib/Motif2.1:/usr/local/pa20_64/lib:/usr/lib/pa20_64:/opt/langtools/lib/pa20_64: (RPATH)
trying path=../lib/lib_hp/pa20_64/libjpeg.sl
trying path=/opt/graphics/OpenGL/lib/pa20_64/libjpeg.sl
trying path=/usr/lib/Motif2.1/libjpeg.sl
trying path=/usr/local/pa20_64/lib/libjpeg.sl
trying path=/usr/lib/pa20_64/libjpeg.sl
trying path=/opt/langtools/lib/pa20_64/libjpeg.sl
search path=/lib/pa20_64:/usr/lib/pa20_64 (default)
trying path=/lib/pa20_64/libjpeg.sl
trying path=/usr/lib/pa20_64/libjpeg.sl
Unable to find library 'libjpeg.sl'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:32 PM
07-18-2005 11:32 PM
Re: Program doesn´t find existing libraries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:35 PM
07-18-2005 11:35 PM
Re: Program doesn´t find existing libraries
I bet that animator is a 64bit applic, and your libjpeg.sl is 32 bit or the other way around
use
# file animator
# file libjpeg.sl
to see if I'm correct.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:55 PM
07-18-2005 11:55 PM
Re: Program doesn´t find existing libraries
as the application itselfe has a 64 in the filename i assume its an 64Bit application. So i think the version of the library you have is a 32Bit version.
Try to get a 64Bit version of this library and install it to a path like /usr/lib/pa20_64 to keep all 64Bit libraries together.
You might want to check your library with
# file libjpeg.sl
to check wether or not its a 32Bit version.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2005 12:22 AM
07-19-2005 12:22 AM
Re: Program doesn´t find existing libraries
thanks to all, you´re right. animator is a 64-bit version (a3_m_hp_64: ELF-64 executable object file - PA-RISC 2.0 (LP64)
) and the library is a 32-bit version (libjpeg.sl: PA-RISC1.1 shared library
). I downloaded the library from http://hpux.cs.utah.edu/hppd/hpux/X11/Graphics/jpeg-6b/, (64-bit version), but I got the same effect.