Operating System - HP-UX
1834236 Members
2310 Online
110066 Solutions
New Discussion

Re: /usr/lib/dld.sl: Unresolved symbol

 
Vineesh U S
Occasional Advisor

/usr/lib/dld.sl: Unresolved symbol

Hi all,
When I run my configurator I am getting an error

/usr/lib/dld.sl: Unresolved symbol: echoOff (code) from /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
./config-commda[86]: 13295 Abort(coredump)

So I did a chatr and ldd on this file. The outputs are as follows

# chatr /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled

# /usr/ccs/bin/ldd /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
#
(Nothing)

# /usr/ccs/bin/ldd -s /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
#
(Nothing)

# /usr/ccs/bin/ldd -v /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
#
(Nothing)

# /usr/ccs/bin/ldd -d /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
#
(Nothing)

# /usr/ccs/bin/ldd -r /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
symbol not found: getPassword (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: __nw__FUl (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: __nwa__FUl (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: strcat (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: stat (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: strcpy (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: getpwuid (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: getgrgid (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: getPhysicalMemory (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: echoOff (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: echoOn (/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl)
symbol not found: __sys_atexit (/usr/ccs/lib/lddstub)



I saw that for chatr both the SHLIB_PATH and embedded path is disabled. So I gave a "chatr +s enable" to enable SHLIB_PATH. this gave me the following results

# chatr +s enable /opt/sun/comms/commcli/lib/libsetupSDKJNI.sl
/opt/sun/comms/commcli/lib/libsetupSDKJNI.sl:
current values:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
chatr(warning): +s enable cannot be specified for a shared library with no dependencies.
new values:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled

Any comments?

Thanks
vineesh
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: /usr/lib/dld.sl: Unresolved symbol

big post.

What are you trying to accomplish? install or use Java? if so, set the SHLIB_PATH variable.

Shalom.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com