Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » java.lang.UnsatisfiedLinkError: org.sbml.libsbml.libsbmlJNI.new_Model__SWIG_0
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Andreas Dräger


Posts: 273
Registered:
June 2006
java.lang.UnsatisfiedLinkError: org.sbml.libsbml.libsbmlJNI.new_Model__SWIG_0 06 Dec '07 06:21 Go to previous message

Hi,

Recently, I tried to create a new model using the SBML data structures.
I am using Java and libSBML 3.0.2 with Xerces under Linux. My code looks
like this:

public static void main(String args[]) {
Model m = new Model();
}

This results in the following exception, which I cannot solve:

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
org.sbml.libsbml.libsbmlJNI.new_Model__SWIG_0(Ljava/lang/String;Ljava/lang/String;)J
at org.sbml.libsbml.libsbmlJNI.new_Model__SWIG_0(Native Method)
at org.sbml.libsbml.Model.<init>(Model.java:113)

I am able to read in an XML file with an existing model, I can delete
and create reactions and kinetic laws in existing models, but I cannot
create a new empty model.
I have set the LD_LIBRARY_PATH variable to the correct path, since all
operations are possible with existing models.

I am grateful for any hint, what goes wrong here.

Cheers
Andreas Dräger


--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax: +49-7071-29-5091
____________________________________________________________
To manage your libsbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss

For a web interface to the libsbml-discuss mailing list, visit
http://sbml.org/forums/

For questions or feedback about the libsbml-discuss list,
contact sbml-team@caltech.edu.


      

SubjectPosterDate
Read Message   java.lang.UnsatisfiedLinkError: org.sbml.libsbml.l...  Andreas Dräger06 Dec '07 06:21
Read Message   Re: java.lang.UnsatisfiedLinkError: org.sbml.libsb... Akiya Jouraku06 Dec '07 11:38
Read Message   Re: java.lang.UnsatisfiedLinkError: org.sbml.libsb... Andreas Dräger06 Dec '07 23:24
Previous Topic:Issues compiling libsbml 3.0.2/CVS on AIX
Next Topic:Problem regarding units attributes
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.