Menu

#476 Misname for Perl .so binding folder

libSBML-5.18.0
open
nobody
perl (3)
2021-08-05
2020-04-17
smoretti
No

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

Discussion

  • smoretti

    smoretti - 2021-08-05

    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)

     
  • smoretti

    smoretti - 2021-08-05

    It also concerns libSBML-5.19.0

     
  • Frank Bergmann

    Frank Bergmann - 2021-08-05

    thanks for letting us know, i've applied the fix to the git repo, so it will be part of the next release.

     

Log in to post a comment.