Archived
This forum has been archived. Please start a new discussion on GitHub.
icebox faild in demo clock?
Hello, I have met a problem when i run demo clock:
[root@c0101 clock]# pwd
/home/yyq/Ice-2.1.1/demo/IceStorm/clock
[root@c0101 clock]# /opt/Ice-2.1.1/bin64/icebox --Ice.Config=config_service
/opt/Ice-2.1.1/bin64/icebox: error: ServiceManager: unable to load entry point `IceStormService,21:create': /opt/Ice-2.1.1/lib64/libFreeze.so.21: undefined symbol: _ZN2Db10get_dbnameEPPKcS2_
[root@c0101 clock]# uname -a
Linux c0101 2.4.21-15.EL #1 SMP Thu Apr 22 00:09:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux
[root@c0101 clock]# pwd
/home/yyq/Ice-2.1.1/demo/IceStorm/clock
[root@c0101 clock]# /opt/Ice-2.1.1/bin64/icebox --Ice.Config=config_service
/opt/Ice-2.1.1/bin64/icebox: error: ServiceManager: unable to load entry point `IceStormService,21:create': /opt/Ice-2.1.1/lib64/libFreeze.so.21: undefined symbol: _ZN2Db10get_dbnameEPPKcS2_
[root@c0101 clock]# uname -a
Linux c0101 2.4.21-15.EL #1 SMP Thu Apr 22 00:09:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux
0
Comments
-
minifat wrote:Hello, I have met a problem when i run demo clock:
[root@c0101 clock]# pwd
/home/yyq/Ice-2.1.1/demo/IceStorm/clock
[root@c0101 clock]# /opt/Ice-2.1.1/bin64/icebox --Ice.Config=config_service
/opt/Ice-2.1.1/bin64/icebox: error: ServiceManager: unable to load entry point `IceStormService,21:create': /opt/Ice-2.1.1/lib64/libFreeze.so.21: undefined symbol: _ZN2Db10get_dbnameEPPKcS2_
[root@c0101 clock]# uname -a
Linux c0101 2.4.21-15.EL #1 SMP Thu Apr 22 00:09:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux
Looks like your LD_LIBRARY_PATH is wrong.
Regards, Matthew0 -
Thanks for replying, I have set Ice lib dir into LD_LIBRARY_PATH,also in /etc/ld.so.conf
And demo/IceBox/hello seems run normally.
[root@c0101 clock]# echo $LD_LIBRARY_PATH /export/compiler/intel/lib:/export/compiler/intel/lib:/export/mathlib/mkl72/lib/em64t:/export/compiler/lf9562/lib:/opt/Ice-2.1.1/lib64/0 -
/opt/Ice-2.1.1/bin64/icebox: error: ServiceManager: unable to load entry point `IceStormService,21:create': /opt/Ice-2.1.1/lib64/libFreeze.so.21: undefined symbol: _ZN2Db10get_dbnameEPPKcS2_
This is looking for a berkeley db symbol, linked by libFreeze.so.21. You need to add the location of libdb_cxx*.so to your LD_LIBRARY_PATH.
Regards, Matthew0 -
It is solved after I resintall
I turn off the opt flag and recompile, resintall Ice. The problem is solved.
I guess maybe it is because of the opt bug of gcc, as http://www.zeroc.com/vbulletin/showthread.php?t=14640 -
I'm glad to hear everything is good now. However, I don't think this bug is the cause... that bug causes an internal error when compiling.
Regards, Matthew0