Menu

#14 Installation problem on macOS - osra configure

v1.0 (example)
closed
nobody
7
2021-10-26
2021-10-26
Guy Rosin
No

Hi,
I'm trying to install osra on macOS (11.6) without success :(
I've installed all dependencies, but when I'm trying to ./configure osra, it fails with this error message:

configure: error: OpenBabel API check failed; make sure you have installed libopenbabel-dev package or check config.log

openbabel seems to be functioning - I've installed the 3.0.0 patched version and obabel is recognized and working.
Other than that, in case it matters, I've installed some of the dependencies (e.g., graphicsmagick and libiconv) using brew install.

The config.log file is attached.
Help please :)

1 Attachments

Discussion

  • Igor

    Igor - 2021-10-26

    Guy,

    I see the following errors in the config.log where it's checking for openbabel:
    clang: error: no such file or directory: '/libxml2.a'
    clang: error: no such file or directory: '/libiconv.a'
    clang: error: no such file or directory: '/libz.a'

    Try installing libxml2, libiconv, and libz first? Statically linked.

    I also believe there is a brew version of OSRA floating around, though I neither created nor maintain it.

    Regards,
    Igor

     
  • Guy Rosin

    Guy Rosin - 2021-10-26

    Thank you Igor!
    I've just used MacPorts to install libxml2 (which installed the other 2 libraries as dependencies) and it all works! :)

     
  • Igor

    Igor - 2021-10-26

    Great, glad to hear it resolves the problem!

     
  • Igor

    Igor - 2021-10-26
    • status: open --> closed
     

Log in to post a comment.