From: Rainer M. <ra...@tb...> - 2007-05-10 16:27:10
|
Hi John, > Does Soslib by default generate only static libs? I am forwarding this also to the list because it might be of general interest. Yes currently it only creates a static lib. Actually I don't know how we could make a shared lib but a quick google search indicated that it just requires additional flags during compilation like -shared -soname,libmean.so.1 -o libmean.so.1.0.1 Is it really that easy? Does anyone know? Rainer John Legato wrote: > Does Soslib by default generate only static libs? We'll need shared for > Java bindings. I looked in the installed directory as well as the src > and all I found was the static version (libODES.a). An ldd on odeSolver > seems to confirm that it was staticly linked: > > [jlegato@biocore21 SBML_odeSolver-1.6.0]$ ldd odeSolver/odeSolver > libsbml.so => /usr/local/libsbml2/lib/libsbml.so (0xb7f68000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0442f000) > libxerces-c.so.27 => not found > libm.so.6 => /lib/tls/libm.so.6 (0x005df000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c6f000) > libc.so.6 => /lib/tls/libc.so.6 (0x004b2000) > /lib/ld-linux.so.2 (0x00499000) > libxerces-c.so.27 => not found > > (The Xerces not found can be ignored when I ran that my LD_LIBRARY_PATH > was off) > > Thanks > > John |