Description of problem: Running the command `obabel` provided by the package `openbabel` fails because it is unable to find OpenBabel plugins. Version-Release number of selected component (if applicable): 3.1.1 How reproducible: Always Steps to Reproduce: 1. `sudo dnf install openbabel` 2. `obabel -L formats` Actual results: ``` $ obabel -L formats ============================== *** Open Babel Error in LoadAllPlugins Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable. ============================== *** Open Babel Error in LoadAllPlugins Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable. ============================== *** Open Babel Error in LoadAllPlugins Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable. ============================== *** Open Babel Error in LoadAllPlugins Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable. ============================== *** Open Babel Error in LoadAllPlugins Unable to find OpenBabel plugins. Try setting the BABEL_LIBDIR environment variable. formats is not a recognized plugin type. Those with instances of sub-types loaded are: ops ``` Expected results: obabel should list recognized file formats. Additional info: Trying to convert any chemical structure file results in the same "Unable to find OpenBabel plugins" error. The environment variable `BABEL_LIBDIR` is empty. Installing the `openbabel` package installed the dependencies `inchi-libs` and `openbabel-libs`.
I had the same issue with avogadro today, I had to run it with: export BABEL_LIBDIR=/usr/lib64/openbabel/; avogadro2 Antonio, should the openbabel package be setting this variable upon installation? One would think that at least Open Babel's executables would be able to find these libraries.
This issue should be fixed in the build 3.1.1-12 https://src.fedoraproject.org/rpms/openbabel/c/36f45c5c9a6a43d32317be8075c5965f72db10e4?branch=rawhide
Thanks Antonio, I tested openbabel-3.1.1-12.fc36 and everything is working now, I think we can close this. P.S.: Will you submit the F36 build to bodhi or do you want me to do that?
> P.S.: Will you submit the F36 build to bodhi or do you want me to do that? I'm rebuilding openbabel for f36.
This is still available: https://koji.fedoraproject.org/koji/buildinfo?buildID=2043288
This is a duplicate of BZ#2112710 which *** This bug has been marked as a duplicate of bug 2112710 ***