Conan installer does not work on RTFD site
- Dominant language
- Python
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
My attempts to [provide an installer for the shared Blosc library](https://github.com/Blosc/pycblosc/blob/master/setup.py#L7) ended with the RTFD not being able to recognize the shared libraries. Here are the [RTFD logs](https://readthedocs.org/projects/pycblosc/builds/6831663/):
```
/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/checkouts/latest/docs/api.rst:4: WARNING: autodoc: failed to import module 'pycblosc'; the following exception was raised:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 658, in import_object
__import__(self.modname)
File "/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/checkouts/latest/pycblosc/pycblosc.py", line 64, in
C = ffi.dlopen("blosc")
File "/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/cffi/api.py", line 141, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/cffi/api.py", line 802, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/cffi/api.py", line 797, in _load_backend_lib
raise OSError(msg)
OSError: ctypes.util.find_library() did not manage to locate a library called 'blosc'
```
Apparently, the shared library is correctly downloaded from conan-center and copied to package destination:
```
creating /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
copying build/lib/pycblosc/pycblosc.py -> /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
copying build/lib/pycblosc/libblosc.so.1 -> /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
copying build/lib/pycblosc/libblosc.so.1.14.0 -> /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
copying build/lib/pycblosc/__init__.py -> /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
copying build/lib/pycblosc/libblosc.so -> /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc
byte-compiling /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc/pycblosc.py to pycblosc.cpython-35.pyc
byte-compiling /home/docs/checkouts/readthedocs.org/user_builds/pycblosc/envs/latest/lib/python3.5/site-packages/pycblosc/__init__.py to __init__.cpython-35.pyc
```
The current configuration works flwalessly on my Mac box, so my current guess is that there should be a problem of the C-Blosc shared library for Linux not being compatible with all the Linux out there. Perhaps @lasote could shed some light here?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.