Results 1 to 6 of 6

Thread: icebox faild in demo clock?

  1. #1
    minifat is offline Registered User
    Name: Yan Yaqin
    Organization: CEPRI
    Project: data interface
    Join Date
    Jul 2004
    Location
    Beijing, China
    Posts
    40

    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

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Quote Originally Posted by minifat
    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, Matthew

  3. #3
    minifat is offline Registered User
    Name: Yan Yaqin
    Organization: CEPRI
    Project: data interface
    Join Date
    Jul 2004
    Location
    Beijing, China
    Posts
    40
    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/

  4. #4
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Code:
    /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, Matthew

  5. #5
    minifat is offline Registered User
    Name: Yan Yaqin
    Organization: CEPRI
    Project: data interface
    Join Date
    Jul 2004
    Location
    Beijing, China
    Posts
    40

    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=1464

  6. #6
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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, Matthew

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 03-14-2011, 05:08 PM
  2. Unable to load IceBox CPP Demo Server
    By jonp in forum Help Center
    Replies: 8
    Last Post: 03-10-2011, 03:59 PM
  3. Replies: 1
    Last Post: 11-06-2009, 02:49 AM
  4. Problem with Hello demo
    By checho in forum Help Center
    Replies: 10
    Last Post: 12-01-2008, 01:40 PM
  5. Replies: 3
    Last Post: 06-06-2007, 05:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •