HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> problem with -lcrypto during make
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1380140828

Message started by daven on Sep 25th, 2013 at 1:27pm

Title: problem with -lcrypto during make
Post by daven on 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.

Title: Re: problem with -lcrypto during make
Post by Sergei on Sep 25th, 2013 at 1:45pm
Hi David,

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

Sergei

Title: Re: problem with -lcrypto during make
Post by daven on Sep 25th, 2013 at 2:57pm
Hi Sergei,

Thanks for the reply  :)

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)!!!!

Title: Re: problem with -lcrypto during make
Post by Sergei on 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:)


Title: Re: problem with -lcrypto during make
Post by Steven on 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.

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.