aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: when compiling cannot find -lcrypto++  (Read 8402 times)

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
when compiling cannot find -lcrypto++
« on: August 04, 2004, 05:08:56 AM »

Debian 2.6.7

I tried following http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian
but i get this error with lcrypto, i can see other people has had trouple with this on slackware among others.
1 thing i was not sure on in the guide was the Note 9: <- i just need to be root user right, i dont need to change any permissions (chmod-chown)?
anyway was logged in as root when following the whole guide.

make  all-recursive
make[1]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3'
Making all in .
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3'
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3'
Making all in m4
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/m4'
Making all in intl
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/intl'
Making all in po
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/po'
Making all in src
make[2]: Entering directory `/root/aMule-compilation/aMule-2.0.0rc3/src'
gcc  -Wall -g -ggdb -fno-inline -D__DEBUG__ -g     -o cas  cas-cas.o cas-functions.o cas-configfile.o cas-graphics.o  -ljpeg -lfreetype -lpng12 -lz -lm -lgd  -lcrypto++
/usr/bin/ld: cannot find -lcrypto++
collect2: ld returned 1 exit status
make[2]: *** [cas] Error 1
make[2]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-compilation/aMule-2.0.0rc3'
make: *** [all] Error 2
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: when compiling cannot find -lcrypto++
« Reply #1 on: August 04, 2004, 07:23:02 AM »

you're having a problem on ld reoslving some path to some library.
Reinstall the packages and make sure you left no step while following the guide ;-)
Greetings!
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: when compiling cannot find -lcrypto++
« Reply #2 on: August 04, 2004, 08:26:02 AM »

and don't compile rc3!! is very buggy... get and compile 2.0.0rc5

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #3 on: August 04, 2004, 03:33:39 PM »

Ok so i reinstalled all the packages, this is exactly what i did.
--------------------------------------------------------------------------------
apt-get update && apt-get dist-upgrade
apt-get install --reinstall g++
apt-get install --reinstall libwxbase2.4-dev libcurl2-dev libgtk1.2-dev libwxgtk2.4-dev libcrypto++-dev libgd2-noxpm-dev
apt-get install --reinstall gettext

ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h
ofcourse i did that last time too and had no error, now it ofcourse says the file allready exists.

wget http://download.berlios.de/amule/aMule-2.0.0rc5.tar.gz
mkdir ~/aMule-compilation/ && tar xzfv aMule-2.0.0rc5.tar.gz -C ~/aMule-compilation/ && cd ~/aMule-compilation/

cd ~/aMule-compilation/aMule-2.0.0rc5/ && ./configure && make
--------------------------------------------------------------------------------
It just said the same error  ?(
Any thing else i should try ?
Logged

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #4 on: August 04, 2004, 04:52:50 PM »

And its not some old debian installation with all sorts of shit installed on it, i just installed it yesterday, and amule is the first thing i started to install.  :baby:
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: when compiling cannot find -lcrypto++
« Reply #5 on: August 05, 2004, 08:02:52 AM »

unisntall packages and THEN install them. No guess why your system's LD is f***ed up, sorry :-( Could be because of anything. Just play around a little with /etc/ldconfig
Greetings!
Logged

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #6 on: August 05, 2004, 03:56:45 PM »

hmm i dont have a file called ldconfig in /etc/
I have ldconfig in /sbin/ldconfig and the .conf file for it is in /etc/ld.so.conf
Thanks for all the help so far though !!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: when compiling cannot find -lcrypto++
« Reply #7 on: August 05, 2004, 06:39:26 PM »

sorry, I meant /etc/ld.so.conf
ldconfig is what you have to run as root after modifying the above mentioned file ;-)
Seems like I had a reference-cross on my head for a few seconds :p
Greetings!
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: when compiling cannot find -lcrypto++
« Reply #8 on: August 05, 2004, 09:31:07 PM »

remove the deb crypto pkg and compile crypto yourself, works always ;)

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #9 on: August 06, 2004, 05:23:00 AM »

I can see that you (Jacobo221) referred http://www.amule.org/amule/thread.php?threadid=3195&sid=
to this post. similar error though its not exactly the same error it comes with ?
Well ziofester i dont know if youll read this but if you get yours working plz post what you did, ill do the same ofcourse.

I have tryed everything alot of times, exept deltaHF's last post about compiling crypto myself :/ i had hoped id get it working without having to do that.  ;(

I was just wondering though, if this don't work aint it then possible for someone else to compile it and get the compiled files from them ?
Logged

ziofester

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: when compiling cannot find -lcrypto++
« Reply #10 on: August 06, 2004, 03:44:16 PM »

unistalled cripto, reinstalled and now
make  all-recursive
make[1]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5'
Making all in m4
make[2]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/m4'
Making all in intl
make[2]: Entering directory `/home/mauro/Desktop/aMule-2.0.0rc5/intl'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl  -O2   l10nflist.c
In file included from l10nflist.c:27:
../config.h:260:1: warning: "LOCALEDIR" redefined
:4:1: warning: this is the location of the previous definition
l10nflist.c:61: warning: static declaration for `stpcpy' follows non-static
l10nflist.c:445: error: parse error before "__extension__"
l10nflist.c:448: error: parse error before '{' token
make[2]: *** [l10nflist.o] Error 1
make[2]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5'
make: *** [all] Error 2
  ?(
Thank you.
ziofester
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

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #12 on: August 07, 2004, 12:43:11 PM »

Well for the time being i have gone back to xmule again, maby some day when there is a new lcrypto package ill try compiling amule again.
apt-get install xmule (dead i know)

Thanks for all the help.  ;)
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: when compiling cannot find -lcrypto++
« Reply #13 on: August 07, 2004, 12:49:33 PM »

whats so hard compiling crypto yourself?  ?(

greets

trilian

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: when compiling cannot find -lcrypto++
« Reply #14 on: August 07, 2004, 08:57:22 PM »

It's not that its hard. it's just because i don't know for sure if it would fix the problem, and i also kinda would like to keep all of debian able to update with apt-get.
ill properbly try again when i have more time for it.
Logged
Pages: [1] 2