Jython developer build 'UnsatisfiedLinkError' issue

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Jython developer build 'UnsatisfiedLinkError' issue

by Sébastien Boisgérault-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello all,

I've tracked down the 'JavaReadline UnsatisfiedLinkedError' issue I experience with the current jython trunk (Linux box, developer build).

Basically,

    $ java -cp $CP org.python.util.jython

works without error, but

    $ java -Xbootclasspath/a:"$CP" org.python.util.jython

raises the link error, and this latter scheme is used in the new jython bash script.

Does anyone experience the same issue ? Shall we go back (at least partially for the readline lib) to the old '-cp' way of doing things ?

Cheers,

SB



Sébastien Boisgérault wrote:

Hi folks,

When I build jython from trunk on my linux box and try to run the interpreter, I get a:

jython-svn/trunk/jython/dist$ ./bin/jython
Exception in thread "main" java.lang.UnsatisfiedLinkError: no JavaReadline in java.library.path
...
i tought that my LD_LIBRARY_PATH was wrong, but it contains '/usr/lib/jni', the directory that contains libJavaReadline.so.

The standard Jython interpreter (2.2.1 from the installer) runs just fine but displays the same error when I set the LD_LIBRARY_PATH is to ''.

Any idea what could be the reason for this error except for a wrong LD_LIBRARY_PATH ?

Cheers,

SB



------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jython-dev mailing list
Jython-dev@...
https://lists.sourceforge.net/lists/listinfo/jython-dev
LightInTheBox - Buy quality products at wholesale price!