Registered Member
|
Hello!
First, sorry about my poor english. I'm user of ktorrent from some month ago, the speed doens't good, but it consume low cpu. I'm user of ubuntu dapper amd64 6.0.6LTS, and i have downloaded and updated my KTorrent 2.0.1 (the official nowadays)... when Ktorrent starts all seems ok (downloading 70KB/80KB in a few seconds) but it crash unknowing when.... I paste the output : ) lordek@leviathan:~$ ktorrent X Error: BadDevice, invalid or uninitialized input device 169 Major opcode: 147 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 169 Major opcode: 147 Minor opcode: 3 Resource id: 0x0 Failed to open device kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found kio (KMimeType): WARNING: KServiceType::offers : servicetype ThumbCreator not found Here the client run ok .... And here it crashes... lordek@leviathan:~$ ktorrent: symbol lookup error: /usr/lib/libktorrent.so.0: undefined symbol: _ZNK8KNetwork10KIpAddress12hostIPv4AddrEb I run it with GNOME. |
Registered Member
|
|
Registered Member
|
We had two thread about something like it. "Ktorrent crash after a while - Symbol lookup error" and "2.0.2 (from Suse 10.1 rpm) crashes".
|
Moderator
|
|
Registered Member
|
This is not right. Try to create a folder with following files: test.c:
test.h:
main.c
Now compile the shared library with "gcc -shared test.c -o libtest.so" and the main program with "gcc -Wl,-rpath=. main.c -o main -L. -ltest". The program should run fine with "./main". Now change test.h:
And recompile the the library with "gcc -shared test.c -o libtest.so". When you start the program you will notice that it stops after "test". This can be changed by compiling the stuff with "gcc -Wl,-z,now -Wl,-rpath=. main.c -o main -L. -ltest". Please contact "man ld" |
Registered Member
|
|
Moderator
|
Interesting I didn't know that, better add these linker flags then. |
Registered Member
|
|
Moderator
|
|
Registered Member
|
Can you please try the official KTorrent 2.0.2 packages, available at http://packages.ubuntu.com/dapper-backp ... t/ktorrent
Scroll down to the bottom and find the amd64 link. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar