System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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

/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
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.