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:


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: 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 =>  (0x00007fff21bff000) => /home/user/tools/libevent/lib/ (0x00007f54e9231000) => /home/user/tools/libevent/lib/ (0x00007f54e9027000) => /home/user/tools/libevent/lib/ (0x00007f54e8e12000) => /home/user/tools/libcurl/lib/ (0x00007f54e8bc9000) => not found => not found => /usr/lib/ (0x00007f54e89b2000) => /lib/ (0x00007f54e872f000) => /lib/ (0x00007f54e8513000) => /lib/ (0x00007f54e81c0000) => /lib/ (0x00007f54e7fa8000) => /lib/ (0x00007f54e7d9f000) => /lib/ (0x00007f54e7b8b000)
        /lib64/ (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.