Hi
when building Perl bindings for libSBML the following files are created for Perl:
- LibSBML.pm
- LibSBML.pod
- auto/libSBML/LibSBML.so
The case is not the same for LibSBML.pm and the libSBML/ folder.
So Perl cannot find the .so library.
I have to create a symlink auto/libSBML -> auto/LibSBML to make it work.
I got the same issue on CentOS 7 and Ubuntu 18
The fix is simple:
in src/bindings/perl/CMakeLists.txt, line 233, replace
set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR}/auto/libSBML)
by
set(PERL_PACKAGE_INSTALL_BIN_DIR ${PERL_PACKAGE_INSTALL_DIR}/auto/LibSBML)
It also concerns libSBML-5.19.0
thanks for letting us know, i've applied the fix to the git repo, so it will be part of the next release.