Operating System - HP-UX
1834346 Members
2141 Online
110066 Solutions
New Discussion

Re: Pthread internal error:

 
lsukla
New Member

Pthread internal error:

We are trying to run a vendor supplied executable which uses thread library. It works fine on HP_ux 11.0 but on HP-UX 11i it gives error. The error is as follows:

Pthread internal error: message: __libc_reinit() failed, file:
/ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 1136
Return Pointer is 0xc0039fef

This executable has been compiled on HP-UX 11.0.

Same executeable works fine at our vendor site on HP-UX 11i.

We have recently(in September 2001) bought and installed HP-UX 11i, and it has all the latest patches.
Thanks and regards
L.Sukla
Greetings
4 REPLIES 4
Ravi_8
Honored Contributor

Re: Pthread internal error:

Hi,
do you have the DCE installed?
never give up
ramesh_6
Frequent Advisor

Re: Pthread internal error:

Hi sukla,



All these pthread errors because of the difference in compilers because your compiler libraries have differences. Can you check the compiler with which you created the executable is suitable for your 11i.

If not, saab ji your problem lies with your compiler. You can directly go, have a compatyible compiler in 11i and create your executable with your new compiler. This will do the magic for you.

IF you want to behave like an Einstein i can give some more tips. You try to change/remove the options for pthread library and do some R&D and you may be successful

Ramesh
Sanjay_6
Honored Contributor

Re: Pthread internal error:

Hi,

Have you tried the hp developer site.

http://devresource.hp.com/

Here is a thread from that site.

http://h21007.www2.hp.com/cxx-dev/CXX/cxx-dev.0006/0124.html

hope this helps.

Regds
lsukla
New Member

Re: Pthread internal error:

Hi Ramesh,

Thanks for your response. As you told we have some problem in compilation , but as a matter of fact we are not compiling anything. we have got compiled version from our client and the same product (Compiled on HP-UX 11.00 ) is working fine at client end on 11.0 and 11i, But at our end it is working on 11.0 but giving problem on 11i.
I have a question . Do we need to install some separate Thread library?? Doesn't it come with standard HP-UX 11i software??

About DCE , I can see libdce.sl in /usr/lib directory . Is that causing some problem??


Regards
sukla.
Greetings