From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: [dxvk] How to set RPATH with Meson? Date: Wed, 25 Mar 2020 15:02:07 +0100 Message-ID: <87h7ycy1ls.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59255) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH6br-0007Ea-HA for help-guix@gnu.org; Wed, 25 Mar 2020 10:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jH6bm-0002bn-7E for help-guix@gnu.org; Wed, 25 Mar 2020 10:02:19 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:38933) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jH6bm-0002YZ-10 for help-guix@gnu.org; Wed, 25 Mar 2020 10:02:14 -0400 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id AFDE240010 for ; Wed, 25 Mar 2020 14:02:09 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! I'm trying to update DXVK to 1.6 and it now ships a new d3d10core.dll.so on which its other libraries depend. Thus RUNPATH verification fails: =2D-8<---------------cut here---------------start------------->8--- validating RUNPATH of 6 binaries in "/gnu/store/d78ivdn8y5idyzikidmm7jmpi5p= nkrxl-dxvk32-1.6/lib"... /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10.dll.so: er= ror: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/gnu= /store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5a2= 5sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyqan= svwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg3d= pwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../= ../..") /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10_1.dll.so: = error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/g= nu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5= a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyq= ansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg= 3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/.= ./../..") =2D-8<---------------cut here---------------end--------------->8--- I tried passing the following arguments: =2D-8<---------------cut here---------------start------------->8--- (string-append "-Dc_link_args=3D-Wl,-rpath=3D" (assoc-ref %outputs "out") "/lib") (string-append "-Dcpp_link_args=3D-Wl,-rpath=3D" (assoc-ref %outputs "out") "/lib") =2D-8<---------------cut here---------------end--------------->8--- Didn't work. Any idea where to go from here? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl57ZF8ACgkQm9z0l6S7 zH+MIggApIRGuYKKk4I3A+3Q7eyaKQV7wCUgZdtFVJFwmWz9I2pPgA5vWwFV187P NlhRYQzI+9HguUfUeq4SmEI18QENnXS5M5blvhoehwi2eKd49rx+RxvC0JB8YwC7 SsXBpsqnzaibxhA8bcfr10r8DmWEAf9WmYIbS2PAwNbgkEWK+shodduD3CqyX+8U t5I6Mh1Ez8hsSUZe30W8F0ZCIFpobQGxyiAIwb3DCddvxkO6z0hYTQiRCRnYI3DW laagLwK3qDLs/ydL0aLsjtuiBFvUhDcQcpGKQppQgeMvut1wCX5rlEeWSmGSFDNx 8ogbZrAb+5cl/WmplTD2eFY9vZ/lwg== =3wdv -----END PGP SIGNATURE----- --=-=-=--