From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.224.111.196 with SMTP id t4mr13165300qap.8.1421438852954; Fri, 16 Jan 2015 12:07:32 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 10.140.106.71 with SMTP id d65ls1611219qgf.17.gmail; Fri, 16 Jan 2015 12:07:32 -0800 (PST) X-Received: by 10.140.94.74 with SMTP id f68mr37381qge.13.1421438852807; Fri, 16 Jan 2015 12:07:32 -0800 (PST) Date: Fri, 16 Jan 2015 12:07:32 -0800 (PST) From: Juan RP To: voidlinux@googlegroups.com Message-Id: <762da557-f681-4b50-aa04-81af2b4384d2@googlegroups.com> In-Reply-To: <21529b03-5a50-4a33-bec5-1764559c7050@googlegroups.com> References: <21529b03-5a50-4a33-bec5-1764559c7050@googlegroups.com> Subject: Re: Libraries in program-packages? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_91_1591720691.1421438852456" ------=_Part_91_1591720691.1421438852456 Content-Type: multipart/alternative; boundary="----=_Part_92_845862958.1421438852456" ------=_Part_92_845862958.1421438852456 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, - Adding the missing shared libraries to the package into a private directory and using LD_LIBRARY_PATH is perfectly fine, you can create a wrapper to set up this. - Another way would be using `patchelf` to add a RPATH to the binary, this way you wouldn't need to use LD_LIBRARY_PATH. To make `xbps-src` ignore the unmet shared libraries you can set `allow_unknown_shlibs=1` in the template to ignore them. Either way you'll have to add the missing shared libraries into the package. ------=_Part_92_845862958.1421438852456 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Hi,

- Adding the missing shared libraries to the package into a private directory and using LD_LIBRARY_PATH is perfectly fine,
  you can create a wrapper to set up this.

- Another way would be using `patchelf` to add a RPATH to the binary, this way you wouldn't need to use LD_LIBRARY_PATH.

To make `xbps-src` ignore the unmet shared libraries you can set `allow_unknown_shlibs=1` in the template to ignore them.

Either way you'll have to add the missing shared libraries into the package.
------=_Part_92_845862958.1421438852456-- ------=_Part_91_1591720691.1421438852456--