[OPEN-ILS-DEV] Build Problem on Debian

Jason Stephenson jstephenson at mailserv.mvlc.lib.ma.us
Tue Apr 3 15:05:36 EDT 2007


Hi,

I gave up on FreeBSD since I don't have the time to make this project 
portable. I installed Debian Etch and have installed all of the 
prerequisites. When I untar Evergreen-ILS-1.1.3 and do the make, I get 
the following output:

/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdbi.so when 
searching for -ldbi
/usr/bin/ld: skipping incompatible 
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdbi.a when 
searching for -ldbi
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libdbi.so when 
searching for -ldbi
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libdbi.a when 
searching for -ldbi
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libdbi.so when 
searching for -ldbi
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libdbi.a when 
searching for -ldbi
/usr/bin/ld: skipping incompatible /usr/lib64/libdbi.so when searching 
for -ldbi
/usr/bin/ld: skipping incompatible /usr/lib64/libdbi.a when searching 
for -ldbi
/usr/bin/ld: skipping incompatible /usr/lib/libdbi.so when searching for 
-ldbi
/usr/bin/ld: skipping incompatible /usr/lib/libdbi.a when searching for 
-ldbi
/usr/bin/ld: cannot find -ldbi
collect2: ld returned 1 exit status
make[2]: *** [oils_cstore.so] Error 1
make[1]: *** [c_apps] Error 2

I installed libdbi like so, because there were no amd64 binaries:

apt-get --compile source libdbi0-dev libdbi0 libdbd-pgsql

Then I installed the resulting dpkgs and configured ld.conf so that the 
library is in the path.

Googling has suggested that I either have a wrong version of the 
libraries installed (i.e. 32-bit instead of 64), but that isn't likely 
since I compiled by source. Another suggestion that I've seen for a 
similar error is that some other library is missing. Of course, I can't 
find anything referring to this specific library.

Has anyone else seen this and got a fix?

Cheers,
Jason


More information about the Open-ils-dev mailing list