From: Frank R. <Fra...@we...> - 2007-02-17 14:29:45
|
no, it doesn't work - i always get the same error message. i also renamed = the file to sipdhtjava.so regards, Frank > -----Urspr=FCngliche Nachricht----- > Von: "Enrico Marocco" <enr...@te...> > Gesendet: 16.02.07 13:17:24 > An: "Frank Ruwolt" <fra...@we...> > CC: sip...@li... > Betreff: Re: [Sipdht-devel] problem with Sipdht.java (libsipdht-java-0.7= .0/examples) -- missing library=3F > Frank Ruwolt wrote: > > Thanks! >=20 > Does it work now=3F >=20 > > Btw: > > I found a file called libsipdhtjava.so in /usr/lib - maybe it's just = a=20 > > naming error (libsipdhtjava.so instead of sipdhtjava.so)=3F >=20 > I don't think so. At least for gcc, the name of the library is usually > the filename stripped of `lib'. Unfortunately, even if I should, I'm > not so familiar with JNI :-( >=20 > --=20 > Ciao, > Enrico >=20 > Ahem.. Sorry, the notice below is not my fault :-( > -------------------------------------------------------------------- >=20 > CONFIDENTIALITY NOTICE >=20 > This message and its attachments are addressed solely to the persons abo= ve and may contain confidential information. If you have received the mess= age in error, be informed that any use of the content hereof is prohibited= . Please return it immediately to the sender and delete the message. Shoul= d you have any questions, please contact us by replying to webmaster@telec= omitalia.it. >=20 > Thank you >=20 > www.telecomitalia.it >=20 > -------------------------------------------------------------------- > =20 >=20 > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Sipdht-devel mailing list > Sip...@li... > https://lists.sourceforge.net/lists/listinfo/sipdht-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! =09 Jetzt gratis testen! http://freemail.web.de/home/landingpad/=3Fmc=3D021130 |
From: Enrico M. <enr...@te...> - 2007-02-20 07:40:02
|
Frank Ruwolt wrote: > no, it doesn't work - i always get the same error message. i also = renamed the file to sipdhtjava.so The name of the shared object is correct. With the following I'm able to compile and run the example on an Ubuntu 6.10: > $ cd /tmp > $ zcat /usr/share/doc/libsipdht-java/Sipdht.java.gz > Sipdht.java > $ export = CLASSPATH=3D/usr/share/java/gnu-getopt.jar:/usr/share/java/sipdht0.7.jar:= . > $ export LD_LIBRARY_PATH=3D/usr/lib > $ javac Sipdht.java > $ java Sipdht Does it work in your environment? --=20 Ciao, Enrico Ahem.. Sorry, the notice below is not my fault :-( -------------------------------------------------------------------- CONFIDENTIALITY NOTICE This message and its attachments are addressed solely to the persons = above and may contain confidential information. If you have received the = message in error, be informed that any use of the content hereof is = prohibited. Please return it immediately to the sender and delete the = message. Should you have any questions, please contact us by replying to = web...@te.... Thank you www.telecomitalia.it -------------------------------------------------------------------- =20 |
From: Frank R. <fra...@we...> - 2007-02-22 21:00:16
|
yes, this works for me if i run it in bash but i think it was my fault that it didn't run on eclipse. One should be careful to pass the right vm-arguments in correct spelling . . . i had to specify the java.library.path in eclipse by using: -Djava.library.path=/usr/lib Many thanks for your help! -- Regards, Frank Ruwolt am Dienstag, 20. Februar 2007 erhielt ich diese email: > Frank Ruwolt wrote: >> no, it doesn't work - i always get the same error message. i also renamed the file to sipdhtjava.so > The name of the shared object is correct. With the following I'm able > to compile and run the example on an Ubuntu 6.10: >> $ cd /tmp >> $ zcat /usr/share/doc/libsipdht-java/Sipdht.java.gz > Sipdht.java >> $ export CLASSPATH=/usr/share/java/gnu-getopt.jar:/usr/share/java/sipdht0.7.jar:. >> $ export LD_LIBRARY_PATH=/usr/lib >> $ javac Sipdht.java >> $ java Sipdht > Does it work in your environment? |