If find_library('erasurecode') in setup.py does not return a library version, try to append it
Bug #1780320 reported by
Ehud Kaldor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyECLib |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am working with Alpine Linux, and their port of python returns the library name, with no version:
~/pyeclib # python
Python 2.7.14 (default, Dec 14 2017, 15:51:29)
[GCC 6.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes.util import find_library
>>> find_library(
'liberasurecode.so'
>>> find_library('c')
'libc.so'
>>>
I've opened a bug to Alpine as well (https:/
To post a comment you must log in.
That's weird, but I'm not sure this is a valid bug or not?
What do the library installation look like on this system?
vagrant@saio:~$ ls -alhF /usr/local/lib/ | grep erasurecode rs_vand. a rs_vand. la* rs_vand. so -> liberasurecode_ rs_vand. so.1.0. 1* rs_vand. so.1 -> liberasurecode_ rs_vand. so.1.0. 1* rs_vand. so.1.0. 1* so.1.5. 0* so.1.5. 0* so.1.5. 0*
-rw-r--r-- 1 root root 539K Aug 8 16:55 liberasurecode.a
-rwxr-xr-x 1 root root 1.1K Aug 8 16:55 liberasurecode.la*
-rw-r--r-- 1 root root 67K Aug 8 16:55 liberasurecode_
-rwxr-xr-x 1 root root 1.1K Aug 8 16:55 liberasurecode_
lrwxrwxrwx 1 root root 31 Aug 8 16:55 liberasurecode_
lrwxrwxrwx 1 root root 31 Aug 8 16:55 liberasurecode_
-rwxr-xr-x 1 root root 47K Aug 8 16:55 liberasurecode_
lrwxrwxrwx 1 root root 23 Aug 8 16:55 liberasurecode.so -> liberasurecode.
lrwxrwxrwx 1 root root 23 Aug 8 16:55 liberasurecode.so.1 -> liberasurecode.
-rwxr-xr-x 1 root root 268K Aug 8 16:55 liberasurecode.