<?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: Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497399#M704929</link>
    <description>Either relink both executable and first library with -lpthread and with -lcl, or set LD_PRELOAD to have both libpthread and libcl (full pathes, colon-separated).&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Mar 2005 03:22:23 GMT</pubDate>
    <dc:creator>Alexey Roytman</dc:creator>
    <dc:date>2005-03-08T03:22:23Z</dc:date>
    <item>
      <title>Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497395#M704925</link>
      <description>I have an 64-bit executable built without thread support, trying to load a shared library&lt;BR /&gt;linked with -lpthread and are unable to&lt;BR /&gt;load the library. I was looking for solution&lt;BR /&gt;that allows the two to co-exist versus,&lt;BR /&gt;removing threading from my library or adding&lt;BR /&gt;to existing executable.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rock</description>
      <pubDate>Thu, 03 Mar 2005 17:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497395#M704925</guid>
      <dc:creator>Rock Brown</dc:creator>
      <dc:date>2005-03-03T17:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497396#M704926</link>
      <description>Have you tried relinking your application with -lpthread?&lt;BR /&gt;&lt;BR /&gt;++Cyrille</description>
      <pubDate>Fri, 04 Mar 2005 08:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497396#M704926</guid>
      <dc:creator>MAUCCI_2</dc:creator>
      <dc:date>2005-03-04T08:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497397#M704927</link>
      <description>If you really-really do not want to relink either of them, you can try to define environment variable LD_PRELOAD to be /usr/lib/pa20_64/libpthread.1 before starting the application:&lt;BR /&gt;  LD_PREALOAD=/usr/lib/pa20_64/libpthread.1&lt;BR /&gt;  export LD_PRELOAD&lt;BR /&gt;  exec your_application_binary&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Mar 2005 04:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497397#M704927</guid>
      <dc:creator>Alexey Roytman</dc:creator>
      <dc:date>2005-03-06T04:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497398#M704928</link>
      <description>Thanks for the feedback.&lt;BR /&gt;&lt;BR /&gt;I went with linking against -lpthread for&lt;BR /&gt;various reasons and it fixed the problem, however I then tried to dlopen() a 2nd shared library from within the first loaded&lt;BR /&gt;shared library and the problem returned.&lt;BR /&gt;The 2nd failure was resolved by linking&lt;BR /&gt;my executable against -lcl, which is&lt;BR /&gt;used by the last shared library. The&lt;BR /&gt;last shared library is not mind so I&lt;BR /&gt;can't change it. I still prefer a solution&lt;BR /&gt;I could implement in the first shared library since that is my development focus.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2005 17:30:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497398#M704928</guid>
      <dc:creator>Rock Brown</dc:creator>
      <dc:date>2005-03-07T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497399#M704929</link>
      <description>Either relink both executable and first library with -lpthread and with -lcl, or set LD_PRELOAD to have both libpthread and libcl (full pathes, colon-separated).&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 03:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-dlopen-load-module-usr-lib-pa20-64-libpthread-1-because/m-p/3497399#M704929</guid>
      <dc:creator>Alexey Roytman</dc:creator>
      <dc:date>2005-03-08T03:22:23Z</dc:date>
    </item>
  </channel>
</rss>

