Operating System - HP-UX
1855357 Members
3759 Online
104110 Solutions
New Discussion

Re: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

 
Alaaeddin Ali
New Member

/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

Hi;

When i try to compile a multi-threaded Oracle Pro*C program, it compiles just fine. but in run time i get the following error:
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

what could be the reason behind this ?
4 REPLIES 4
Fabian Briseño
Esteemed Contributor

Re: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

Hello Alaaeddin.
do a man pthread to see more information.

or check out the following link.

http://docs.hp.com/en/B2355-60130/pthread_create.3T.html

also check to see if this is not patch related or kernel paramter related.
Knowledge is power.
Alaaeddin Ali
New Member

Re: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

Dear Fabian;
Thank you for your prompt reply.

The thing is that when i compile the source in a different machine, the program runs just fine. But for a specific machince it is giving the mentioned error. So just tell me whet is causing this problem; may be dld.sl is corrupted or need to apply some kind of Patch.
Fabian Briseño
Esteemed Contributor

Re: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

Hello Alaaeddin.
Then I would defenitely says that this is patch or kernel parameter related.

Check your /var/adm/syslog.log file to see if there is any error message there.

also run dmesg command.

Also remember to award points to the answers that given
Knowledge is power.
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_create'

There is no function pthread_create in older versions of libc and libpthread. Only when NxM threads were implemented did it exist. So you need to install a newer libpthread. (Calls to pthread_create were resolved to a static function in .)

>Fabian: kernel parameter related. Check your /var/adm/syslog.log file to see if there is any error message there. also run dmesg command.

None of these will help with a missing patch.
PHCO_29960 is the recommend one for 11.11.