<?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: libc problem - reinit libc failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210366#M793353</link>
    <description>the problem is, I can not control that, because the dependencies are buried in the external libraries.&lt;BR /&gt;I am also not sure, if the two versions of libc really matter.&lt;BR /&gt;&lt;BR /&gt;Klaus</description>
    <pubDate>Fri, 05 Mar 2004 06:06:18 GMT</pubDate>
    <dc:creator>Klaus Crusius</dc:creator>
    <dc:date>2004-03-05T06:06:18Z</dc:date>
    <item>
      <title>libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210364#M793351</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;we suffer a problem when linking 2 3rd party libriaries in one application. One of them is the well known Oracle, the other is Setcim from AspenTech. The error message appears, before the execution of main is starting.&lt;BR /&gt;&lt;BR /&gt;The following happens on HPUX11.0 with Oracle 9.2.0.4 and setcim version 4.9:&lt;BR /&gt;&lt;BR /&gt;# cat main.c&lt;BR /&gt;int main() {&lt;BR /&gt;        exit(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# cc main.c -L$ORACLE_LIB -L$SETCIMLIB -lsetcim -lclntsh -o main&lt;BR /&gt;# main&lt;BR /&gt;&lt;BR /&gt;Pthread internal error: message: __libc_reinit() failed, file: /ux/core/kern/pth&lt;BR /&gt;reads/pthread.c, line: 1093&lt;BR /&gt;Return Pointer is 0xc0b69273&lt;BR /&gt;Quit&lt;BR /&gt;&lt;BR /&gt;It is not possible to start up any application, which uses both libraries. We &lt;BR /&gt;found, that setcim refers to libc.1, while oracle uses libc.2.&lt;BR /&gt;If that is the reason for the error, &lt;BR /&gt;is there a version of libsetcim.a available, which uses libc.2 ?&lt;BR /&gt;&lt;BR /&gt; I add the output of odump&lt;BR /&gt;&lt;BR /&gt;odump -sllibloadlist main&lt;BR /&gt;&lt;BR /&gt;Shared Library Load List for main:&lt;BR /&gt;&lt;BR /&gt;Order    Name&lt;BR /&gt;&lt;BR /&gt;    0    main&lt;BR /&gt;    1     ^ /oracle1/app/oracle/product/9.2.0.1.0/lib32/libclntsh.sl.9.0&lt;BR /&gt;    2     ^  ^ /oracle1/app/oracle/product/9.2.0.1.0/lib32/libwtc9.sl&lt;BR /&gt;    3     ^  ^ /usr/lib/librt.2&lt;BR /&gt;    4     ^  ^ /usr/lib/libpthread.1&lt;BR /&gt;    5     ^  ^ /usr/lib/libnss_dns.1&lt;BR /&gt;    6     ^  ^  ^ /usr/lib/libc.2&lt;BR /&gt;    7     ^  ^  ^  ^ /usr/lib/libdld.2&lt;BR /&gt;    8     ^  ^  ^ /usr/lib/libdld.2&lt;BR /&gt;    9     ^  ^ /usr/lib/libdld.2&lt;BR /&gt;   10     ^  ^ /usr/lib/libm.2&lt;BR /&gt;   11     ^  ^ /usr/lib/libc.2&lt;BR /&gt;   12     ^  ^  ^ /usr/lib/libdld.2&lt;BR /&gt;   13     ^  ^ /usr/lib/libcl.2&lt;BR /&gt;   14     ^  ^  ^ /usr/lib/libdld.2&lt;BR /&gt;   15     ^  ^  ^ /usr/lib/libisamstub.1&lt;BR /&gt;   16     ^ /cocain/setcim49/lib/libsetcim.a&lt;BR /&gt;   17     ^  ^ /usr/lib/libM.1&lt;BR /&gt;   18     ^  ^ /usr/lib/libc.1&lt;BR /&gt;   19     ^  ^  ^ /usr/lib/libdld.1&lt;BR /&gt;   20     ^ /usr/lib/libc.2&lt;BR /&gt;   21     ^  ^ /usr/lib/libdld.2&lt;BR /&gt;&lt;BR /&gt;Is there any idea out there that helps us to make the beasts cooperate?&lt;BR /&gt;&lt;BR /&gt;Klaus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 05:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210364#M793351</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2004-03-05T05:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210365#M793352</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Do not use libc.1 and libc.2 &lt;BR /&gt;&lt;BR /&gt;libc.2 should be enough&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Fri, 05 Mar 2004 05:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210365#M793352</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-03-05T05:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210366#M793353</link>
      <description>the problem is, I can not control that, because the dependencies are buried in the external libraries.&lt;BR /&gt;I am also not sure, if the two versions of libc really matter.&lt;BR /&gt;&lt;BR /&gt;Klaus</description>
      <pubDate>Fri, 05 Mar 2004 06:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210366#M793353</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2004-03-05T06:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210367#M793354</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Go back to your supplier&lt;BR /&gt;&lt;BR /&gt; Pthread internal error:&lt;BR /&gt;message:_libc_reinit() failed,&lt;BR /&gt; file: /ux/core/kern/pthreads/pthread.c, line: 1093&lt;BR /&gt; This error suggest *a program is compiled with Kernel Threads&lt;BR /&gt;(libpthread), which cannot be intermixed with Posix/DCE threads."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE : The  info shared shows  you linked  with both libc.1 and libc.2 and libdld.1 and libdld.2 &lt;BR /&gt;&lt;BR /&gt;this is not supported since it is an unacceptable mix..&lt;BR /&gt;&lt;BR /&gt;        Steve Steel</description>
      <pubDate>Fri, 05 Mar 2004 07:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210367#M793354</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-03-05T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210368#M793355</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;run chatr main&lt;BR /&gt;&lt;BR /&gt;Post result&lt;BR /&gt;&lt;BR /&gt;  Also after a fault try&lt;BR /&gt;&lt;BR /&gt; chatr +s disable main&lt;BR /&gt;&lt;BR /&gt;Try it again&lt;BR /&gt;&lt;BR /&gt;Is there a difference&lt;BR /&gt;&lt;BR /&gt;             Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 07:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210368#M793355</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-03-05T07:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210369#M793356</link>
      <description>before modification:&lt;BR /&gt;&lt;BR /&gt;$chatr main&lt;BR /&gt;main:&lt;BR /&gt;         shared executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  disabled  first  Not Defined&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /oracle1/app/oracle/product/9.2.0.1.0/lib32/libclntsh.sl.&lt;BR /&gt;9.0&lt;BR /&gt;             dynamic   /cocain/setcim49/lib/libsetcim.a&lt;BR /&gt;             dynamic   /usr/lib/libc.2&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         plabel caching disabled&lt;BR /&gt;         global hash array size:1103&lt;BR /&gt;         global hash array nbuckets:3&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         shared library private mapping disabled&lt;BR /&gt;         shared library text merging disabled&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$chatr +s disable main&lt;BR /&gt;main:&lt;BR /&gt;   current values:&lt;BR /&gt;         shared executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  disabled  first  Not Defined&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /oracle1/app/oracle/product/9.2.0.1.0/lib32/libclntsh.sl.&lt;BR /&gt;9.0&lt;BR /&gt;             dynamic   /cocain/setcim49/lib/libsetcim.a&lt;BR /&gt;             dynamic   /usr/lib/libc.2&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         plabel caching disabled&lt;BR /&gt;         global hash array size:1103&lt;BR /&gt;         global hash array nbuckets:3&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         shared library private mapping disabled&lt;BR /&gt;         shared library text merging disabled&lt;BR /&gt;   new values:&lt;BR /&gt;         shared executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  disabled  first  Not Defined&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /oracle1/app/oracle/product/9.2.0.1.0/lib32/libclntsh.sl.&lt;BR /&gt;9.0&lt;BR /&gt;             dynamic   /cocain/setcim49/lib/libsetcim.a&lt;BR /&gt;             dynamic   /usr/lib/libc.2&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred&lt;BR /&gt;         global hash table disabled&lt;BR /&gt;         plabel caching disabled&lt;BR /&gt;         global hash array size:1103&lt;BR /&gt;         global hash array nbuckets:3&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;         shared library private mapping disabled&lt;BR /&gt;         shared library text merging disabled&lt;BR /&gt;rueh03.plain:amc/src $main&lt;BR /&gt;&lt;BR /&gt;Pthread internal error: message: __libc_reinit() failed, file: /ux/core/kern/pth&lt;BR /&gt;reads/pthread.c, line: 1093&lt;BR /&gt;Return Pointer is 0xc0b69273&lt;BR /&gt;Quit&lt;BR /&gt;&lt;BR /&gt;Shortly speaking, it had no effect.&lt;BR /&gt;&lt;BR /&gt;K</description>
      <pubDate>Fri, 05 Mar 2004 11:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210369#M793356</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2004-03-05T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: libc problem - reinit libc failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210370#M793357</link>
      <description>&lt;BR /&gt;16 ^ /cocain/setcim49/lib/libsetcim.a&lt;BR /&gt;17 ^ ^ /usr/lib/libM.1&lt;BR /&gt;18 ^ ^ /usr/lib/libc.1&lt;BR /&gt;19 ^ ^ ^ /usr/lib/libdld.1&lt;BR /&gt;&lt;BR /&gt;this seems weird, a '.a' being listed in the shared library list.&lt;BR /&gt;&lt;BR /&gt;how about checking if an archive is available and linking with it if possible ?</description>
      <pubDate>Sat, 06 Mar 2004 03:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-problem-reinit-libc-failed/m-p/3210370#M793357</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-03-06T03:57:07Z</dc:date>
    </item>
  </channel>
</rss>

