sbml-static or sbml-shared library?
Closed this issue · 2 comments
sagitter commented
Hello.
libCombine
configuration is searching for sbml-static library although -DLIBSBML_LIBRARY:FILEPATH
and -DZIPPER_LIBRARY:FILEPATH
are set for using the shared version:
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -Wno-cpp -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIBCOMBINE_SHARED_VERSION:BOOL=ON -DLIBCOMBINE_SKIP_SHARED_LIBRARY:BOOL=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON -DWITH_CHECK:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES -Dsbml-static_DIR:PATH=/usr/lib64/cmake -DLIBSBML_LIBRARY:FILEPATH=/usr/lib64/libsbml.so -DZIPPER_LIBRARY:FILEPATH=/usr/lib64/libZipper.so -DZIPPER_INCLUDE_DIR:PATH=/usr/include/zipper '-DEXTRA_LIBS:STRING=numl;sbml;xml2;bz2;z;m;dl;expat ' ..
SBML library configuration:
SBML library = /usr/lib64/libsbml-static.a
SBML include dir = /usr/include
libSBML compression support =
Zlib library configuration:
Zlib library = /usr/lib64/libz.so
Zlib include dir = /usr/include
Zipper library configuration:
Zipper library = /usr/lib64/libZipper.so
Zipper include dir = /usr/include/zipper
Other configuration settings:
Installation $prefix = /usr
What does libCombine need?
fbergmann commented
Hello Antonio,
sorry i'm traveling again but will have a look on Thursday. Can you try setting -DLIBSBML_SHARED=ON
, this should make the FindLIBSBML script look for the shared library.
thanks!
sagitter commented
Can you try setting -DLIBSBML_SHARED=ON
I had missed this option; thanks.