Print

Print


To expand on this a bit using the Dockerfile built with a virtual environment image:

```console
$ docker run --rm -ti xrootd/xrootd:issue-1668 /bin/bash -c 'objdump -x $(find -L /usr/local/venv/lib -type f -iname "libXrdUtils.so.3")  | grep RUNPATH'
  RUNPATH              $ORIGIN
```

and as `git grep rpath` shows

https://github.com/xrootd/xrootd/blob/3b340504944d280b833711bfb351c38f10e8f1c2/bindings/python/setup.py.in#L29-L30

where

https://github.com/xrootd/xrootd/blob/4e9b15df462cc985bc1128ad4aa161abdd55376e/bindings/python/CMakeLists.txt#L12-L16

which was all set in 6fba5b08c233b237dd7bacaf7ac66f8babf172bd, so maybe @simonmichal has some general thoughts or recommendations here on how to get `RUNPATH` set properly if just doing an install from the `sdist` on PyPI.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1668#issuecomment-1089109512
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1