{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/pyvips/issues/60","repository_url":"https://api.github.com/repos/jcupitt/pyvips","labels_url":"https://api.github.com/repos/jcupitt/pyvips/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/pyvips/issues/60/comments","events_url":"https://api.github.com/repos/jcupitt/pyvips/issues/60/events","html_url":"https://github.com/jcupitt/pyvips/issues/60","id":348511263,"node_id":"MDU6SXNzdWUzNDg1MTEyNjM=","number":60,"title":"pyvips doesn't find libvips.so from LD_LIBRARY_PATH","user":{"login":"jramapuram","id":8204807,"node_id":"MDQ6VXNlcjgyMDQ4MDc=","avatar_url":"https://avatars2.githubusercontent.com/u/8204807?v=4","gravatar_id":"","url":"https://api.github.com/users/jramapuram","html_url":"https://github.com/jramapuram","followers_url":"https://api.github.com/users/jramapuram/followers","following_url":"https://api.github.com/users/jramapuram/following{/other_user}","gists_url":"https://api.github.com/users/jramapuram/gists{/gist_id}","starred_url":"https://api.github.com/users/jramapuram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jramapuram/subscriptions","organizations_url":"https://api.github.com/users/jramapuram/orgs","repos_url":"https://api.github.com/users/jramapuram/repos","events_url":"https://api.github.com/users/jramapuram/events{/privacy}","received_events_url":"https://api.github.com/users/jramapuram/received_events","type":"User","site_admin":false},"labels":[{"id":657151954,"node_id":"MDU6TGFiZWw2NTcxNTE5NTQ=","url":"https://api.github.com/repos/jcupitt/pyvips/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-07T22:35:50Z","updated_at":"2018-08-08T11:53:24Z","closed_at":null,"author_association":"NONE","body":"Setup libvips using:\r\n```bash\r\ncurl -L -O https://github.com/jcupitt/libvips/releases/download/v8.6.5/vips-8.6.5.tar.gz\r\ntar xvf vips-8.6.5.tar.gz\r\ncd vips-8.6.5\r\n./configure --prefix=/home/jramapuram/usr/\r\nmake && make install\r\n```\r\n\r\nVerify:\r\n```bash\r\n-bash-4.1$ ls /home/jramapuram/usr/lib\r\nlibvips.a    libvipsCC.la  libvipsCC.so.42      libvips-cpp.a   libvips-cpp.so     libvips-cpp.so.42.8.4  libvips.so     libvips.so.42.8.4\r\nlibvipsCC.a  libvipsCC.so  libvipsCC.so.42.8.4  libvips-cpp.la  libvips-cpp.so.42  libvips.la             libvips.so.42  pkgconfig\r\n```\r\n\r\nCheck `LD_LIBRARY_PATH`:\r\n```bash\r\n-bash-4.1$  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/jramapuram/usr/lib\r\n-bash-4.1$ env | grep LD\r\nLD_LIBRARY_PATH=/home/jramapuram/cuda-9.1/lib64:/usr/mpi/gcc/openmpi-1.6.5/lib:/home/jramapuram/usr/lib\r\n```\r\n\r\nImport pyvips:\r\n```python\r\nIn [1]: import logging\r\n   ...: logging.basicConfig(level = logging.DEBUG)\r\n   ...: import pyvips\r\n   ...: \r\nDEBUG:pyvips:Binary module load failed: No module named '_libvips'\r\nDEBUG:pyvips:Falling back to ABI mode\r\nDEBUG:pyvips:Loaded lib <cffi.api._make_ffi_library.<locals>.FFILibrary object at 0x2b67c4249780>\r\nDEBUG:pyvips:Loaded lib <cffi.api._make_ffi_library.<locals>.FFILibrary object at 0x2b67c42419b0>\r\nDEBUG:pyvips:Inited libvips\r\n```\r\n\r\nI have also tried:\r\n\r\n1. setup pyvips from source using `bdist_wheel` and compile\r\n2. uninstall and use no-cache option to reinstall pyvips\r\n3. use 8.7.0rc1 release\r\n4. export `PATH` to vips binary (/usr/jramapuram/usr/bin\r\n"},"comment":{"url":"https://api.github.com/repos/jcupitt/pyvips/issues/comments/411379501","html_url":"https://github.com/jcupitt/pyvips/issues/60#issuecomment-411379501","issue_url":"https://api.github.com/repos/jcupitt/pyvips/issues/60","id":411379501,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTM3OTUwMQ==","user":{"login":"jramapuram","id":8204807,"node_id":"MDQ6VXNlcjgyMDQ4MDc=","avatar_url":"https://avatars2.githubusercontent.com/u/8204807?v=4","gravatar_id":"","url":"https://api.github.com/users/jramapuram","html_url":"https://github.com/jramapuram","followers_url":"https://api.github.com/users/jramapuram/followers","following_url":"https://api.github.com/users/jramapuram/following{/other_user}","gists_url":"https://api.github.com/users/jramapuram/gists{/gist_id}","starred_url":"https://api.github.com/users/jramapuram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jramapuram/subscriptions","organizations_url":"https://api.github.com/users/jramapuram/orgs","repos_url":"https://api.github.com/users/jramapuram/repos","events_url":"https://api.github.com/users/jramapuram/events{/privacy}","received_events_url":"https://api.github.com/users/jramapuram/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T11:53:24Z","updated_at":"2018-08-08T11:53:24Z","author_association":"NONE","body":"I'm not using conda here: just `pip`. After an anaconda installation you can use `pip` normally as if it were a base system install."}}
{"actor":{"display_login":"jramapuram"}}