aMule Forum

English => aMule Help => Topic started by: greaman on May 30, 2004, 01:36:46 PM

Title: missing libraries
Post by: greaman on May 30, 2004, 01:36:46 PM
Hi,
I have changed my system from SuSE 9.0 to 9.1 64 Bit and when I try to install amule I alwyas get the message that libcurl.so.2 and libgd.so.2 are missing, but

both libraries are in /usr/lib and /usr/lib64 so where does amule look for it?
Title: Re: missing libraries
Post by: skolnick on May 30, 2004, 06:32:32 PM
Not very sure, but try looking at /etc/ld.conf or similar-named files. One of these, defines the folders where programs should look for shared libraries. If the folder you want is not listed there, add it manually and then run ldconfig. If this doesn't work, then try defining the LD_LIBRARY_PATH variable environment pointing to the right folder. Do not forget to export it to make it widely available.

Regards.
Title: Re: missing libraries
Post by: Supersnail on May 30, 2004, 07:48:49 PM
[edit]
Never mind, this wasn't gonna help you.
[/edit]
Title: Re: missing libraries
Post by: Jacobo221 on May 30, 2004, 08:44:58 PM
Rather than messing up with ld, I'd better first try reinstalling curl's and gd's rpm packages.
Greetings.
Title: Re: missing libraries
Post by: greaman on May 30, 2004, 11:00:41 PM
Quote
Originally posted by Jacobo221
Rather than messing up with ld, I'd better first try reinstalling curl's and gd's rpm packages.
Greetings.

Thats what I did three times before asking here... doesn`t help...
Title: Re: missing libraries
Post by: greaman on May 30, 2004, 11:09:58 PM
Quote
Originally posted by skolnick
Not very sure, but try looking at /etc/ld.conf or similar-named files. One of these, defines the folders where programs should look for shared libraries. If the folder you want is not listed there, add it manually and then run ldconfig. If this doesn't work, then try defining the LD_LIBRARY_PATH variable environment pointing to the right folder. Do not forget to export it to make it widely available.

Regards.

/etc/ld.so.conf contains /usr/lib and /usr/lib64, setting the path manually makes no change.

I guess its a Problem of SuSE 9.1 64 Bit which has some really strange bugs...

libcurl is definitly installed and it is used by yast2 so it makes no sense the application doesn`t it
Title: Re: missing libraries
Post by: greaman on May 31, 2004, 09:21:56 PM
I had similar problems today trying to install mplayer... seems there is something wrong with the 64 Bit Version of SuSE 9.1, but I can not locate the error.
Title: Re: missing libraries
Post by: deltaHF on May 31, 2004, 09:31:27 PM
well, try suse mailinglist or smth ..
try also http://www.linux-club.de .. some suse forum

greets
Title: amule on suse 9.1 -amd64
Post by: linuxuser on June 12, 2004, 11:28:33 PM
ok  i´ve installed amule 1.2.6 on suse 9.1 - amd64
i Just followed the howto (http://www.amule.org/amule/howto.php)
and had to install via yast make , auto make , gcc and gettext , and thats all
If you follow the howto you will be fine .
If you need any help, you can  mail me  or i´m usualy at night  on  the amule irc chanel
Good Liuck , hope this helps
Title: Re: missing libraries
Post by: deltaHF on June 13, 2004, 01:45:03 AM
ok, we got from linuxuser a rpm .. try it plz: http://www.amule.org/dl/details.php?id=50
Title: Re: missing libraries
Post by: linuxuser on June 14, 2004, 04:14:26 PM
greanam please let us know how it worked !
Title: Altso missing libraries.
Post by: BigJJ on June 21, 2004, 09:02:29 PM
when i try to start amule i get:
error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

[root@bigjj /]# locate libgtk-1.2.so.0
/opt/ch/extern/lib/libgtk-1.2.so.0
/opt/ch/extern/lib/libgtk-1.2.so.0.5.3
/usr/lib64/libgtk-1.2.so.0
/usr/lib64/libgtk-1.2.so.0.9.1

Using Mandrake 10 AMD64. (Did not use mdk RPM's for wx)

did folow the instruktions in http://www.amule.org/wiki/index.php/MDK10_install and in http://www.amule.org/wiki/index.php/Compilation_Installation.

Did try to compile, but it gives me a error in wxGTK. Dont find wxBase.

Help!  ;(
Title: Re: missing libraries
Post by: deltaHF on June 21, 2004, 09:32:08 PM
what errors.. post them plz
Title: Re: missing libraries
Post by: linuxuser on June 22, 2004, 08:16:41 PM
BigJJ uninstall the wxgtk you have installed, because its linked against gtk2.
And install wxgtk and wxbase from source, you can find them in the download section
Hope this helps !
Title: Re: missing libraries
Post by: BigJJ on June 23, 2004, 02:53:33 PM
Uninstalled my wxgtk and started compiling new ones. Follow the instructions here: http://www.amule.org/wiki/index.php/Compilation_Installation

But ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
Gives me:

checking for tiffio.h... no
configure: warning: system tiff library not found, will use built-in instead
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
Title: Re: missing libraries
Post by: deltaHF on June 23, 2004, 03:16:08 PM
do u have gtk-1.2.10 (+ devel) installed ?
Title: Re: missing libraries
Post by: BigJJ on June 23, 2004, 04:14:51 PM
Silly me. Forgot to check for gtk-devel......  :]

After installing it my compile went on with flying colors....  :D

Thanks for the help!  :baby:
Title: Re: missing libraries
Post by: deltaHF on June 23, 2004, 04:19:02 PM
:)