Operating System - HP-UX
1825161 Members
2333 Online
109679 Solutions
New Discussion

/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_lock (code)

 
NarendraUttekar
Advisor

/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_lock (code)

Hi,

I am getting this error when executing /usr/local/sbin/visudo as below,

/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_lock (code)  from /usr/local/sbin/visudo
Abort(coredump)

Also same error i am getting when using sudo i.e.

$ sudo crontab -l
/usr/lib/dld.sl: Unresolved symbol: pthread_mutex_lock (code)  from sudo
Abort

The operating System is HP-UX 11.0. I have also installed the gcc and also set the SHLIB_PATH but still same error. I checked the file /usr/lib/dld.sl and it is available.

-r-xr-xr-x   1 bin        bin         274432 Sep 29  2006 /usr/lib/dld.sl

 

Please can some one let me know how to resolve this error.

 

Thanks,

Narendra

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: pthread_mutex_lock (code)

You need to patch your libc to a newer version to have the pthread stubs.