Так я и не линковал. По -rpath ищет зависимости просто. Правильно ли я понимаю, что можно взять у тебя (плз не выкай мне больше) libstdc++ - и этого будет достаточно?
UPD.
Вау! Работает!
Code:
[admin@RT-20CF30CE0B4E rtorrent 0.8.9]$ ldd /opt/lib-oleg/libsigc-2.0.so
checking sub-depends for '/opt/lib-oleg/libstdc++.so.6'
checking sub-depends for '/opt/lib/libm.so.0'
checking sub-depends for '/opt/lib/libc.so.0'
checking sub-depends for '/opt/lib/libgcc_s.so.1'
libstdc++.so.6 => /opt/lib-oleg/libstdc++.so.6 (0x00000000)
libm.so.0 => /opt/lib/libm.so.0 (0x00000000)
libc.so.0 => /opt/lib/libc.so.0 (0x00000000)
libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x00000000)
not a dynamic executable
ldd /opt/lib-oleg/libtorrent.so.14
checking sub-depends for '/opt/lib-oleg/libcrypto.so.1.0.0'
checking sub-depends for '/opt/lib-oleg/libsigc-2.0.so.0'
checking sub-depends for '/opt/lib-oleg/libstdc++.so.6'
checking sub-depends for '/opt/lib/libm.so.0'
checking sub-depends for '/opt/lib/libc.so.0'
checking sub-depends for '/opt/lib/libgcc_s.so.1'
checking sub-depends for '/opt/lib/libdl.so.0'
libcrypto.so.1.0.0 => /opt/lib-oleg/libcrypto.so.1.0.0 (0x00000000)
libsigc-2.0.so.0 => /opt/lib-oleg/libsigc-2.0.so.0 (0x00000000)
libstdc++.so.6 => /opt/lib-oleg/libstdc++.so.6 (0x00000000)
libm.so.0 => /opt/lib/libm.so.0 (0x00000000)
libc.so.0 => /opt/lib/libc.so.0 (0x00000000)
libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x00000000)
libdl.so.0 => /opt/lib/libdl.so.0 (0x00000000)
/opt/lib/ld-uClibc.so.0 => /opt/lib/ld-uClibc.so.0 (0x00000000)
И rtorrent подал признаки жизни!
Code:
rtorrent -h
Rakshasa's BitTorrent client version 0.8.9.
All value pairs (f.ex rate and queue size) will be in the UP/DOWN
order. Use the up/down/left/right arrow keys to move between screens.
Usage: rtorrent [OPTIONS]... [FILE]... [URL]...
-h Display this very helpful text
-n Don't try to load ~/.rtorrent.rc on startup
-b <a.b.c.d> Bind the listening socket to this IP
-i <a.b.c.d> Change the IP that is sent to the tracker
-p <int>-<int> Set port range for incoming connections
-d <directory> Save torrents to this directory by default
-s <directory> Set the session directory
-o key=opt,... Set options, see 'rtorrent.rc' file
Main view keys:
backspace Add a torrent url or path
^s Start torrent
^d Stop torrent or delete a stopped torrent
^r Manually initiate hash checking
^q Initiate shutdown or skip shutdown process
a,s,d,z,x,c Adjust upload throttle
A,S,D,Z,X,C Adjust download throttle
I Toggle whether torrent ignores ratio settings
right View torrent
Download view keys:
spacebar Depends on the current view
1,2 Adjust max uploads
3,4,5,6 Adjust min/max connected peers
t/T Query tracker for more peers / Force query
* Snub peer
right View files
p View peer information
o View trackers
Report bugs to <jaris@ifi.uio.no>.