VDK Discussion Forum

You must be logged in to post

warning: libjthread-1.2.1.so

UserPost

2:48
16 January 2010


tntneo

New Member

posts 2

hi,

when i want to build the example i got tihs warning message

/usr/bin/ld: warning: libjthread-1.2.1.so, needed by /home/tntneo/vdk/libvdk.so, not found (try using -rpath or -rpath-link)

can you help me to solve the problemi'm on qt4.5.0 et ubuntu 9.04

10:52
18 January 2010


lamonica

Admin

posts 28

Post edited 10:53 – 18 January 2010 by lamonica
Post edited 10:54 – 18 January 2010 by lamonica


Hi tntneo,

libjthread-1.2.1.so is one of the dependencies of VDK, you should have got a copy of that in the same directory where VDK was installed. You should instruct your compiler to look in that directory for VDK libraries, try the following command before launching your application:

export LD_LIBRARY_PATH="/home/tntneo/vdk"

and then try again to run you application.

15:51
18 January 2010


tntneo

New Member

posts 2

Thank you but i still have another problem when compiling

g++ -Wl,-O1 -o voiip main.o testwidget.o moc_testwidget.o    -L/usr/lib -lvdk -lsofia-sip-ua -lspeex -lspeexdsp -ljrtp -lportaudio -lQtGui -lQtCore -lpthread
/usr/bin/ld: cannot find -lvdk
collect2: ld a retourné 1 code d'état d'exécution
make: *** [voiip] Erreur 1

Thanks

16:46
18 January 2010


lamonica

Admin

posts 28

Hi tntneo,

you have to add the following switch to your Makefile

-L/home/tntneo/vdk

or, if you are using the Qt tool qmake, you need to add in your .pro file the entry

LIBPATH+=/home/tntneo/vdk

Hope this helps Smile



About the VoipDevKit forum

Most Users Ever Online:

23


Currently Online:

1 Guest

Forum Stats:

Groups: 1

Forums: 2

Topics: 20

Posts: 75

Membership:

There are 235 Members

There has been 1 Guest

There are 2 Admins

There are 2 Moderators

Top Posters:

Antti – 9

zanes – 7

simon – 5

chedy – 3

Elimu – 3

grin – 3

Administrators: lamonica (28 Posts), admin (0 Posts)

Moderators: alienpenguin (8 Posts), murgia (0 Posts)