aMule Forum

English => aMule Help => Topic started by: majls on May 22, 2004, 01:10:31 AM

Title: crypto
Post by: majls on May 22, 2004, 01:10:31 AM
How do i install libcrypto on freebsd?

thanks
Title: Re: crypto
Post by: Jacobo221 on May 22, 2004, 05:46:46 AM
Have you read http://www.amule.org/wiki/index.php/Install-amule-freebsd ?
Greetings!
Title: Re: crypto
Post by: majls on May 22, 2004, 10:40:41 AM
Thank you for your help!
Title: Re: crypto
Post by: majls on May 22, 2004, 10:57:43 AM
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
Title: Re: crypto
Post by: deltaHF on May 22, 2004, 12:52:45 PM
try to reinstall crypto

Quote
install ports we need if u dont allready have (see pkg_info)

security/cryptopp

Quote
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
Title: Re: crypto
Post by: majls on May 22, 2004, 01:34:00 PM
Thanks!