Archived

This forum has been archived. Please start a new discussion on GitHub.

trouble with installing Ice 3.4.1 on redhat

Hi,

I'm trying to install Ice 3.4.1 on SL (rel. 4.5),
compiler version: gcc version 3.4.6 20060404 (Red Hat 3.4.6-8),

and getting this error message:

...
c++ -shared -Wl,--enable-new-dtags -Wl,-rpath,/opt/Ice-3.4/lib -rdynamic -Wall -D_REENTRANT -fPIC -g -I/usr/include/nptl -L../../lib -o ../../lib/libFreeze.so.3.4.1 -Wl,-h,libFreeze.so.34 BackgroundSaveEvictor.o BackgroundSaveEvictorI.o CatalogData.o Catalog.o CatalogIndexList.o ConnectionI.o Connection.o DB.o EvictorI.o EvictorIteratorI.o EvictorStorage.o Evictor.o Exception.o IndexI.o Index.o MapDb.o MapI.o ObjectStore.o PingObject.o SharedDbEnv.o TransactionalEvictor.o TransactionalEvictorI.o TransactionalEvictorContext.o TransactionHolder.o TransactionI.o Transaction.o Util.o -lIce -lIceUtil -ldb_cxx -lpthread -lrt
/usr/bin/ld: cannot find -ldb_cxx
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libFreeze.so.3.4.1] Error 1
make[2]: Leaving directory `/root/ICE/JUST_SOURCE/Ice-3.4.1/cpp/src/Freeze'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/ICE/JUST_SOURCE/Ice-3.4.1/cpp/src'
make: *** [all] Error 1


Any idea what I could do to overcome this?
Many thanks in advance!

D.

Comments

  • mes
    mes California
    Hi,

    Welcome to the forum.

    The db_cxx library contains the C++ bindings for the Berkeley DB package. Ice 3.4 supports Berkeley DB 4.8, but any relatively recent version of Berkeley DB 4.x should work. Either install the Berkeley DB C++ RPM, or build Berkeley DB from source.

    Regards,
    Mark
  • bernard
    bernard Jupiter, FL
    Since Ice 3.4 no longer supports RHEL 4.x, a simpler alternative could be to use an earlier version of Ice. You could for example try the Ice 3.3.1 RPMs on your system:

    http://www.zeroc.com/download_3_3_1.html#linux_rpms

    Best regards,
    Bernard
  • Many thanks! I tried the earlier version and it seems to be working fine!

    D.