From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: [PATCH] gnu: rustc: Add LIBRARY_PATH search path. Date: Sat, 28 Jan 2017 17:57:15 -0800 Message-ID: <87vasytypw.fsf@gmail.com> References: <20170127120213.3746-1-donttrustben@gmail.com> <20170127120213.3746-2-donttrustben@gmail.com> <87inp01cfi.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <37744b8c-255c-28d0-04c1-9385f384d473@uq.edu.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXek8-0001Ad-Lp for guix-devel@gnu.org; Sat, 28 Jan 2017 20:57:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXek5-0004m9-KJ for guix-devel@gnu.org; Sat, 28 Jan 2017 20:57:24 -0500 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:33081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXek5-0004lv-DL for guix-devel@gnu.org; Sat, 28 Jan 2017 20:57:21 -0500 Received: by mail-pg0-x242.google.com with SMTP id 194so28308295pgd.0 for ; Sat, 28 Jan 2017 17:57:19 -0800 (PST) In-Reply-To: <37744b8c-255c-28d0-04c1-9385f384d473@uq.edu.au> (Ben Woodcroft's message of "Sat, 28 Jan 2017 09:26:44 +1000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ben Woodcroft Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ben Woodcroft writes: > I didn't have any problem compiling and linking pure rust programs -=20 > that commit fixed that issue, but when trying to link rust programs to > non-rust libraries such as zlib the linker did not look in the lib of > the profile (unless gcc was also in the profile, I guess). I was > specifically looking to include rust-htslib in a crate I am building, > to be concrete. I'm not too familiar with rust, but isn't the linker supposed to look in the store, not in your user profiler? My understanding is that we usually don't want to compose components dynamically like that, since it causes problems (e.g., incomplete deployment due to "missing" stuff in the user's profile). =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAliNS/sACgkQ3UCaFdgi Rp3vIBAAtsIlsNGpRx9EcHdQ9gf5/rNpg58UfeC3FH1qY/JeLlQu6HMJFDMOt6xc SWzIESaMfCTNuqr4HjSzCP+KYa1kvnELQkUNSJj/0ImSuRHWOSFiz6C2ysLEu9Ov n2kwKu0FYbd/XZuF/t/o3Gtj+2G56ZDLpfUgm97oc2Q2Rx9sm10X9BkFH3kRh5sm 8URiKGZuUGfE2J1TlSOAIvU/ZrP/l7VgQLxhRF/MGV4iJELQEwlKrmTBv81MRsY7 6hquCjgOs94djFxQrTqvH03vTBoW48EStFBH8mYrTauRDJEScHm5SU1KEzsbXZAr F9F1LzZyrs7qqLbmuIOrCvCGFbSWu4NjGfSqLgXSjuokb/dOTDjX2q27eT0Ubvi0 GspURvi6pUCE4i1T3r95mYqASe9t7RNOXFjN4EHNJ2prb3hX6QUt7FQ2sdl5PBJq /n3GAJpkIcwMRzEh4fH8/SPw6eUB8Q78gr0mASNo7U8GB+LQG5yq+jDUtBRcEhmZ 39+0q5/iWaEl7R0mR3GVwR+08bV6wzJUinLxcESahQEinlKbIXFq9W3USHi9nlMZ VLbB+9kOOlXFluPOHzvd/LfWBCvWZ8jj1jEaKmHRTokQoxAO64UGFdksl2ZoXb3R CufAKHDB5N2Ewu3Ljd54o0CxaM64sB4ISqg+OH/MRLhOObfAe+k= =dGkT -----END PGP SIGNATURE----- --=-=-=--