Saturday, March 5, 2011

configure error: Could not link against

When I tried to install ROSE compiler, I got an error message:
"configure error: Could not link against!"

It is cause by boost usually on 64-bit system. We simply need to tell where boost lib is.

./configure --with-boost-libdir=/usr/lib64

Since later on, I found libjvm.so was nowhere.

I am using
./configure --with-boost-libdir=/usr/lib64 --without-java

but got error:
"undefined reference to open JavaParsermain"

-------update
libjvm.so can be found by :
find /usr -name libjvm.so
and then link it to executable path:
ln -s pathtolibjvm.so /usr/lib/libjvm.so or to /usr/lib64/libjvm.so

No comments:

Post a Comment