[Bioc-devel] Installing libsbml for rsbml on a mac?

Martin Morgan mtmorg@n@b|oc @end|ng |rom gm@||@com
Fri Apr 3 11:20:42 CEST 2020


The INSTALL file for rsbml says

  ~/b/git/rsbml master$ cat INSTALL
  ...

  To build rsbml on the Mac, first install libsbml with:
  `brew install homebrew/science/libsbml`.

but

  ~/b/git/rsbml master$ brew install homebrew/science/libsbml
  Error: homebrew/science was deprecated. This tap is now empty as all its formulae were    
  migrated.

If I download and build from source

  curl -O https://s3.amazonaws.com/linux-provisioning/libSBML-5.10.2-core-src.tar.gz
  tar xzf libSBML-5.10.2-core-src.tar.gz
  ./configure --enable-layout
  make
  make install

when I install rsbml things go well enough until

  ** testing if installed package can be loaded from temporary location
  Error: package or namespace load failed for ‘rsbml’:
   .onLoad failed in loadNamespace() for 'rsbml', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object   '/Users/ma38727/Library/Caches/pkgserver/library/78c7d37adb9cb6df9d8f1ec10fed882b/00LOCK-rsbml/00new/rsbml/libs/rsbml.so':
    
dlopen(/Users/ma38727/Library/Caches/pkgserver/library/78c7d37adb9cb6df9d8f1ec10fed882b/00LOCK-rsbml/00new/rsbml/libs/rsbml.so, 6): Symbol not found: _ASTNode_isName
  Referenced from: /usr/local/lib/libsbml.5.dylib
  Expected in: flat namespace
 in /usr/local/lib/libsbml.5.dylib
 Error: loading failed
 Execution halted

Any hints?

Thanks, Martin



More information about the Bioc-devel mailing list