|
Hi Nicolas,
Looks like the problem relates to Java 1.6 on Mac OS X 10.5.8. Once I switch to Java 1.5 then libsbml version 4.0.0 seems to work fine.
Thanks
--Madhu
________________________________________
From: Nicolas Rodriguez [rodrigue@ebi.ac.uk]
Sent: Thursday, March 25, 2010 8:38 AM
To: madhu
Subject: Re: [sbml-interoperability] [sbml-discuss] Problem running SBMLEditor on Mac OS X
Hi Madhu,
I thought I had cc you when sending my answer to the list and apparently
I haven't, so I am sending that again, in case you are not in the
sbml-interoperability list.
Answer is inline below.
On 03/23/2010 05:54 PM, madhu wrote:
> Hi there,
>
> I installed SBMLEditor on my Mac OS X 10.5.8 and I am currently using Java 1.6. When I run the
> ./runSBMLeditor.sh script, I get the following error message
>
> java.lang.UnsatisfiedLinkError: /Applications/SBML-Editor/lib/libsbml-libxml2-4.0.0.macosx/lib/libsbmlj.jnilib: no suitable image found. Did find: ./lib/libsbml-libxml2-4.0.0.macosx/lib/libsbmlj.jnilib: no matching architecture in universal wrapper /Applications/SBML-Editor/lib/libsbml-libxml2-4.0.0.macosx/lib/libsbmlj.jnilib: no matching architecture in universal wrapper /usr/local/lib/libsbmlj.jnilib: no matching architecture in universal wrapper
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1881)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1798)
> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> at java.lang.System.loadLibrary(System.java:1045)
> at uk.ac.ebi.sbml.editor.helper.LibSBMLUtilities.isLibSBMLAvailable(LibSBMLUtilities.java:56)
> at uk.ac.ebi.sbml.editor.Main.main(Main.java:75)
> UnsatisfiedLinkError exception catched : Could not load libsbml library.
>
>
I am including with SBMLeditor binaries of libsbml provided by the sbml
team. And there are probably incompatible with your version of Mac OS X.
> My LIBSBML_HOME is ./lib/libsbml-libxml2-4.0.0.macosx
>
> I can see the GUI, however I get following message
>
> "Running sbml editor without having libSBML installed on your machine"
> It lists the functionality not available ........
>
> "I should download libSBML from ....."
>
> I did download libSBML mac version listed below from sourceforge site
>
> "libsbml-4.0.0-libxml2-macosx.dmg" and installed it.
>
> Looks like, I have everything installed correctly. Does it mean that error message I am seeing results from the unavailability of the right sbmllib for my Mac OS version?
>
> Any help or suggestions would be greatly appreciated.
>
>
The version you downloaded seems to be the same one that is included
with SBMLeditor, so there are chances that it will not work as well.
May be one of :
http://sourceforge.net/projects/sbml/files/libsbml/4.0.1/libsbml-4.0.1-libxml2-macosx-snowleopard.dmg/download
http://sourceforge.net/projects/sbml/files/libsbml/4.0.1/libsbml-4.0.1-libxml2-macosx-leopard.dmg/download
will work for you. If not, you might have to compile libsbml from the
sources.
Somebody else might know which version of libsbml is more appropriate
for your MAC OS X version.
Anyway, before trying these versions of libsbml, you need to remove or
rename the folder
/Applications/SBML-Editor/lib/libsbml-libxml2-4.0.0.macosx to prevent
the version of libsbml included with SBMLeditor to be used.
Hope this help,
Nico
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu
|