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

Stroud, Sean T ststrou at sandia.gov
Fri Sep 21 15:56:11 EDT 2012


Hi Boris,

Looks like your hunch was right - the install worked this time.  Thanks for all your help on this!

Sean

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Friday, September 21, 2012 11:43 AM
To: Stroud, Sean T
Cc: odb-users at codesynthesis.com
Subject: Re: [EXTERNAL] Re: [odb-users] Problem installing ODB 2.1.0 somewhere other than /usr/local/

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