Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » Unsatisfied link error only when creating new parameters
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
Unsatisfied link error only when creating new parameters 04 Sep '09 09:30 Go to previous message

Hi guys,

I am using libSBML 4.0.0 under Linux. I've set my LD_LIBRARY_PATH variable and loaded the libsbml library with

static {
try {
System.loadLibrary("sbmlj");
// Extra check to be sure we have access to libSBML:
Class.forName("org.sbml.libsbml.libsbml");
} catch (Exception e) {
System.err.println("Error: could not load the libSBML library");
System.exit(1);
}
}

as described in the tutorial. I can read and manipulate models. However, when I try to do the following:

Parameter p = new Parameter(2, 4);

I receive the following

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: org.sbml.libsbml.libsbmlJNI.new_Parameter__SWIG_7(JJ)J
at org.sbml.libsbml.libsbmlJNI.new_Parameter__SWIG_7(Native Method)
at org.sbml.libsbml.Parameter.<init>(Parameter.java:410)
...

What went wrong? I am thankful for any hint.

Cheers
Andreas

      

SubjectPosterDate
Read Message   Unsatisfied link error only when creating new para...  Andreas Dräger04 Sep '09 09:30
Read Message   Re: Unsatisfied link error only when creating new ... ajouraku07 Sep '09 02:07
Read Message   Re: Unsatisfied link error only when creating new ... Andreas Dräger14 Sep '09 23:33
Previous Topic:Unit consistency check in libsbml 3.3.2
Next Topic:Release of libSBML-4.1.0-b1
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.