Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » Getting libSBML to work on my Mac
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Mark Stewart


Posts: 1
Registered:
June 2011
Getting libSBML to work on my Mac 06 Jun '11 08:08 Go to previous message

I'm trying to get libSBML installed on my Mac and I keep getting the
following when I try to run the program that uses it:

Error encountered while attempting to load libSBML:

java.lang.UnsatisfiedLinkError: no sbmlj in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1754)

at java.lang.Runtime.loadLibrary0(Runtime.java:823)

at java.lang.System.loadLibrary(System.java:1045)

at sbml.<clinit>(sbml.java:264)

Please check the value of your DYLD_LIBRARY_PATH environment variable and/or
your java.library.path system property (depending on which one you are
using) to make sure it lists all the directories needed to find the
libsbmlj.jnilib and/or libsbml.dylib library file and the libraries it
depends upon (e.g., the XML parser).


I've tried changing DYLD_LIBRARY_PATH to where it should be pointing as
per the instructions on the libSBML website (
http://sbml.org/Software/libSBML/docs/cpp-api/libsbml-accessing.html#accessing-java),
but this doesn't seem to help. I thought it might be because the files are
in a hidden folder (/usr/local/lib), but I tried copying them to some
folders on the desktop and changing DYLD_LIBRARY_PATH accordingly and I
still get the same error. Any ideas?

I'm very new to this, so my knowledge of troubleshooting this kind of thing
is essentially zero. Here's what I'm running:

MacBook Air
1.4GHz Core 2 Duo
4GB 1067MHz DDR3
OS X 10.6.7

libSBML version 5.0.0 for Snow Leopard

Thanks!
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

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

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

      

SubjectPosterDate
Read Message   Getting libSBML to work on my Mac  Mark Stewart06 Jun '11 08:08
Read Message   Re: Getting libSBML to work on my Mac fbergman07 Jun '11 13:11
Previous Topic:libSBML binding to Matlab in ubuntu
Next Topic:libSBML on Visual Studio -> error LNK2001: unresolved external symbol [c/c++]
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.