- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: /usr/lib/dld.sl: unresolved symbol
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2005 07:14 AM
тАО12-14-2005 07:14 AM
/usr/lib/dld.sl: unresolved symbol
This is the error that I get when I try to run my RPCserver program.
***************************
/usr/lib/dld.sl: Unresolved symbol: cerr (data) from /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/dld.sl: Unresolved symbol: rwse_UnexpectedNullPtr (data) from /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/dld.sl: Unresolved symbol: nullref__12basic_stringXTcT18string_char_traitsXTc_T9allocator_ (data) from /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/dld.sl: Unresolved symbol: openprot__7filebuf (data) from /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/dld.sl: Unresolved symbol: clog (data) from /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/dld.sl: Unresolved symbol: cerr (data) from /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code) from /usr/lib/libCsup.2
Abort(coredump)
*****************************
uname -a
HP-UX dhn1b203 B.11.11 U 9000/800 3196149707 unlimited-user license
nm /usr/lib/*.sl | grep __shlinit
libCsup.sl:__shlinit| 89516|extern|entry |
libCsup.sl:__shlinit| 89732|uext |stub |
libCsup.sl:__shlinit| 89756|extern|code |$CODE$
libCsup_v2.sl:__shlinit| 89924|extern|entry |
libCsup_v2.sl:__shlinit| 90140|uext |stub |
libCsup_v2.sl:__shlinit| 90164|extern|code |$CODE$
librwtool.sl:__shlinit| -4|uext |stub |
librwtool.sl:__shlinit| |undef |code |
libstd.sl:__shlinit | -4|uext |stub |
libstd.sl:__shlinit | |undef |code |
libstd_v2.sl:__shlinit| -4|uext |stub |
libstd_v2.sl:__shlinit| |undef |code |
libstream.sl:__shlinit| -4|uext |stub |
libstream.sl:__shlinit| |undef |code |
I shall post more information when asked for. I am using the 32-bit gcc for compilation and have linnked explicitly to libon.sl, libdsd.sl and all the rest of the shared libraries.
I have run out of ideas on how to fix this problem. Why am I so lucky?
Please help.
Thanks,
banu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2005 09:25 AM
тАО12-14-2005 09:25 AM
Re: /usr/lib/dld.sl: unresolved symbol
What's the command you are using to compile your program? That may aid in further debugging.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2005 11:28 AM
тАО12-14-2005 11:28 AM
Re: /usr/lib/dld.sl: unresolved symbol
what /usr/bin/ld
/usr/bin/ld:
$Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
HP aC++ B3910B A.03.52 Classic Iostream Library
HP aC++ B3910B A.03.52 Language Support Library
ld_msgs.cat: $Revision: 1.85 $
92453-07 linker command s800.sgs ld PA64 B.11.47 REL 051005
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2005 05:38 PM
тАО12-14-2005 05:38 PM
Re: /usr/lib/dld.sl: unresolved symbol
Regards,
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 04:35 AM
тАО12-15-2005 04:35 AM
Re: /usr/lib/dld.sl: unresolved symbol
This is the output after the PHSS_33033 patch on the linker. The most recent patch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:46 AM
тАО12-15-2005 05:46 AM
Re: /usr/lib/dld.sl: unresolved symbol
Please post the gcc command and the various options you supplied to it in order to compile your source code. I wasn't looking for a what on the link-editor (ld). Also run the following on your executable:
# ldd -v
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 08:50 AM
тАО12-15-2005 08:50 AM
Re: /usr/lib/dld.sl: unresolved symbol
Its a big Makefile and I shall write the main command and the compilation of one of the object files. I am new to this and do not know who much I can post on a public domain thread. No offense meant here. I sincerely appreciate the effort put my all invloved in trying to make my life easier.
gcc -fPIC -Wl,+s,-N -Wl,+n -lclntsh -ldld -lnsl -ldsd -lon -lCsup $(ALLDIRS) -o RPCServer $(OBJS)
rcache.o : rcache.c ociload.h getvalue.h
gcc $(ALLFLAGS) $(ALLDIRS) -c -I oci -I hash -D_PTHREADS -D_REENTRANT -DHPACC rcache.c -o $@
The rest are similar to the next line:
ociconnect.o: ociconnect.c
gcc $(ALLFLAGS) $(ALLDIRS) -c ociconnect.c -o $@
Regards and thanks,
Banu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 08:53 AM
тАО12-15-2005 08:53 AM
Re: /usr/lib/dld.sl: unresolved symbol
The output of ldd -v is as follows :
find library=/usr/lib/libc.2; required by RPCcache_server
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libCsup.2; required by RPCcache_server
/usr/lib/libCsup.2 => /usr/lib/libCsup.2
find library=/home/bsanar/fusionworks/OPENET/lib/libon.sl; required by RPCcache_server
/home/bsanar/fusionworks/OPENET/lib/libon.sl => /home/bsanar/fusionworks/OPENET/lib/libon.sl
find library=/usr/lib/libnsl.1; required by /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
find library=/usr/lib/libxti.2; required by /usr/lib/libnsl.1
/usr/lib/libxti.2 => /usr/lib/libxti.2
find library=/usr/lib/librt.2; required by /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/librt.2 => /usr/lib/librt.2
find library=/usr/lib/libpthread.1; required by /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
find library=/usr/lib/libdld.2; required by /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libxti.2; required by /home/bsanar/fusionworks/OPENET/lib/libon.sl
/usr/lib/libxti.2 => /usr/lib/libxti.2
find library=./include/libdsd.sl; required by RPCcache_server
./include/libdsd.sl => /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
find library=/net/rover/export/raid/builds/3.0.6B128.27/src/lib/obj.hppa/libon.sl; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/net/rover/export/raid/builds/3.0.6B128.27/src/lib/obj.hppa/libon.sl => /home/bsanar/fusionworks/OPENET/lib/libon.sl
find library=/usr/lib/libnsl.1; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
find library=/usr/lib/librt.2; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/librt.2 => /usr/lib/librt.2
find library=/usr/lib/libpthread.1; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
find library=/usr/lib/libdld.2; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libxti.2; required by /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
/usr/lib/libxti.2 => /usr/lib/libxti.2
find library=/usr/lib/libnsl.1; required by RPCcache_server
/usr/lib/libnsl.1 => /usr/lib/libnsl.1
find library=/usr/lib/libdld.2; required by RPCcache_server
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0; required by RPCcache_server
/apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0 => /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
find library=/usr/lib/libcl.2; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libcl.2 => /usr/lib/libcl.2
find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1
find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libm.2; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libm.2 => /usr/lib/libm.2
find library=/usr/lib/libdld.2; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libnss_dns.1; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libnss_dns.1 => /usr/lib/libnss_dns.1
find library=/usr/lib/libdld.2; required by /usr/lib/libnss_dns.1
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libpthread.1; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/libpthread.1 => /usr/lib/libpthread.1
find library=/usr/lib/librt.2; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/usr/lib/librt.2 => /usr/lib/librt.2
find library=/apps/oracle/product/9.2.0/lib32/libwtc9.sl; required by /apps/oracle/product/9.2.0/lib32/libclntsh.sl.9.0
/apps/oracle/product/9.2.0/lib32/libwtc9.sl => /apps/oracle/product/9.2.0/lib32/libwtc9.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 08:57 AM
тАО12-15-2005 08:57 AM
Re: /usr/lib/dld.sl: unresolved symbol
I can post the nm on all these if you want me to.
Regards,
Banu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 08:03 PM
тАО12-15-2005 08:03 PM
Re: /usr/lib/dld.sl: unresolved symbol
It may sound a bit strange, but as I am not a UNIX-Guru, I usually look for non-standard decisions.
You have a dynamic-linking problem, because you may have not linked all libraries that your programm needs. Or you don't have them. In the first case you need a proper compiler-call for building. In the second case, I usually copy the library from another machine, where the program works. Yesterday I compiled a programm on two RISC's, on the first worked, on the second I got error like this. The I copied all libraries from the first to the second and it also worked.
Greetings!
Kalin