-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metamaps cant find boost files #12
Comments
Most likely you need to add the directory that Boost is located in to the LD_LIBRARY_PATH environment variable.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Michael Hall <notifications@github.com>
Sent: Wednesday, March 13, 2019 15:33
To: DiltheyLab/MetaMaps
Cc: Subscribed
Subject: [DiltheyLab/MetaMaps] Metamaps cant find boost files (#12)
I am having some trouble building metamaps. It seems to be struggling to find some files that definitely exist. I will provide the full list of commands I ran (I am doing this inside a container).
#============================================
# INSTALL ZLIB
#============================================
VERSION="1.2.11"
wget http://www.zlib.net/zlib-"$VERSION".tar.gz -O - | tar xzf -
cd zlib-"$VERSION"
./configure --prefix=/usr/local
make
make install
cd ..
#============================================
# INSTALL BOOST
#============================================
wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz -O - | tar xzf -
cd boost_1_62_0
./bootstrap.sh --prefix=/usr/local
./b2 install
cd ..
#============================================
# INSTALL METAMAPS
#============================================
apt install -y autoconf
URL=https://github.com/DiltheyLab/MetaMaps.git
COMMIT="8eb0ddbeb630c01f808f6ca79c1a28a6c39df40c"
git clone "$URL"
cd MetaMaps || exit 1
git checkout "$COMMIT"
./bootstrap.sh
./configure --with-boost=/usr/local
make metamaps
Everything runs fine but when I got to execute the binary with ./metamaps I get the following error
./metamaps: error while loading shared libraries: libboost_system.so.1.62.0: cannot open shared object file: No such file or directory
Running find / -name libboost_system.so.1.62.0 gives
/usr/local/lib/libboost_system.so.1.62.0
which is where I told metamaps boost was located....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#12>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGFsaUqXNdbCGQsTMe2DHOyeAMKUljOkks5vWQw6gaJpZM4btYOx>.
|
Still getting the same problem... |
Can you send me the complete contents of your LD_LIBRARY_PATH variable just prior to calling MetaMaps? |
Ah, my apologies. I had been exporting |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having some trouble building metamaps. It seems to be struggling to find some files that definitely exist. I will provide the full list of commands I ran (I am doing this inside a container).
Everything runs fine but when I got to execute the binary with
./metamaps
I get the following errorRunning
find / -name libboost_system.so.1.62.0
giveswhich is where I told metamaps boost was located....
The text was updated successfully, but these errors were encountered: