Skip to content

libparasail.so in LD_LIBRARY_PATH not found during installation #26

Closed
@HenrikBengtsson

Description

@HenrikBengtsson

I've installed the parasail library separately such that I have libparasail.so on the LD_LIBRARY_PATH:

$ echo $LD_LIBRARY_PATH
/home/alice/parasail-2.2.0-manylinux1_x86_64/lib

$ ls -l /home/alice/parasail-2.2.0-manylinux1_x86_64/lib
total 90992
-rw-r--r-- 1 henrik cbc 58275618 Jul 10 14:58 libparasail.a
-rwxr-xr-x 1 henrik cbc      979 Jul 10 14:58 libparasail.la
lrwxrwxrwx 1 henrik cbc       20 Sep  6 09:18 libparasail.so -> libparasail.so.3.2.0
lrwxrwxrwx 1 henrik cbc       20 Sep  6 09:18 libparasail.so.3 -> libparasail.so.3.2.0
-rwxr-xr-x 1 henrik cbc 34891609 Jul 10 14:58 libparasail.so.3.2.0
drwxr-xr-x 2 henrik cbc       34 Jul 10 14:58 pkgconfig

However, whenever I attempt to install the parasail Python package, it does not find it. Instead it attempts to download it;

$ pip install parasail
Collecting parasail                                                                           
  Using cached https://files.pythonhosted.org/packages/64/e5/b7b0ab11296923be15dbdbcfb4dd79dc427b5b52a7de9716aa64548afdf7/parasail-1.1.12.tar.gz
Requirement already satisfied: numpy in ./lib/python2.7/site-packages (from parasail) (1.15.1)                        
Building wheels for collected packages: parasail                                                     
  Running setup.py bdist_wheel for parasail ... error                                   
  Complete output from command /home/cbctest2/foo2/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/cbctest2/pip-install-RRW3rS/parasail/setup.py';f=getattr(tokenize, 'open', open)(__file__
);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/cbctest2/pip-wheel-I7PfIs --python-tag cp27:
  running bdist_wheel                                                                                     
  parasail/libparasail.so not found, attempting to build                                                          
  Downloading latest parasail master
  [...]

Is this expected/not supported?

This is on:

$ python --version
Python 2.7.9

(Yes, it's old, but I don't this that's related to the problem)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions