- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ld: (Warning) Unsatisfied 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
Forums
Discussions
Discussions
Discussions
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
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
07-18-2007 10:11 PM
07-18-2007 10:11 PM
I installed v6.5.
Whan I compile via aCC I got a ton of this kind of warniings :
code_____________________________________________________________
ld: (Warning) Unsatisfied symbol "VISDLogProperty::set_source_enable(bool)" in file /opt/BES/lib/liborb64_r.sl
⌊_______________________________________________________________⌋
At runtime The following message occurs before an executable doesn't launch :
code_____________________________________________________________
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol '_log_enabled__13VISDLoggerMgr' in load module '/opt/BES/lib/liborb64_r.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'PROD_ID_BES__16LicenseConstants' in load module '/opt/BES/lib/liborb64_r.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'FEATURE_VBC_ORB_SERVER__16LicenseConstants' in load module '/opt/BES/lib/liborb64_r.sl'.
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol 'typeid__XT15LicenseListener_' in load module '/opt/BES/lib/liborb64_r.sl'.
⌊_______________________________________________________________⌋
Do you have an idea about what these warnings/errors mean and what I should do.
Solved! Go to Solution.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 10:23 PM
07-18-2007 10:23 PM
Re: ld: (Warning) Unsatisfied symbol
check the vendor's site for prerequestions for this tool.
Check your patch level, maybe you need the newest patches for 'ld and linker',
for 11i it's PHSS_35383:
http://www8.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_35383&sel={hpux:11.11,}&BC=main|search|
Also maybe LIBCL, libc cumulative, aCC patches.
Do a search in:
http://www8.itrc.hp.com/service/patch/search.do
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 11:00 PM
07-18-2007 11:00 PM
Re: ld: (Warning) Unsatisfied symbol
Is liborb64_r.sl your shlib?
If you use "chatr -B immediate" on your executable, you may get more unsats. This may be interesting to see.
Here are the demangled data unsats:
VISDLoggerMgr::_log_enabled
LicenseConstants::PROD_ID_BES
LicenseConstants::FEATURE_VBC_ORB_SERVER
typeid
>Volkmar: Check your patch level, maybe you need the newest patches for 'ld and linker',
Also maybe LIBCL, libc cumulative, aCC patches.
I'm not aware of anything that would cause unsats except for bad source or missing libs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 11:40 PM
07-18-2007 11:40 PM
Re: ld: (Warning) Unsatisfied symbol
What I meant is : I installed v 6.5; no problem.
Then I compile a program which uses visibroker 6.5 (which worked under v5), which gives me these logs.
Thanks
^^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 09:24 AM
07-19-2007 09:24 AM
Re: ld: (Warning) Unsatisfied symbol
Your new info didn't provide any clues to your problem. Can you answer my questions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 12:39 AM
07-20-2007 12:39 AM
Re: ld: (Warning) Unsatisfied symbol
Yes, it is.
>use "chatr -B immediate"
That doesn't change anything the bin outputs
>Here are the demangled data unsat [...]
What should I do about those ?
>Check your patch level
# uname -a
HP-UX machine B.11.23 U 9000/800 822849691 unlimited-user license
# aCC -V
aCC: HP ANSI C++ B3910B A.03.65
# swlist -l product|grep linker
linker + fdp cumulative patch
PHSS_30716 1.0
# swlist -l product|grep libc
libcps and libomp [ia64/IA32: Release 6.1.2]
Could you also explain what does this error means (I didn't understand).
Does it means the symbol exists in the shlib but not in something like an interface??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 07:23 PM
07-20-2007 07:23 PM
Re: ld: (Warning) Unsatisfied symbol
Then why are you using those (possibly obsolete) data symbols?
Were there only 5 unsat symbols or did you only list 5?
>That doesn't change anything the bin outputs
Ok, you don't have any more missing symbols.
But I would expect you to get an error on
VISDLogProperty::set_source_enable(bool) ??
>What should I do about those?
Those are the C++ data symbols that are missing. Where are you using these? Perhaps VisiBroker 6.5 no longer defines these classes and/or symbols.
>Could you also explain what does this error means. Does it means the symbol exists in the shlib but not in something like an interface??
It means that you are referencing symbols from your liborb64_r.sl, that are not defined in the VisiBroker shlibs.
Either they were removed in 6.5, or there could be more shlibs and you are not adding them to your link line.
If you could find the definitions of these symbols in 5, and then look at the same shlib for 6.5, perhaps you could get a clue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 07:58 PM
07-22-2007 07:58 PM
Re: ld: (Warning) Unsatisfied symbol
> VISDLoggerMgr
> _log_enabled
> LicenseConstants
> PROD_ID_BES
> LicenseConstants
> FEATURE_VBC_ORB_SERVER
> LicenseListener
And I've found nothing
For
> typeid
I've found it in a binary which overflows my command line
2°) Those are the only error. But there was a lot of warnings at compile time
I'm really lost...
Thanks anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 08:19 PM
07-22-2007 08:19 PM
Re: ld: (Warning) Unsatisfied symbol
I've just grepped in both my old and new liborb64_r.sl most of the symbols.
The conclusion seems to be that those symbols are in liborb64_r.sl.new but not liborb64_r.sl.old .
What should I conclude from it?
I guess that means that the dependence that says which are the symbol availables in liborb64_r.sl.new is an old one.
Maybe I should give the compiling options.
I'll try and find those,
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 11:50 PM
07-22-2007 11:50 PM
Re: ld: (Warning) Unsatisfied symbol
Try grepping at the output of:
$ nm -pxAN .../liborb64_r.sl
>I've found it in a binary which overflows my >(command line
Again look at the output of nm(1).
>that those symbols are in liborb64_r.sl.new
As unsats? (U)
>What should I conclude from it?
You need to know whether they are definitions or unsats. You need to search the VisiBroker shlibs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 12:07 AM
07-23-2007 12:07 AM
Re: ld: (Warning) Unsatisfied symbol
# nm -pxAN /new/liborb64_r.sl | grep _log_enabled__13VISDLoggerMgr
0x0000000000000000 U /opt/BES/lib/liborb64_r.sl:_log_enabled__13VISDLoggerMgr
0x4000000000a92358 T /opt/BES/lib/liborb64_r.sl:is_log_enabled__13VISDLoggerMgrSFv
# nm -pxAN /new/liborb64_r.sl | grep PROD_ID_BES__16LicenseConstants
0x0000000000000000 U /opt/BES/lib/liborb64_r.sl:PROD_ID_BES__16LicenseConstants
# nm -pxAN /new/liborb64_r.sl | grep FEATURE_VBC_ORB_SERVER__16LicenseConstants
0x0000000000000000 U /opt/BES/lib/liborb64_r.sl:FEATURE_VBC_ORB_SERVER__16LicenseConstants
# nm -pxAN /new/liborb64_r.sl | grep typeid__XT15LicenseListener_
0x0000000000000000 U /opt/BES/lib/liborb64_r.sl:typeid__XT15LicenseListener_
_________________grep_of_OLD_________________
No match found
_____________________________________________
I have unsatisfied symbols in the new library.
What should I do then?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 02:59 AM
07-23-2007 02:59 AM
Re: ld: (Warning) Unsatisfied symbol
If D means what I think it does, more includes may be necessarry.
_______________________________________________________________
# nm -pxAN * 2>/dev/null| grep " _log_enabled__13VISDLoggerMgr"
libvdlog_pr.sl: 0x4000e590 D _log_enabled__13VISDLoggerMgr
libvdlog_pr.sl.6.5: 0x4000e590 D _log_enabled__13VISDLoggerMgr
libvdlog_r.sl: 0x40002f58 D _log_enabled__13VISDLoggerMgr
libvdlog_r.sl.6.5: 0x40002f58 D _log_enabled__13VISDLoggerMgr
# nm -pxAN * 2>/dev/null| grep "PROD_ID_BES__16LicenseConstants"
liblmgr.sl: 0x4004adc4 D PROD_ID_BES__16LicenseConstants
0x8000000100065144 D liblmgr64.sl:PROD_ID_BES__16LicenseConstants
0x80000001000437c4 D liblmgr64_cls.sl:PROD_ID_BES__16LicenseConstants
liblmgr_cls.sl: 0x40036d44 D PROD_ID_BES__16LicenseConstants
# nm -pxAN * 2>/dev/null| grep FEATURE_VBC_ORB_SERVER__16LicenseConstants
liblmgr.sl: 0x4004ade8 D FEATURE_VBC_ORB_SERVER__16LicenseConstants
0x8000000100065168 D liblmgr64.sl:FEATURE_VBC_ORB_SERVER__16LicenseConstants
0x80000001000437e8 D liblmgr64_cls.sl:FEATURE_VBC_ORB_SERVER__16LicenseConstants
# nm -pxAN * 2>/dev/null| grep typeid__XT15LicenseListener_
liblmgr.sl: 0x400088c0 D typeid__XT15LicenseListener_
0x8000000100000048 D liblmgr64.sl:typeid__XT15LicenseListener_
0x8000000100000048 D liblmgr64_cls.sl:typeid__XT15LicenseListener_
liblmgr_cls.sl: 0x40005540 D typeid__XT15LicenseListener
_______________________________________________________________
But, once more, I don't see the problem.
These objects are not in use in my source.
Am I getting crazy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 12:56 PM
07-23-2007 12:56 PM
SolutionYou need to make sure you link against the Visibroker lib that defines them.
>I had a look at in Visibroker lib dir.
If D means what I think it does, more includes may be necessarry.
Yes more shlibs, you need to make sure that you use -lvdlog_pr, -lvdlog_r and -llmgr.sl on your link line.
>These objects are not in use in my source.
Sure they are. ;-)
You need to compile with -E -.i and you'll see they are in use by inlines, probably in the Visibroker include files.
- Tags:
- shlib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 10:04 PM
07-23-2007 10:04 PM
Re: ld: (Warning) Unsatisfied symbol
After many tries, here are the missing libs :
-lvdlog64_r
-llmgr64_cls
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 10:06 PM
07-23-2007 10:06 PM
Re: ld: (Warning) Unsatisfied symbol
Thanks