aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: crypto  (Read 2705 times)

majls

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
crypto
« on: May 22, 2004, 01:10:31 AM »

How do i install libcrypto on freebsd?

thanks
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: crypto
« Reply #1 on: May 22, 2004, 05:46:46 AM »

Logged

majls

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: crypto
« Reply #2 on: May 22, 2004, 10:40:41 AM »

Thank you for your help!
Logged

majls

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: crypto
« Reply #3 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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: crypto
« Reply #4 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

majls

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: crypto
« Reply #5 on: May 22, 2004, 01:34:00 PM »

Thanks!
Logged