aMule Forum
English => aMule Help => Topic started by: majls on May 22, 2004, 01:10:31 AM
-
How do i install libcrypto on freebsd?
thanks
-
Have you read http://www.amule.org/wiki/index.php/Install-amule-freebsd ?
Greetings!
-
Thank you for your help!
-
When i tried gmake i got this error:
/aMule-2.0.0rc3/src/ClientCredits.cpp:79: undefined reference to `CryptoPP::Algorithm::Algorithm(bool)'
gmake[2]: *** [amule] Error 1
gmake[2]: Leaving directory `/usr/home/majls/temp/aMule-2.0.0rc3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/majls/temp/aMule-2.0.0rc3'
gmake: *** [all] Error 2
-
try to reinstall crypto
install ports we need if u dont allready have (see pkg_info)
security/cryptopp
patch 1
the problem would be:
[...] /usr/bin/ld: cannot find -lcryptopp gmake[2]: *** [cas] Error 1 gmake[2]: Leaving directory `/home/eugene/aMule-2.0.0rc3/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/eugene/aMule-2.0.0rc3' gmake: *** [all] Error 2
so we patch it now:
edit src/Makefile
search for the line containing
cryptopp
this line will read as:
LIBS = -lcryptopp
add -L/usr/local/lib to that line
now the line will read as:
LIBS = -L/usr/local/lib -lcryptopp
-
Thanks!