| Author | Topic |
Posts: 30
Registered: April 2007
|
|
backwards compatibility of libsml 3
|
24 Aug '07 08:46
|
 |
|
Hello everybody,
fist of all I wanted to tell you that we released a beta version of our
software semanticSBML (a tool for creating, displaying, annotating and
merging SBML files). You can find it on sourceforge and under
semanticsbml.sf.net
Currently I am developing a new version that uses libsbml3 (the old versio
uses 2.3.4). I am able to use libsbml2.3.4 and libsbml3.0.0 at the same
time with a little trick, that is I switch the link in my lib directory to
the version I want to use, here is the shell script for changing to 2.3.4
ORIGDIR=`pwd`
cd /usr/local/lib/
sudo rm libsbml.so
sudo ln -s libsbml.2.3.4.so libsbml.so
ls -la
cd $ORIGDIR
now this is a little inconvenient but not a problem, the real problem is:
I want to use 2 different kinds of software, where one uses libsbml 2 and
the other 3 I can update to 3 but the software that uses 2 will not work
(mostlikely) since libsbml3 is not backwards compatible. This is a big
problem! The solution is to rename the new libsbml to libsbml3 so I can
have
/usr/local/lib/libsbml.so
/usr/local/lib/libsbml3.so
now I can say in python "import libsbml3" and I do not have to wonder if
it will crash with very cryptic error message (undefined symbol:
_ZNK14AssignmentRule13isSetVariableEv)
The other option is of course to make the libsbml backwards compatible so
I can require my users update their libsbml without having to fear that
this will destroy their older software.
I hope we can resolve this issue.
And after all this "bad news" I have some good news. The .deb installer I
made for semanticSBML includes a binary installation of libsbml2.3.4
(using xerces with python bindings), so for all of you that use Ubuntu or
Debian you can install semanticSBML and get libsml with it.
greetings Falko
____________________________________________________________
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.
|
|
|