<?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: link libclntsh dynamic in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884346#M704641</link>
    <description>Great!!!!!!&lt;BR /&gt;&lt;BR /&gt;THATS it! Thank you verry much!!!!!&lt;BR /&gt;&lt;BR /&gt;Karsten</description>
    <pubDate>Mon, 07 Feb 2005 08:58:30 GMT</pubDate>
    <dc:creator>Herbert Simon</dc:creator>
    <dc:date>2005-02-07T08:58:30Z</dc:date>
    <item>
      <title>link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884341#M704636</link>
      <description>Hi Folks out there!&lt;BR /&gt;How to compile a program that the libclntsh.sl on 11.11 is linked as dynamic?&lt;BR /&gt;I try:&lt;BR /&gt;cc -o vpmadp -Wl,+s vpmadp-main.o vpmadp-vpm_db.o -lpthread /usr/app/oracle/product/8.1.7//lib/libclntsh.sl    ../src/liborainf.a&lt;BR /&gt;&lt;BR /&gt;output from chatr is:&lt;BR /&gt;shared library list:&lt;BR /&gt;dynamic   /usr/lib/libpthread.1&lt;BR /&gt;static /usr/app/oracle/product/8.1.7//lib/libclntsh.sl&lt;BR /&gt;.8.0&lt;BR /&gt;&lt;BR /&gt;?? Which ld flag must be set that the libclntsh is dynamic loadable??&lt;BR /&gt;&lt;BR /&gt;Thanks for help!&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 07:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884341#M704636</guid>
      <dc:creator>Herbert Simon</dc:creator>
      <dc:date>2005-02-07T07:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884342#M704637</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;google on genclntsh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;get to&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/txen/index.jsp?topic=/com.ibm.txseries510.doc/erzhab0069.htm" target="_blank"&gt;http://publib.boulder.ibm.com/infocenter/txen/index.jsp?topic=/com.ibm.txseries510.doc/erzhab0069.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Shows how script used to rebuild lib&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Mon, 07 Feb 2005 08:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884342#M704637</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-02-07T08:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884343#M704638</link>
      <description>Hi Steve!&lt;BR /&gt;Thanks for the very fast answer. I'm afraid that I don't describe my problem exactly:&lt;BR /&gt;I don't want to relink the libclntsh istself! I link this library to my own programm as a normal library. All works fine but the linker bind the libclntsh as a static library to the resulted binary. This means independent from SHLIB_PATH the dld search the given absolut path in the binary about the libclntsh. This is worse!&lt;BR /&gt;I can change the binary with chatr -l [pathname] [binary_name] so the library is searched by the dld and the SHLIB_PATH. But i want to create a binary with this atribute directly on linktime.&lt;BR /&gt;&lt;BR /&gt;Help??</description>
      <pubDate>Mon, 07 Feb 2005 08:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884343#M704638</guid>
      <dc:creator>Herbert Simon</dc:creator>
      <dc:date>2005-02-07T08:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884344#M704639</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Shouldn't you have -l/usr/app/oracle/product/8.1.7//lib/libclntsh.sl instead of just  /usr/app/oracle/product/8.1.7//lib/libclntsh.sl ? (or -L)&lt;BR /&gt;And you should add /usr/app/oracle/product/8.1.7/lib to your LD_LIBRARY_PATH, in order to have ld find libs in it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 08:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884344#M704639</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2005-02-07T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884345#M704640</link>
      <description>cc -o vpmadp -Wl,+s vpmadp-main.o vpmadp-vpm_db.o -lpthread -L/usr/app/oracle/product/8.1.7/lib -lclntsh ../src/liborainf.a&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;chatr +s enable vpmadp&lt;BR /&gt;&lt;BR /&gt;If I understand your question correctly that is!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 08:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884345#M704640</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-02-07T08:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884346#M704641</link>
      <description>Great!!!!!!&lt;BR /&gt;&lt;BR /&gt;THATS it! Thank you verry much!!!!!&lt;BR /&gt;&lt;BR /&gt;Karsten</description>
      <pubDate>Mon, 07 Feb 2005 08:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884346#M704641</guid>
      <dc:creator>Herbert Simon</dc:creator>
      <dc:date>2005-02-07T08:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: link libclntsh dynamic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884347#M704642</link>
      <description>Thanks for verry fast help!</description>
      <pubDate>Mon, 21 Feb 2005 07:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-libclntsh-dynamic/m-p/4884347#M704642</guid>
      <dc:creator>Herbert Simon</dc:creator>
      <dc:date>2005-02-21T07:28:52Z</dc:date>
    </item>
  </channel>
</rss>

