raspberry pi compilation fails

Hi all,

Could someone explain to me how to properly compile bob.measure ? I am stuck.

I have this issue:

(/home/pi/3dfv/env3dfv)pi@raspberrypi:~/3dfv $ pip install bob.measure
Collecting bob.measure
  Using cached bob.measure-2.4.1.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-iiw7OE/bob.measure/setup.py", line 48, in <module>
        boost_modules = boost_modules,
      File "/home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/blitz/extension.py", line 52, in __init__
        BobExtension.__init__(self, *args, **kwargs)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/extension/__init__.py", line 301, in __init__
        bob_includes, bob_libraries, bob_library_dirs, bob_macros = get_bob_libraries(self.bob_packages)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/extension/__init__.py", line 193, in get_bob_libraries
        pkg = importlib.import_module(package)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/importlib/__init__.py", line 37, in import_module
        __import__(name)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/math/__init__.py", line 6, in <module>
        bob.extension.load_bob_library(&#39;bob.math&#39;, __file__)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/extension/__init__.py", line 244, in load_bob_library
        ctypes.cdll.LoadLibrary(full_libname)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary
        return self._dlltype(name)
      File "/home/pi/3dfv/env3dfv/lib/python2.7/ctypes/__init__.py", line 365, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: /home/pi/3dfv/env3dfv/lib/python2.7/site-packages/bob/math/libbob_math.so: undefined symbol: dggsvd3_
    
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-iiw7OE/bob.measure/
  • I have searched for this dggsvd3_ . It appears to be present only in bob.math in file bob/math/cpp/gsvd.cpp
  • Following same request in group https://groups.google.com/forum/#!topic/bob-devel/oYZtVnUaqyM where it's stated that openblas and lapack are required. Both are installed.
  • libopenblas-base: Installed: 0.2.19-3+rpi1 Candidate: 0.2.19-3+rpi1
  • libopenblas-dev: Installed: 0.2.19-3+rpi1 Candidate: 0.2.19-3+rpi1

So could you tell me how to proceed, as this is a blocker right now for me. Thanks in advance. Flavio

Edited by Amir MOHAMMADI