Opened 11 years ago

Closed 11 years ago

#3694 closed Bug (invalid)

Running Transmission from local directory

Reported by: michalo2882 Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.11
Severity: Normal Keywords:
Cc:

Description

Hi. As I have no root privileges on my remote server (Debian linux system) I decided to compile Transmission and some library in the local directory. I used following configure command:

./configure --prefix=/home/user/tools/transmission OPENSSL_CFLAGS=-I/home/user/tools/ssl/include OPENSSL_LIBS="-L/home/user/tools/ssl/lib64 -lssl -lcrypto" LIBCURL_CFLAGS=-I/home/user/tools/libcurl/include LIBCURL_LIBS="-L/home/user/tools/libcurl/lib -lcurl" LIBEVENT_CFLAGS=-I/home/user/tools/libevent/include LIBEVENT_LIBS="-L/home/user/tools/libevent/lib -levent -levent_core -levent_extra" --disable-gtk  --disable-nls

The building process succeeded and I gained some binary files in /home/user/tools/transmission/bin I have launch one of them and it resulted in error:

./transmission-cli: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Even adding a symbolic link in the directory with the binary files doesn't work. I have no idea where this program searches for libraries...

Change History (2)

comment:1 Changed 11 years ago by michalo2882

ldd transmission-cli
        linux-vdso.so.1 =>  (0x00007fff21bff000)
        libevent-1.4.so.2 => /home/user/tools/libevent/lib/libevent-1.4.so.2 (0x00007f54e9231000)
        libevent_core-1.4.so.2 => /home/user/tools/libevent/lib/libevent_core-1.4.so.2 (0x00007f54e9027000)
        libevent_extra-1.4.so.2 => /home/user/tools/libevent/lib/libevent_extra-1.4.so.2 (0x00007f54e8e12000)
        libcurl.so.4 => /home/user/tools/libcurl/lib/libcurl.so.4 (0x00007f54e8bc9000)
        libssl.so.1.0.0 => not found
        libcrypto.so.1.0.0 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f54e89b2000)
        libm.so.6 => /lib/libm.so.6 (0x00007f54e872f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f54e8513000)
        libc.so.6 => /lib/libc.so.6 (0x00007f54e81c0000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f54e7fa8000)
        librt.so.1 => /lib/librt.so.1 (0x00007f54e7d9f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007f54e7b8b000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f54e944b000)
Last edited 11 years ago by michalo2882 (previous) (diff)

comment:2 Changed 11 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

Hi michalo2882,

It looks like you don't have libssl and libcrypto in your path. You might try doing locate/find on your system to see where they reside, and add them to your LD_LIBRARY_PATH so that transmission-cli can find them.

But still, this is a configuration issue rather than a bug, so trac is not the right place for this. If you need more assistance, please ask in the support channel in the forums. Thank you!

Note: See TracTickets for help on using tickets.