<?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: SHLIB_PATH - what do I get? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029081#M430403</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You probably do know how SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;Most likely you have bad code from the porting and archive center.&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH works just like PATH&lt;BR /&gt;&lt;BR /&gt;Omit pathes you don't need from it and it reads from beginning to end right to left until it finds what its looking for.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 19 Feb 2007 05:21:16 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-02-19T05:21:16Z</dc:date>
    <item>
      <title>SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029080#M430402</link>
      <description>I thought I knew how SHLIB_PATH works, apparently I was wrong. My problem is this:&lt;BR /&gt;&lt;BR /&gt;On a new itanium box running 11.23 I'm installing ImageMagick. All packages are taken from the porting archives. When I try a simple conversion (jpg to gif) I get this:&lt;BR /&gt;&lt;BR /&gt; /usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module '/usr/local/lib/hpux32/libMagick.so'.&lt;BR /&gt;&lt;BR /&gt;Searching the forums tells me that these symbols are part of libgcc (libgcc.a). With hp-gcc installed and the porting archives libgcc package, I have libgcc.a in the following places:&lt;BR /&gt;&lt;BR /&gt;/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/hpux64/libgcc.a&lt;BR /&gt;/usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/libgcc.a&lt;BR /&gt;/usr/local/lib/hpux32/libgcc.a&lt;BR /&gt;/opt/hp-gcc-4.1.1/lib/gcc/ia64-hp-hpux11.23/4.1.1/hpux64/libgcc.a&lt;BR /&gt;/opt/hp-gcc-4.1.1/lib/gcc/ia64-hp-hpux11.23/4.1.1/libgcc.a&lt;BR /&gt;&lt;BR /&gt;The 64-bit ones are obviously off, but how do I write my SHLIB_PATH to get this working? I just can get this to work, is the only way forward to compile from source? Who's being stupid, me or the box?</description>
      <pubDate>Mon, 19 Feb 2007 05:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029080#M430402</guid>
      <dc:creator>Jörgen Edström</dc:creator>
      <dc:date>2007-02-19T05:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029081#M430403</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You probably do know how SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;Most likely you have bad code from the porting and archive center.&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH works just like PATH&lt;BR /&gt;&lt;BR /&gt;Omit pathes you don't need from it and it reads from beginning to end right to left until it finds what its looking for.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 19 Feb 2007 05:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029081#M430403</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-02-19T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029082#M430404</link>
      <description>Hello JÃ¶rgen!&lt;BR /&gt;&lt;BR /&gt;This is my SHLIB for Oracle into .profile of user:&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=$PATH:ORACLE_HOME/lib&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Mon, 19 Feb 2007 05:52:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029082#M430404</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-02-19T05:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029083#M430405</link>
      <description>Let me rephrase a little:&lt;BR /&gt;&lt;BR /&gt;a) Is it possible for a shared library to ignore the SHLIB_PATH?&lt;BR /&gt;b) If yes can this behaviour be changed without compiling from source?&lt;BR /&gt;&lt;BR /&gt;To those who replied so far:&lt;BR /&gt;- Please define bad code, i.e. is it useless or usable with some tweaks?&lt;BR /&gt;- I'm no guru but having your PATH in your SHLIB_PATH cannot help much. I'm close to calling it stupid but I wont...</description>
      <pubDate>Mon, 19 Feb 2007 06:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029083#M430405</guid>
      <dc:creator>Jörgen Edström</dc:creator>
      <dc:date>2007-02-19T06:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029084#M430406</link>
      <description>a) Is it possible for a shared library to ignore the SHLIB_PATH?&lt;BR /&gt;&lt;BR /&gt;i'm not a programmer, but depend from wich user launch the application.&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH is defined into the .profile.&lt;BR /&gt;&lt;BR /&gt;I think you can try to:&lt;BR /&gt;- put absolute path of library into the application code&lt;BR /&gt;&lt;BR /&gt;- put an '#' on the SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;- create another user without SHLIB_PATH or a different SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 19 Feb 2007 06:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029084#M430406</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-02-19T06:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029085#M430407</link>
      <description>Sorry but I cannot listen to advice about SHLIB_PATH from someone with:&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=$PATH:ORACLE_HOME/lib&lt;BR /&gt;&lt;BR /&gt;in oracle's profile. It isn't exactly a sign of expertise in this particular field of hpux system administration, sorry.</description>
      <pubDate>Mon, 19 Feb 2007 07:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029085#M430407</guid>
      <dc:creator>Jörgen Edström</dc:creator>
      <dc:date>2007-02-19T07:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029086#M430408</link>
      <description>Probably,&lt;BR /&gt;&lt;BR /&gt;but this isn't Oracle's profile, it is of another user...&lt;BR /&gt;&lt;BR /&gt;and... is configured by HP technichains, not from me.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 19 Feb 2007 07:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029086#M430408</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-02-19T07:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029087#M430409</link>
      <description>This might help,&lt;BR /&gt;&lt;BR /&gt;man chatr&lt;BR /&gt;&lt;BR /&gt;I think that +s is the likely parameter to use because it enables/disables SHLIB_PATH look-up in the file, without re-compilation.&lt;BR /&gt;Check that SHLIB_PATH is listed, at least.&lt;BR /&gt;&lt;BR /&gt;Anyway start off with running &lt;BR /&gt;chatr [executable] &lt;BR /&gt;and see what the order is, then go from there.&lt;BR /&gt;&lt;BR /&gt;Another option is to try and add those directories onto the end of your SHLIB_PATH, but make sure that you have the right versions of gcc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Feb 2007 09:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029087#M430409</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2007-02-19T09:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029088#M430410</link>
      <description>&amp;gt;/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module 'libMagick.so'.&lt;BR /&gt;&lt;BR /&gt;If you get this unsat, you are out of luck and must relink.  (But see below.)  You most likely can't solve it with SHLIB_PATH.  (You should really use LD_LIBRARY_PATH on IPF.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;but how do I write my SHLIB_PATH to get this working?&lt;BR /&gt;&lt;BR /&gt;You can't.  You need to use LPATH at link time.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I'm installing ImageMagick. All packages are taken from the porting archives.&lt;BR /&gt;&lt;BR /&gt;libMagick.so was linked incorrectly.  You may be able to "fix" it by linking your application with -u__udivsi3.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;- Please define bad code, i.e. is it useless or usable with some tweaks?&lt;BR /&gt;&lt;BR /&gt;Not sure.  You may be able to use the -u kludge.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;- I'm no guru but having your PATH in your SHLIB_PATH cannot help much. I'm close to calling it stupid but I wont...&lt;BR /&gt;&lt;BR /&gt;It depends, but most likely it is "stupid" since libs should not be in bin directories.</description>
      <pubDate>Mon, 19 Feb 2007 22:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029088#M430410</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-19T22:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029089#M430411</link>
      <description>Given the information so far I have decided to build imagemagick from source code. I'll try chatr later when I'm not on a deadline - thanks.</description>
      <pubDate>Tue, 20 Feb 2007 03:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029089#M430411</guid>
      <dc:creator>Jörgen Edström</dc:creator>
      <dc:date>2007-02-20T03:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029090#M430412</link>
      <description>The lesson learned from this experience is not to assume that packages downloaded from the porting archives will work. If you need to rely on a specific function you should probably do it yourself.</description>
      <pubDate>Tue, 20 Feb 2007 03:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029090#M430412</guid>
      <dc:creator>Jörgen Edström</dc:creator>
      <dc:date>2007-02-20T03:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: SHLIB_PATH - what do I get?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029091#M430413</link>
      <description>&amp;gt;The lesson learned from this experience is not to assume that packages downloaded from the porting archives will work.&lt;BR /&gt;&lt;BR /&gt;The only trouble with this, did you report they didn't work and offer a solution?  That way the next user can benefit.</description>
      <pubDate>Tue, 20 Feb 2007 23:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shlib-path-what-do-i-get/m-p/5029091#M430413</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-20T23:22:50Z</dc:date>
    </item>
  </channel>
</rss>

