Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
can't install hyphy command line on Red Hat 4.5.1 (Read 1797 times)
indapa
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 1
can't install hyphy command line on Red Hat 4.5.1
Nov 27th, 2011 at 9:22am
 
Hi,

I am a newbie to HyPhy and attempting to install it on RedHat
I have cmake installed and run the command:
> cmake ./
just fine

Next, I try:
> make MP2
and get the error:

[100%] Building CXX object CMakeFiles/HYPHYMP.dir/src/mains/unix.cpp.o
Linking CXX executable HYPHYMP
/usr/bin/ld: CMakeFiles/HYPHYMP.dir/contrib/SQLite-3.6.17/sqlite3.c.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [HYPHYMP] Error 1
make[2]: *** [CMakeFiles/HYPHYMP.dir/all] Error 2
make[1]: *** [CMakeFiles/MP2.dir/rule] Error 2
make: *** [MP2] Error 2

I am not sure how to interpret the error message. Can you help me out?
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: can't install hyphy command line on Red Hat 4.5.1
Reply #1 - Nov 27th, 2011 at 10:57am
 
Hi indapa,

Looks like our cmake script needs to be modified to look for libdl. In the meantime, please edit line 210 in CMakeLists.txt to read

Code:
target_link_libraries(HYPHYMP crypto curl pthread ssl ldl)
 



and then do

Code:
$rm CMake*.cahce
$cmake ./
$make MP2
 



Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged