You are not logged in.

#1 2011-01-21 18:31:07

PAdu92
Member
Registered: 2008-06-04
Posts: 101

[utorrent-server] error while loading shared libraries: libssl.so

Hi all,

I'm having a problem with my PKGBUILD: Utorrent-server
https://aur.archlinux.org/packages.php?ID=43253

seems like this new version need libssl.so.0.9.8:

[root@Serveur ~]# /etc/rc.d/utorrent-server start
:: Starting utorrent-server                                                                                                                  [DONE]
[root@Serveur ~]# /usr/bin/utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

I tried:
ln -s libssl.so.0.9.8 libssl.so.1.0.0
nothing seems to work....
any ideas?

Offline

#2 2011-01-21 18:36:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [utorrent-server] error while loading shared libraries: libssl.so

Did you read the AUR comments?

Offline

#3 2011-01-21 18:38:59

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

yes, it's mine....
it's because at first we thought on utorrent forums that it was due to upstream, but now they say it comes from our scripts.....
I will delete the comment from AUR

Offline

#4 2011-01-21 20:22:12

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

looks like it needs openssl 0.9.8 but even after installing it (openssl-compatibility) it does not work......
any help?

Offline

#5 2011-01-21 21:59:37

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [utorrent-server] error while loading shared libraries: libssl.so

There's little we can do when it's binary. You should complain with the µTorrent people.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2011-01-22 10:07:22

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

Yeah binary is annoying for this.... But on uTorrent forums they say it should work with openssl-compatibility). For exemple on OpenSuse simply after installing openSSL 0.9.8 next to 1.0.0 it works well.... How do they do it? Would there be a way to link library?

Offline

#7 2011-01-22 11:15:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [utorrent-server] error while loading shared libraries: libssl.so

Maybe the -compatibilty package is broken. Try it with something else that needs 0.9.8, if you can find one.

What does ldd on the binary give you anyway?

Offline

#8 2011-01-22 11:38:50

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

[root@Serveur bin]# ldd utserver
        linux-gate.so.1 =>  (0xf7734000)
        libssl.so.0.9.8 => not found
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf76e2000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf76bd000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf76b4000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7699000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf754d000)
        /lib/ld-linux.so.2 (0xf7735000)
        libcrypto.so.0.9.8 => not found

and yes the openssl package should work, just a non fatal error, ex:

pypy: /usr/lib/libcrypto.so.0.9.8: no version information available (required by pypy)
pypy: /usr/lib/libssl.so.0.9.8: no version information available (required by pypy)

and
/usr/lib/libcrypto.so.0.9.8 and
/usr/lib/libssl.so.0.9.8
are installed on my system.....


edit: people using utorrent on OpenSuse get the same non fatal error (libcrypto.so.0.9.8: no version information available) and utorrent starts.....

Last edited by PAdu92 (2011-01-22 11:40:21)

Offline

#9 2011-01-22 11:56:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [utorrent-server] error while loading shared libraries: libssl.so

And if you run ldconfig as root, then ldd again?

Offline

#10 2011-01-22 12:36:09

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

exactly the same thing ;(

Offline

#11 2011-01-24 05:02:58

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [utorrent-server] error while loading shared libraries: libssl.so

Maybe you're using a 64 bit binary with 32 bits libraries or vice versa.  What do you get when you run:
$ file utserver /usr/lib/libcrypto.so.0.9.8 /usr/lib/libssl.so.0.9.8

Offline

#12 2011-01-24 09:58:08

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [utorrent-server] error while loading shared libraries: libssl.so

LOL!!!
I'm so stupid, I was concentrating on openssl that I forgot that it's a 32bit binary! Thanks  lot, just had to install lib32-openssl-compatibility and:


[root@Serveur bin]# ldd utserver
./utserver: /usr/lib32/libcrypto.so.0.9.8: no version information available (required by ./utserver)
./utserver: /usr/lib32/libssl.so.0.9.8: no version information available (required by ./utserver)
        linux-gate.so.1 =>  (0xf76fa000)
        libssl.so.0.9.8 => /usr/lib32/libssl.so.0.9.8 (0xf7679000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf765f000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf763a000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf7631000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7616000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf74ca000)
        /lib/ld-linux.so.2 (0xf76fb000)
        libcrypto.so.0.9.8 => /usr/lib32/libcrypto.so.0.9.8 (0xf7377000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7373000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf735e000)

Offline

Board footer

Powered by FluxBB