<?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: unsatisfied pthread symbols in gcc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130746#M688339</link>
    <description>Dennis, &lt;BR /&gt;you're my hero!&lt;BR /&gt;&lt;BR /&gt;Thanks a bunch!&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
    <pubDate>Sat, 20 Sep 2008 15:17:45 GMT</pubDate>
    <dc:creator>Andreas Meinhardt</dc:creator>
    <dc:date>2008-09-20T15:17:45Z</dc:date>
    <item>
      <title>unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130742#M688335</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I dowloaded gcc 4.2.4 and 4.3.1 for HP-UX 11.11 (HP-UX hp9000 B.11.11 U 9000/785 2003690492 unlimited-user license&lt;BR /&gt;)from itrc and consistently have the following error:&lt;BR /&gt;-bash-3.2# /opt/hp-gcc64/bin/gcc hello.c &lt;BR /&gt;/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'pthread_mutex_lock' in load module '/opt/hp-gcc64/bin/gcc'.&lt;BR /&gt;/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'pthread_mutex_unlock' in load module '/opt/hp-gcc64/bin/gcc'.&lt;BR /&gt;/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'pthread_attr_setdetachstate' in load module '/opt/hp-gcc64/bin/gcc'.&lt;BR /&gt;/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'pthread_attr_destroy' in load module '/opt/hp-gcc64/bin/gcc'.&lt;BR /&gt;ABORT instruction (core dumped)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it's not that libpthread would be missing, it's where it's supposed to be:&lt;BR /&gt;-bash-3.2# find / -name libpthread* -print&lt;BR /&gt;/usr/lib/libpthread.1&lt;BR /&gt;/usr/lib/pa20_64/libp/libpthread.a&lt;BR /&gt;/usr/lib/pa20_64/libpthread.a&lt;BR /&gt;/usr/lib/pa20_64/libpthread_tr.a&lt;BR /&gt;/usr/lib/pa20_64/libpthread.1&lt;BR /&gt;/usr/lib/pa20_64/libpthread.sl&lt;BR /&gt;/usr/lib/pa20_64/libpthread_tr.1&lt;BR /&gt;/usr/lib/pa20_64/libpthread_tr.sl&lt;BR /&gt;/usr/lib/libpthread.sl&lt;BR /&gt;/usr/lib/libpthread_tr.1&lt;BR /&gt;/usr/lib/libpthread_tr.sl&lt;BR /&gt;/usr/lib/libp/libpthread.a&lt;BR /&gt;/usr/lib/libpthread.a&lt;BR /&gt;/usr/lib/libpthread_tr.a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone seen this before??&lt;BR /&gt;&lt;BR /&gt;I much appreciate any hint, as I never had this issue before!&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Andreas&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Sep 2008 13:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130742#M688335</guid>
      <dc:creator>Andreas Meinhardt</dc:creator>
      <dc:date>2008-09-19T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130743#M688336</link>
      <description>What, if anything, is in SHLIB_PATH?&lt;BR /&gt;&lt;BR /&gt;You also might need to build w/ -l pthread&lt;BR /&gt;option</description>
      <pubDate>Fri, 19 Sep 2008 19:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130743#M688336</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-09-19T19:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130744#M688337</link>
      <description>SHLIBPATH is not set.&lt;BR /&gt;&lt;BR /&gt;actually I am thinking of rebuilding gcc from source.&lt;BR /&gt;&lt;BR /&gt;I also get this error on ANY program (example above is just HelloWorld.c), so it does not involve any threads at all.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Fri, 19 Sep 2008 20:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130744#M688337</guid>
      <dc:creator>Andreas Meinhardt</dc:creator>
      <dc:date>2008-09-19T20:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130745#M688338</link>
      <description>&amp;gt;Anyone seen this before??&lt;BR /&gt;&lt;BR /&gt;Over and over.  You have a lemon libc.  gcc expects that you have a newer one that supports the pthread_* stubs, since gcc isn't linked with libpthread, since it doesn't need it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1186353" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1186353&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1023298" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1023298&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;OldSchool: What is in SHLIB_PATH?&lt;BR /&gt;&amp;gt;You also might need to build with -lpthread&lt;BR /&gt;&lt;BR /&gt;Actually that's the whole purpose of the pthread_* stubs in libc.  So you don't have to do that and so you don't lose performance.</description>
      <pubDate>Fri, 19 Sep 2008 21:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130745#M688338</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-19T21:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130746#M688339</link>
      <description>Dennis, &lt;BR /&gt;you're my hero!&lt;BR /&gt;&lt;BR /&gt;Thanks a bunch!&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sat, 20 Sep 2008 15:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130746#M688339</guid>
      <dc:creator>Andreas Meinhardt</dc:creator>
      <dc:date>2008-09-20T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130747#M688340</link>
      <description>Works like a charm after installing the patch!&lt;BR /&gt;&lt;BR /&gt;Thank you!!&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Sat, 20 Sep 2008 15:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130747#M688340</guid>
      <dc:creator>Andreas Meinhardt</dc:creator>
      <dc:date>2008-09-20T15:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: unsatisfied pthread symbols in gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130748#M688341</link>
      <description>&amp;gt;Works like a charm after installing the patch!&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers, please read the following about assigning points and reopening threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;</description>
      <pubDate>Sat, 20 Sep 2008 20:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unsatisfied-pthread-symbols-in-gcc/m-p/5130748#M688341</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-09-20T20:06:23Z</dc:date>
    </item>
  </channel>
</rss>

