Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
problem with -lcrypto during make (Read 5527 times)
daven
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 5
problem with -lcrypto during make
Sep 25th, 2013 at 1:27pm
 
Dear Sergei,

I have tried to compile HYPHYMP on a server where libcrypto is not installed.

Thus I removed -lssl and -lcrypto from  CURL_LINKER_LIBS.

When I use "make MP2", I still get the following error messages:

/usr/bin/ld: cannot find -lcrypto
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

Thanks in advance for any help on this, I am an evolutionary genomicist with little computational training and I just don't know what I do wrong.

Cheers,

David.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: problem with -lcrypto during make
Reply #1 - Sep 25th, 2013 at 1:45pm
 
Hi David,

I'll see if I can add a test for LIBCURL for the CMAKE file.

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
 
daven
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 5
Re: problem with -lcrypto during make
Reply #2 - Sep 25th, 2013 at 2:57pm
 
Hi Sergei,

Thanks for the reply  Smiley

I removed the appropriate lines in the cpp files that were looking for Libcurl and now it compiles and works great for what I want to do (i.e using FUBAR).

By the way, what a name (FUBAR)!!!!
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: problem with -lcrypto during make
Reply #3 - Sep 25th, 2013 at 3:02pm
 
Glad it worked!

We'll issue a more permanent fix for this (a modified CMAKE file).

I am glad you like FUBAR -- that was definitely a backronym. Can't let cell pathway and protein functional  folks have all the fun with the names:)

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
 
Steven
Global Moderator
*****
Offline


Datamonkey Curious

Posts: 21
Gender: male
Re: problem with -lcrypto during make
Reply #4 - Sep 25th, 2013 at 3:11pm
 
I've issued a more permanent fix in the master branch of our github repo.

I needed to make an adjustment to the cURL preprocessor definitions.
Back to top
 
 
IP Logged