[Rpm-maint] [rpm-software-management/rpm] Add runtime_library_dirs for custom prefix. (#348)

Jun Aruga notifications at github.com
Mon Nov 6 12:08:44 UTC 2017


> Is RPATH being removed on installation?

Where is `RPATH` on installation?
At least on latest current master branch, `import rpm` becomes the error without `LD_LIBRARY_PATH`.

```
$ python3 -c 'import rpm; print(rpm.__version__)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/python-3.6.2/lib/python3.6/site-packages/rpm/__init__.py", line 38, in <module>
    from rpm._rpm import *
ImportError: librpm.so.8: cannot open shared object file: No such file or directory

$ LD_LIBRARY_PATH=$HOME/git/rpm/dest/lib python3 -c 'import rpm; print(rpm.__version__)'
4.14.90
```

I also do not see `-rpath` in `$ python3 setup.py build`.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/348#issuecomment-342130107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171106/a21e35bb/attachment.html>


More information about the Rpm-maint mailing list