From owner-freebsd-ports@freebsd.org Wed Jul 29 05:43:11 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACCDB9AE26F; Wed, 29 Jul 2015 05:43:11 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B50AEB; Wed, 29 Jul 2015 05:43:11 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by wicmv11 with SMTP id mv11so204296052wic.0; Tue, 28 Jul 2015 22:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-type; bh=nrCgU+woiqLjsAI1WLpYp0+1uzBxCSQ4HNcf2tnRI5Q=; b=GDde+TRjzYvU1QYAxCB0adBf2TgJ5mPsGJXJejuyzjFisfAhfZkfnEJ3sYqRfcIzHg ZrtESdTh9/5v0q3mN2gdDtEHtDXE2Ii+pXdIkAYrCbr07BuZ5e0SvnsEnmiaxZZ2LtUQ yo68orsEln3J+QcDNt84Z2U8AbCMoqA0P5kU3ZY805hWA8r1jumu5bzU8iG1jzhVs6i/ nkf7W58M1MXB0lDuEfJVLi07bNv4ua/JLPfXHfoRrT/UrmLoLWZjNaDNANVnAQlBRkZg WKJICL+0MnFr+2Acqbl6AsH+khmxiXwatkyYrukvH2gEAnIbJGi1U38v5Xe7YBm0yU1l sDpw== X-Received: by 10.194.59.98 with SMTP id y2mr73551207wjq.42.1438148589736; Tue, 28 Jul 2015 22:43:09 -0700 (PDT) Received: from dragon.local ([197.87.118.153]) by smtp.googlemail.com with ESMTPSA id ib9sm36619829wjb.2.2015.07.28.22.43.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 22:43:08 -0700 (PDT) Sender: David Naylor From: David Naylor To: Bryan Drewery Cc: FreeBSD Mailing List , freebsd-python@freebsd.org, Bartek Rutkowski Subject: Re: The mystery of the missing library. Date: Wed, 29 Jul 2015 07:43:04 +0200 Message-ID: <1893527.jXAJsDybeg@dragon.local> Organization: FreeBSD User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p10; KDE/4.14.3; amd64; ; ) In-Reply-To: <55B81985.3000601@FreeBSD.org> References: <2883201.vcG9JJBxrl@dragon.local> <55B81985.3000601@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9525389.Oapfe8Yhex"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 05:43:11 -0000 --nextPart9525389.Oapfe8Yhex Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, 28 July 2015 17:08:37 Bryan Drewery wrote: > On 7/28/15 11:46 AM, David Naylor wrote: > > Why would the shared library be found when using a relative path but not > > when using an absolute path? Is this a bug in FreeBSD? > > What is the output for readelf? > > readelf -d `which pypy`|grep -i libr ``` # readelf -d `which pypy` | grep -i libr 0x0000000000000001 (NEEDED) Shared library: [libpypy-c.so] 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x000000000000000f (RPATH) Library rpath: [$ORIGIN/] 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/] ``` --nextPart9525389.Oapfe8Yhex Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJVuGfoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5NDhFQzUxMUEyN0YwMzAyRTc5OUI1M0FB RDYzRkE4REQ2QjJEQTU1AAoJEK1j+o3WstpVfUoP/ivSUocPTEJ1yKbhDg+4Ll+R ZX23HN6tK1c0Us2FRKtLyucn1zFIsvxl3xQVW3h1U4kT4JYLOglGSWh1LciO9/Ub 4J/rsnKXGdwIiooZrI/mPveBAEKDuUQVxAfMb61sbq3ZRVnNRNW8H8ZVdTHFWEVJ Nbm+dWA5NoFDZ2ZO8unt7H+h+PzzI4PMMNPJh071QBPq5Ro2Hi6cX6lfGvFml1Mr Cu+Gth9gRDMkqvOOC8+tqi2qXwWQBP39s43hAY9Jv2Kq+dyQv5i2gEmWvGkOXAxS O3KfovYz/XHkgQ56Qf3UuE+MQQA+lwoDfhhPm/n8Ik7eIsBqAywlkEu9gicK5c/y g9wUROEbLjTgy7xjaqsKfeRPAigDWwpmHjj2HuJm9hdsjgZp6wJfaMSGQJMjivuz zxc8AObxRciVugmM2wrN6pyHpzcu/hzV5dZGr1NzZowWoUEXtWa7FICXef5sbZCm CMJwt9hUfSAcC+jzVPsrLcqBiUTnwRdmh4WjYMCJ7xUJh8bkKViXZ1OLWkxOuWrs LzT4CACbXReyD1Jgh4FqsRPMMnJCxoJ6SLAsMbAU5GsuXWU63TKS6IIXUEbTyq1t o58q+hkzWBHak7/MKkfFyTDxdPIy3Ei6CJN5dmVZSp2dwTUxm9bHHVOFZx+GmAIv cPAvTH4Jf8I68FlmjKJD =CZIW -----END PGP SIGNATURE----- --nextPart9525389.Oapfe8Yhex--