{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/8437","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/8437/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/8437/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/8437/events","html_url":"https://github.com/systemd/systemd/issues/8437","id":304602240,"number":8437,"title":"wrong rpath in compiled libraries and binaries","user":{"login":"Char-Aznable","id":32589713,"avatar_url":"https://avatars1.githubusercontent.com/u/32589713?v=4","gravatar_id":"","url":"https://api.github.com/users/Char-Aznable","html_url":"https://github.com/Char-Aznable","followers_url":"https://api.github.com/users/Char-Aznable/followers","following_url":"https://api.github.com/users/Char-Aznable/following{/other_user}","gists_url":"https://api.github.com/users/Char-Aznable/gists{/gist_id}","starred_url":"https://api.github.com/users/Char-Aznable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Char-Aznable/subscriptions","organizations_url":"https://api.github.com/users/Char-Aznable/orgs","repos_url":"https://api.github.com/users/Char-Aznable/repos","events_url":"https://api.github.com/users/Char-Aznable/events{/privacy}","received_events_url":"https://api.github.com/users/Char-Aznable/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T02:05:35Z","updated_at":"2018-03-13T07:47:16Z","closed_at":"2018-03-13T07:47:16Z","author_association":"NONE","body":"### Submission type\r\n\r\n<!-- Delete the inappropriate option below: -->\r\n\r\n - Bug report\r\n\r\n<!-- **NOTE:** Do not submit anything other than bug reports or RFEs via the issue tracker! -->\r\n\r\n### systemd version the issue has been seen with\r\n\r\n> 238\r\n\r\n<!-- **NOTE:** Do not submit bug reports about anything but the two most recently released systemd versions upstream! -->\r\n<!-- For older version please use distribution trackers (see https://github.com/systemd/systemd/blob/master/.github/CONTRIBUTING.md#filing-issues). -->\r\n\r\n### Used distribution\r\n\r\n> CentOS release 6.8 (Final)\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\n> installation failed with: \r\n/home/aznb/.linuxbrew/Cellar/systemd/238/bin/journalctl: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory\r\n```\r\nldd /home/aznb/.linuxbrew/Cellar/systemd/238/bin/journalctl\r\n        linux-vdso.so.1 (0x00007ffd8bdb2000)\r\n        libsystemd-shared-238.so => /home/aznb/.linuxbrew/Cellar/systemd/238/lib/systemd/libsystemd-shared-238.so (0x00007f3660238000)\r\n        libpthread.so.0 => /home/aznb/.linuxbrew/Cellar/glibc/2.23/lib/libpthread.so.0 (0x00007f366001b000)\r\n        libc.so.6 => /home/aznb/.linuxbrew/Cellar/glibc/2.23/lib/libc.so.6 (0x00007f365fc7b000)\r\n        librt.so.1 => /home/aznb/.linuxbrew/Cellar/glibc/2.23/lib/librt.so.1 (0x00007f365fa73000)\r\n        /home/aznb/.linuxbrew/lib/ld.so (0x00007f366069b000)\r\n        libcap.so.2 => not found\r\n        libgcrypt.so.20 => not found\r\n        libidn.so.11 => not found\r\n        liblzma.so.5 => not found\r\n        libblkid.so.1 => not found\r\n        libmount.so.1 => not found\r\n```\r\nHowever, ldd on the journalctl in the build directory looks fine:\r\n```\r\nldd build/journalctl\r\n        linux-vdso.so.1 (0x00007fffc3cf3000)\r\n        libsystemd-shared-238.so => /scratch/tmp/systemd-238/build/src/shared/libsystemd-shared-238.so (0x00007f241c5db000)\r\n        libpthread.so.0 => /home/aznb/.linuxbrew/lib/libpthread.so.0 (0x00007f241c3be000)\r\n        libc.so.6 => /home/aznb/.linuxbrew/lib/libc.so.6 (0x00007f241c01e000)\r\n        librt.so.1 => /home/aznb/.linuxbrew/lib/librt.so.1 (0x00007f241be16000)\r\n        libcap.so.2 => /home/aznb/.linuxbrew/lib/libcap.so.2 (0x00007f241bc10000)\r\n        libgcrypt.so.20 => /home/aznb/.linuxbrew/lib/libgcrypt.so.20 (0x00007f241b8f3000)\r\n        libidn.so.11 => /home/aznb/.linuxbrew/lib/libidn.so.11 (0x00007f241b6c0000)\r\n        liblzma.so.5 => /home/aznb/.linuxbrew/lib/liblzma.so.5 (0x00007f241b49b000)\r\n        libblkid.so.1 => /home/aznb/.linuxbrew/lib/libblkid.so.1 (0x00007f241b253000)\r\n        libmount.so.1 => /home/aznb/.linuxbrew/lib/libmount.so.1 (0x00007f241b001000)\r\n        /home/aznb/.linuxbrew/lib/ld.so (0x00007f241ca3e000)\r\n        libgpg-error.so.0 => /home/aznb/.linuxbrew/lib/libgpg-error.so.0 (0x00007f241aded000)\r\n        libuuid.so.1 => /home/aznb/.linuxbrew/lib/libuuid.so.1 (0x00007f241abe8000)\r\n```\r\n\r\n### In case of bug report: Steps to reproduce the problem\r\n\r\n> \r\nmeson build \\\r\n-Drootprefix=/home/aznb/.linuxbrew/Cellar/systemd/238 \\\r\n-Drootlibdir=/home/aznb/.linuxbrew/Cellar/systemd/238/lib \\\r\n-Dsysvinit-path=/home/aznb/.linuxbrew/Cellar/systemd/238/etc/init.d \\\r\n-Dsysvrcnd-path=/home/aznb/.linuxbrew/Cellar/systemd/238/etc/rc.d \\\r\n--prefix=/home/aznb/.linuxbrew/Cellar/systemd/238 \\\r\n--libdir=/home/aznb/.linuxbrew/Cellar/systemd/238/lib \\\r\n--localstatedir=/home/aznb/.linuxbrew/var \\\r\n--sysconfdir=/home/aznb/.linuxbrew/Cellar/systemd/238/etc \\\r\n--buildtype=release \\\r\n--backend=ninja\r\nninja -v -j 18 -C build\r\nninja -v -C build install\r\n\r\nI also tried ```export LDFLAGS=\"-Wl,-rpath,/home/aznb/.linuxbrew/lib\"``` before meson build and it gave the same error.\r\n\r\nHere's the stdout and stderr from the commands above:\r\n\r\n[buildlog.txt](https://github.com/systemd/systemd/files/1805436/buildlog.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/372575488","html_url":"https://github.com/systemd/systemd/issues/8437#issuecomment-372575488","issue_url":"https://api.github.com/repos/systemd/systemd/issues/8437","id":372575488,"user":{"login":"keszybz","id":349618,"avatar_url":"https://avatars1.githubusercontent.com/u/349618?v=4","gravatar_id":"","url":"https://api.github.com/users/keszybz","html_url":"https://github.com/keszybz","followers_url":"https://api.github.com/users/keszybz/followers","following_url":"https://api.github.com/users/keszybz/following{/other_user}","gists_url":"https://api.github.com/users/keszybz/gists{/gist_id}","starred_url":"https://api.github.com/users/keszybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keszybz/subscriptions","organizations_url":"https://api.github.com/users/keszybz/orgs","repos_url":"https://api.github.com/users/keszybz/repos","events_url":"https://api.github.com/users/keszybz/events{/privacy}","received_events_url":"https://api.github.com/users/keszybz/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T07:47:16Z","updated_at":"2018-03-13T07:47:16Z","author_association":"OWNER","body":"We don't really support anything except installing systemd as /usr/lib/systemd/systemd or /lib/systemd/systemd. So installing somewhere else with rpath set it outside of the scope of what we support. As @asavah said, setting custom rpaths seems to be generic issue (RFE?) with meson, so I'll close this."}}
{"actor":{"display_login":"keszybz"}}