installation from scratch is broken
I tries to install bob.math
from scratch, i.e., using:
$ git clone https://gitlab.idiap.ch/bob/bob.math
...
$ python bootstrap-buildout
...
$ ./bin/buildout
...
The build succeeds, there is no compiler or linker error. However, when I try to use it, I get the following error message:
$ ./bin/nosetests
Failure: OSError (/mgunther/test_checkouts/bob.math/bob/math/libbob_math.so: undefined symbol: dggsvd3_) ... ERROR
======================================================================
ERROR: Failure: OSError (/mgunther/test_checkouts/bob.math/bob/math/libbob_math.so: undefined symbol: dggsvd3_)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 411, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/mgunther/test_checkouts/bob.math/bob/math/__init__.py", line 6, in <module>
bob.extension.load_bob_library('bob.math', __file__)
File "/mgunther/test_checkouts/bob.math/eggs/bob.extension-2.3.9-py2.7.egg/bob/extension/__init__.py", line 244, in load_bob_library
ctypes.cdll.LoadLibrary(full_libname)
File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /mgunther/test_checkouts/bob.math/bob/math/libbob_math.so: undefined symbol: dggsvd3_
I have seen this error being reported several times in our mailing list, too. I assume that we are missing to link against the library that contains this method.
Note that this issue is only present in the latest stable version (2.1.0). This does not occur when using older versions, e.g., 2.0.6.