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

Is something missing?ld:can not find "-ldb_cxx"

I download the Ice 2.0 and make it successfully under fedora 3 with gcc 3.4.
But after I updated my kernel to 2.6.10 ,I made it once again,
there is some error : ld: can not find "-ldb_cxx".
How can I deal with it ,and is there something wrong with the kernel?
Thanks in advance.


  • benoit
    benoit Rennes, France

    That's an unfortunate bug in Fedora Core 3 (see Fortunately, it looks like it was fixed in the recent db4-devel packages.

    To workaround the problem, you can edit Ice-2.1.1/config/Make.rules and change all the -ldb_cxx to -ldb_cxx-4.2.

  • ok.thank you

    I learned a new way to work out this problem without changing make.rules,
    which is from the url you had given above.
    I set a symbolic link :
    /usr/lib/ -> /usr/lib/
    rpm -qf /usr/lib/
    rpm says that no package rely on it.

    Well, db_cxx can be found now.
    Then I build and install Ice 2.1.0 on FC3 perfectly .