Archived
This forum has been archived. Please start a new discussion on GitHub.
Is something missing?ld:can not find "-ldb_cxx"
in Help Center
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.
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.
0
Comments
-
Hi,
That's an unfortunate bug in Fedora Core 3 (see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149191). 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.
Benoit.0 -
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/libdb_cxx.so -> /usr/lib/libdb_cxx-4.2.so
then
rpm -qf /usr/lib/libdb_cxx.so
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 .0