Operating System - Linux
1753767 Members
5356 Online
108799 Solutions
New Discussion юеВ

Re: ld: (Warning) Unsatisfied symbol

 
SOLVED
Go to solution
yazgoo
Frequent Advisor

Re: ld: (Warning) Unsatisfied symbol

_________________grep_of_NEW_________________

# 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
Yazgoo
yazgoo
Frequent Advisor

Re: ld: (Warning) Unsatisfied symbol

Here is a little summing up of little things I had a look at in Visibroker lib dir.
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?
Yazgoo
Dennis Handly
Acclaimed Contributor
Solution

Re: ld: (Warning) Unsatisfied symbol

>I have unsatisfied symbols in the new library. What should I do then?

You 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.
yazgoo
Frequent Advisor

Re: ld: (Warning) Unsatisfied symbol

I did solve my problem.
After many tries, here are the missing libs :
-lvdlog64_r
-llmgr64_cls

Thank you very much!
Yazgoo
yazgoo
Frequent Advisor

Re: ld: (Warning) Unsatisfied symbol

Closing because solved.
Thanks
Yazgoo