<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Program doesn´t find existing libraries in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585677#M230511</link>
    <description>Does your LD_LIBRARY_PATH has that directory.</description>
    <pubDate>Tue, 19 Jul 2005 06:32:28 GMT</pubDate>
    <dc:creator>Vibhor Kumar Agarwal</dc:creator>
    <dc:date>2005-07-19T06:32:28Z</dc:date>
    <item>
      <title>Program doesn´t find existing libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585676#M230510</link>
      <description>Hi,&lt;BR /&gt;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).&lt;BR /&gt;I checked SHLIB_PATH, /usr/local/lib is set.&lt;BR /&gt;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 ?&lt;BR /&gt;Here is the printout of ldd at the "missing" library:&lt;BR /&gt;&lt;BR /&gt;find library=libjpeg.sl; required by /soft/gns/animator/hpux/a3_06_5b2/a3_m_hp_64&lt;BR /&gt;    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)&lt;BR /&gt;    trying path=/usr/lib/libjpeg.sl&lt;BR /&gt;    trying path=/usr/local/lib/libjpeg.sl&lt;BR /&gt;    trying path=/etc/opt/resmon/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/graphics/OpenGL/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/graphics/common/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/tiff-3.5/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/jpeg-6/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/libpng/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/aalib/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/gimp/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/glib/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/tk-8.2/lib/X11/libjpeg.sl&lt;BR /&gt;    trying path=/opt/xpm/lib/X11/libjpeg.sl&lt;BR /&gt;    trying path=/opt/zlib/lib/libjpeg.sl&lt;BR /&gt;    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)&lt;BR /&gt;    trying path=/usr/lib/libjpeg.sl&lt;BR /&gt;    trying path=/usr/local/lib/libjpeg.sl&lt;BR /&gt;    trying path=/etc/opt/resmon/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/graphics/OpenGL/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/graphics/common/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/tiff-3.5/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/jpeg-6/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/libpng/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/aalib/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/gimp/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/glib/lib/libjpeg.sl&lt;BR /&gt;    trying path=/opt/tk-8.2/lib/X11/libjpeg.sl&lt;BR /&gt;    trying path=/opt/xpm/lib/X11/libjpeg.sl&lt;BR /&gt;    trying path=/opt/zlib/lib/libjpeg.sl&lt;BR /&gt;    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)&lt;BR /&gt;    trying path=../lib/lib_hp/pa20_64/libjpeg.sl&lt;BR /&gt;    trying path=/opt/graphics/OpenGL/lib/pa20_64/libjpeg.sl&lt;BR /&gt;    trying path=/usr/lib/Motif2.1/libjpeg.sl&lt;BR /&gt;    trying path=/usr/local/pa20_64/lib/libjpeg.sl&lt;BR /&gt;    trying path=/usr/lib/pa20_64/libjpeg.sl&lt;BR /&gt;    trying path=/opt/langtools/lib/pa20_64/libjpeg.sl&lt;BR /&gt;    search path=/lib/pa20_64:/usr/lib/pa20_64  (default)&lt;BR /&gt;    trying path=/lib/pa20_64/libjpeg.sl&lt;BR /&gt;    trying path=/usr/lib/pa20_64/libjpeg.sl&lt;BR /&gt;        Unable to find library 'libjpeg.sl'.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 06:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585676#M230510</guid>
      <dc:creator>reis</dc:creator>
      <dc:date>2005-07-19T06:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Program doesn´t find existing libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585677#M230511</link>
      <description>Does your LD_LIBRARY_PATH has that directory.</description>
      <pubDate>Tue, 19 Jul 2005 06:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585677#M230511</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-19T06:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Program doesn´t find existing libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585678#M230512</link>
      <description>You say you have *a* libjpeg.sl, but is it of a matching architecture?&lt;BR /&gt;&lt;BR /&gt;I bet that animator is a 64bit applic, and your libjpeg.sl is 32 bit or the other way around&lt;BR /&gt;&lt;BR /&gt;use&lt;BR /&gt;&lt;BR /&gt;# file animator&lt;BR /&gt;# file libjpeg.sl&lt;BR /&gt;&lt;BR /&gt;to see if I'm correct.&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Tue, 19 Jul 2005 06:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585678#M230512</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-07-19T06:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Program doesn´t find existing libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585679#M230513</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;You might want to check your library with&lt;BR /&gt;&lt;BR /&gt;# file libjpeg.sl&lt;BR /&gt;&lt;BR /&gt;to check wether or not its a 32Bit version.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan</description>
      <pubDate>Tue, 19 Jul 2005 06:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585679#M230513</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2005-07-19T06:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Program doesn´t find existing libraries</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585680#M230514</link>
      <description>Hi,&lt;BR /&gt;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)&lt;BR /&gt;) and the library is a 32-bit version (libjpeg.sl:     PA-RISC1.1 shared library&lt;BR /&gt;). I downloaded the library from &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/X11/Graphics/jpeg-6b/," target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/X11/Graphics/jpeg-6b/,&lt;/A&gt; (64-bit version), but I got the same effect.</description>
      <pubDate>Tue, 19 Jul 2005 07:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-doesn-t-find-existing-libraries/m-p/3585680#M230514</guid>
      <dc:creator>reis</dc:creator>
      <dc:date>2005-07-19T07:22:07Z</dc:date>
    </item>
  </channel>
</rss>

