Re: Unsatisfied code symbol 'pthread_mutex_unlock' on HP-UX 11.00 (172 Views)
Reply
Occasional Contributor
Vincent Jamart
Posts: 2
Registered: ‎02-18-2004
Message 1 of 3 (172 Views)

Unsatisfied code symbol 'pthread_mutex_unlock' on HP-UX 11.00

While starting a program that resquests FlexLM licenses on a production server I got:
(...)
/usr/lib/pa20_64/dld.sl: Unsatisfied code symbol 'pthread_mutex_unlock' in load module '/apps/share/actran/2004/HP-UX/actran/bin/actran'.
Killed

The same binary on a similar development/tests system runs without problem. Production server is HP-UX B.11.00 U 9000/785 and Test is the same hw/os but production server is at QPK1100 B.11.00.51.01 (Quality Pack for HP-UX 11.00 (December 2000)) with no pthread-specific patch while Test is with QPK1100 B.11.00.62.4 (Quality Pack for HP-UX 11.00, September 2003) with pthread patch "Patch PHCO_23792: libpthreads cumulative patch".

Anyway, if I search for the specific symbol on Prod & Test systems I have the same results:
nm /lib/pa20_64/libpthread.sl|grep "pthread_mutex_unlock"
[129] | 4611686018427450056| 0|FUNC |LOCAL|0| .text|__pthread_mutex_unlock
[399] | 4611686018427450056| 0|FUNC |WEAK |0| .text|pthread_mutex_unlock

So it seems that this symbol is present even without the PHCO_23792 patch on the problematic prod. system or is it htat dld doesn't loads the /lib/pa20_64/libpthread.sl shared library?
Honored Contributor
Cheryl Griffin
Posts: 2,701
Registered: ‎05-11-2000
Message 2 of 3 (172 Views)

Re: Unsatisfied code symbol 'pthread_mutex_unlock' on HP-UX 11.00

Run show_patches on the machine that is working and the machine that is not. Compare installed patches between the two. Do not limit your search to just the pthread patch as this error might also display if other patches are missing, such as libc, ld, etc.

Also, on the machine that is not working, run check_patches and read the swagent.log. You might have a patch that is installed but is in the incorrect state or missing a dependency. check_patches will show more details and is a better command over swlist when troubleshooting.
"Downtime is a Crime."
Honored Contributor
Ravi_8
Posts: 2,824
Registered: ‎04-16-2001
Message 3 of 3 (172 Views)

Re: Unsatisfied code symbol 'pthread_mutex_unlock' on HP-UX 11.00

Hi,

#swlist -l |grep -i thread
run this command on both machines and check for missing PThread patches in which you are getting error, and install those patches
never give up
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.