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: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error  (Read 8929 times)

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« on: October 22, 2004, 08:59:54 PM »

Hi,
Im trying to install amule RC7 in a pc running Fedora Core 3 (dont know why i dont stick to mandrake  X( ) and when i try to install the wxGTK rpms this is what i get:

FC3:[/home/vader/installs]# rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
error: Failed dependencies:
        libgdk-1.2.so.0 is needed by wxGTK-2.4.2-1
        libgtk-1.2.so.0 is needed by wxGTK-2.4.2-1
        libstdc++.so.5 is needed by wxGTK-2.4.2-1
        libstdc++.so.5(GLIBCPP_3.2) is needed by wxGTK-2.4.2-1

I have search on my (other) Mandrake box (where upgrading, installing and looking for software does make sense) and found out that i need libgtk+1.2, but FC3 cannot find it ont its repositories.
Is it such a weird package that they dont have it 'in stock'?  X(
Where can i get it from ?  :(

Thanks.
« Last Edit: October 22, 2004, 11:55:32 PM by feralertx »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #1 on: October 22, 2004, 09:06:23 PM »

feralertx,

Maybe you can try one in freshrpms repository, i dont know if they have FC3 yet, but if you get their src.rpm and build an rpm, it will surely work.

Seems to me that you dont have gtk+ installed, and wx-2.4.2 needs gtk+, not gtk2.

Cheers!
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #2 on: October 22, 2004, 09:19:03 PM »

Hi phoenix, thanks for your quick reply.

I installed gtk+ as you suggeted and the situation has improved, but...

FC3:[/home/vader/installs]# rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
error: Failed dependencies:
        libstdc++.so.5 is needed by wxGTK-2.4.2-1
        libstdc++.so.5(GLIBCPP_3.2) is needed by wxGTK-2.4.2-1

What do i need now?? Any ideas?

Thanx  :baby:

Update - Install these to no avail:
Dependencies Resolved
                libstdc++.i386 0:3.4.2-6 - user
                libstdc++-devel.i386 0:3.4.2-6 - dep
« Last Edit: October 22, 2004, 09:44:23 PM by feralertx »
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #3 on: October 22, 2004, 10:56:01 PM »

Ok I have finaly found out i needed 'compat-libstdc++.i386 0:8-3.3.4.2', installed and:
Preparing...                ########################################### [100%]
   1:wxGTK                  ########################################### [ 50%]
   2:wxGTK-devel            ########################################### [100%]

On to next step...
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #4 on: October 22, 2004, 11:41:38 PM »

Installed wxbase with:
    * rpm -Uvh wxBase-2.4.2-1.i586.rpm
    * ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
    * ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
    * ldconfig

Everything went fine, no errors.

Then installed amule RC7 via the rpm package for FC2 (though im using FC3, but it didnt complaint, is this ok??).

And now when i try to start amule, i get this error:
Code: [Select]
amule: error while loading shared libraries: libcurl.so.2: cannot open shared object file: No such file or directory
Again, I need your help !!!  ;(
« Last Edit: October 22, 2004, 11:56:13 PM by feralertx »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #5 on: October 23, 2004, 12:03:27 AM »

install curl.

$ apt-get install curl

or something similar if you use yum.
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #6 on: October 23, 2004, 12:52:18 AM »

Hi phoenix, i d/l curl and curl-devel (from a fedora mirror) and installed them manually since yum was giving an stupid error (im getting so fed up of it, urmi where are you!?):

# rpm -Uvh curl-7.12.1-1.i386.rpm curl-devel-7.12.1-1.i386.rpm
Preparing...                ########################################### [100%]
   1:curl                   ########################################### [ 50%]
   2:curl-devel             ########################################### [100%]

But same error again:
"amule: error while loading shared libraries: libcurl.so.2: cannot open shared object file: No such file or directory"

Are u sure its ok to install the FC2 rpm in FC3??

Thanks for any other suggestion.
Logged

darklegion

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #7 on: October 23, 2004, 01:50:08 AM »

Try running ldconfig as maybe libcurl was not added to the database yet and thus amule thinks its not there.Also it may have been installed properly but maybe the symlinks were not created my advice would be to search you harddrive for the file and see what comes up.You may find a file called "libcurl.so.x.x"
 with "x" being the full version numbers.You'll want to create a symlink to it like this:
Code: [Select]
ln -s libcurl.so.x.x libcurl.so.2
And lastly maybe the libcurl is a different version to the one amule requires,and thus it likely will not work.There is probably a compatability package in this case but I wouldn't count on it.My advice would be to just compile from source,that way you don't have to worry about whether or not it will work on your distro,as you can just grab the deps and set it up so they all work together...but then that is just me :)
« Last Edit: October 23, 2004, 01:51:37 AM by darklegion »
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #8 on: October 23, 2004, 02:13:59 AM »

Hi darklegion, thank you for taking the time to reply.

I did the ldconfig thing to no avail and have checked the simlinks, everything seems to be all right.
I have search for the string "libcurl.so"  but nothing comes up, so i cannot create asimlink as you suggest.
Quote
And lastly maybe the libcurl is a different version to the one amule requires,and thus it likely will not work.There is probably a compatability package in this case but I wouldn't count on it.My advice would be to just compile from source,that way you don't have to worry about whether or not it will work on your distro,as you can just grab the deps and set it up so they all work together...but then that is just me
Let me tell you what i am doing now. I unistalled the amule RC7 rpm package and im installing it from source (its compiling 'as we speak'). So far seems to be compiling ok, if this fails ill follow your advice and just compile every single thing from source.

Thanks again for replying. I will post how everything goes.
Logged

darklegion

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #9 on: October 23, 2004, 03:11:05 AM »

You did use 'find' and not 'locate' didn't you? Locate will not find files until 'updatedb' is run which usually is run as a cron job I believe by most distros but can of course be run manually also.Since you said that it is compiling fine I assume that the configure script picked it up? Anyway just in case you don't know here is how to run find over the whole drive...which is not neccesary in this case but it eliminates user error:
Code: [Select]
find / -iname libcurl*
You need the wildcard in there for 'find' otherwise it will only find files named exactly "libcurl" rather then "libcurls.so.x.x".

BTW amule is a very long compile in the latest version,took me around half an hour at least each time where as before I could have sworn it was a lot shorter.I guess the newer features are the course of that,so I am not complaining.Although I am having some problems with lowid lately which I will post about if it is amule or wxgtk causing it and not my system.
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #10 on: October 23, 2004, 03:26:47 AM »

Quote
Originally posted by darklegion
You did use 'find' and not 'locate' didn't you? Locate will not find files until 'updatedb' is run which usually is run as a cron job I believe by most distros but can of course be run manually also.Since you said that it is compiling fine I assume that the configure script picked it up? Anyway just in case you don't know here is how to run find over the whole drive...which is not neccesary in this case but it eliminates user error:
Code: [Select]
find / -iname libcurl*
You need the wildcard in there for 'find' otherwise it will only find files named exactly "libcurl" rather then "libcurls.so.x.x".

Yes i used search not locate but without the * , so thanks for the tip, with it i find this entries:
# find / -name libcurl.so*
/usr/lib/libcurl.so
/usr/lib/libcurl.so.3.0.0
/usr/lib/libcurl.so.3
So there is a libcurl.so.3 but no libcurl.so.2!  Weird  :(

Anyway amule is still compiling since even before i wrote my lastest post  8o
Quote
BTW amule is a very long compile in the latest version,took me around half an hour at least each time where as before I could have sworn it was a lot shorter.I guess the newer features are the course of that,so I am not complaining.
Truly, it never took so long before. It aint a fast computer (PII400, 300MB RAM) but even so is taking quite a while...

Quote
Although I am having some problems with lowid lately which I will post about if it is amule or wxgtk causing it and not my system.
I wish i could be testing that  :D Probably tomorrow cause right now its bed time!!  :O
Thanks for your replys.
Logged

darklegion

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #11 on: October 23, 2004, 04:41:00 AM »

Yeah my machine is comparitivley fast (1.6ghz duron,512mb ram) but still took me a good half-hour.I'm happy with my most recent compile though.Amule-cvs + wx 2.5.3 + gtk 1 = everything but webserver working...which I hope is just an issue on my end.BTW I think the wx2.5.3 requires a patch called 'wxWidgets-2.5.3-Patch02.tar.gz' .I forgot to run the patch on one of my compiles and i got a slew of errors when compiling amule,however it may have been another issue.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #12 on: October 23, 2004, 08:52:32 AM »

amuleweb is working fine under 2.5.3 with gtk1 and gtk2, it does not work with unicode!
check out wiki.amule.org and then webserver to find out how to set it up :)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #13 on: October 23, 2004, 10:54:53 AM »

This is bizarre, after more than 8 hours compiling it hasnt finished  8o

I think this is not running even tough it hasnt given any errors whatsoever, the last line is the screen is 'INIT: version 2.85 reloading'  ??
I think it hasnt done anything since i left it last night  X(
Bollocks, this never happened to me before, i had failed installs, but this?

Anyways I have some questions, if someone (preferibly a dev) can be so kind to reply:

- Why some (ie mandrake) do use wx 2.5.3 and im using 2.4.x ?
- Do the rpm for FC2 work in FV3 Test 3 ?
- I take that Crypto++ is not neede any longer, am i right?
- What am i doning wrong?

Thanks to all.  :))
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: FC2 rpm is ok for FC3 ?? getting libcurl.so.2 error
« Reply #14 on: October 23, 2004, 01:01:38 PM »

well
first of alll 2.5.3 is the unstable version of wxGTK but its a lot better in cpu and other things tehn 2.4.2 is....

so I would recommend you to use 2.5.3 but there are most often no rpms provided from the linux distributors...so tahts why you probably have 2.4.2.....
if you want 2.5.3 best would be to compile it yourself.

teh rpms from FC2 do NOT work on FC3.

crypt++ is not needed anymore right...its embedded now by default when you compile amule yourself.

what you are doing wrong I have no clue...with older compilers there was a problem with optimize flag....but since you probably have 3.4.2 should be ok....
if you are having 3.4.1 upgrade it please to 3.4.2 because .1 sux.....

so if you want aMule best would be to remove!!! all wxGTK rpms and recompile wxGTK 2.5.3, NO wxBase is needed anymore.
and tehn redownload tar.gz from rc7 and compile it also.
should work without problems since I know some poeple who run it on FC3....

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2