[EXTERNAL] Re: [odb-users] Problem installing ODB 2.1.0 somewhere other than /usr/local/

Boris Kolpackov boris at codesynthesis.com
Fri Sep 21 13:43:02 EDT 2012


Hi Sean,

I just tried this on my box and everything works fine. I also compared
my output to yours and I see some differences. Specifically, when you
run 'make install' in libodb-mysql-2.1.0, in your case libtool needs
to relink the library for some reason. Also the command that it runs
to accomplish this contains this option:

-L/home/ststrou/ODB2.1/libodb-2.1.0//odb

This should clearly not be there since we didn't specify it.

What I think happens is that you have some stale configuration/build
from your earlier attempts using --with-libodb. Generally, in this kind
of troubleshooting, it is always a good idea to start each attempt with
a clean source directories to exclude any possible interference from
the previous attempts.

So, to test this, can you try the following for me. Also can you use
bash instead of ksh; I don't think it matters but I just want to
eliminate all the differences between our configurations.

cd /home/ststrou/ODB2.1/
rm -r libodb-2.1.0 libodb-mysql-2.1.0 local
tar xfj libodb-2.1.0.tar.bz2
tar xfj libodb-mysql-2.1.0.tar.bz2
export LD_LIBRARY_PATH=/home/ststrou/ODB2.1/local/lib:$LD_LIBRARY_PATH
cd libodb-2.1.0
./configure --prefix=/home/ststrou/ODB2.1/local
make
make install
cd ../libodb-mysql-2.1.0
./configure --prefix=/home/ststrou/ODB2.1/local CPPFLAGS=-I/home/ststrou/ODB2.1/local/include LDFLAGS=-L/home/ststrou/ODB2.1/local/lib
make
make install

Boris



More information about the odb-users mailing list