From owner-freebsd-ports@FreeBSD.ORG Mon Jan 2 18:02:13 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 570F2106566B; Mon, 2 Jan 2012 18:02:13 +0000 (UTC) (envelope-from gahr@gahr.no-ip.org) Received: from cpanel05.rubas-s05.net (cpanel05.rubas-s05.net [195.182.222.75]) by mx1.freebsd.org (Postfix) with ESMTP id CB4F78FC14; Mon, 2 Jan 2012 18:02:12 +0000 (UTC) Received: from 175-3.192-178.cust.bluewin.ch ([178.192.3.175] helo=gahr.no-ip.org) by cpanel05.rubas-s05.net with esmtpa (Exim 4.69) (envelope-from ) id 1RhkgO-0007zX-T1; Mon, 02 Jan 2012 17:24:20 +0100 Received: by gahr.no-ip.org (Postfix, from userid 1001) id 7882445033; Mon, 2 Jan 2012 17:24:20 +0100 (CET) Date: Mon, 2 Jan 2012 17:24:20 +0100 From: Pietro Cerutti To: Stephen Montgomery-Smith Message-ID: <20120102162420.GC14220@gahrfit.gahr.ch> References: <4EF8C21A.6090604@missouri.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <4EF8C21A.6090604@missouri.edu> X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel05.rubas-s05.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.no-ip.org X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org, Stephen Montgomery-Smith Subject: Re: Problem with ldconfig detecting libraries installed by devel/gdcm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gahr@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 18:02:13 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stephen, I have fixed this issue in the new version of the gdcm port (2.2.0), which I have committed a few minutes ago. Thanks for pointing this out! Kind Regards, On 2011-Dec-26, 12:51, Stephen Montgomery-Smith wrote: > I want to create a port that uses devel/gdcm as a dependency. But writin= g: > LIB_DEPENDS+=3D gdcmCommon:${PORTSDIR}/devel/gdcm > doesn't work. It does build the port, but it fails to detect that the=20 > port is installed. >=20 > I notice that when I type: > ldconfig -r | grep gdcm > that it doesn't find the installed libraries. But this can be fixed by= =20 > doing > ln -s libgdcmCommon.so.2.0.18 libgdcmCommon.so.2 > Note that the devel/gdmc port only installs > libgdcmCommon.so.2.0.18 libgdcmCommon.so.2.0 libgdcmCommon.so >=20 > I contacted the port maintainer a few days ago, and this email is copied= =20 > to him. But I would also like to submit a PR that includes a fix so=20 > that his job is easier. >=20 > But I am unsure what is the "officially correct" way to fix this? Is it= =20 > a bug in ldconfig? Or should the port create these links? Or were the= =20 > original writers of gdcm incorrect when the specify a major version=20 > number that includes a period? >=20 > Thanks, Stephen > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk8B2jMACgkQwMJqmJVx9460IACfSHCM2PVLgwWU/hkeQdaobS4y Kx0AoMoQhTEbhLKsKJAZxU3m7p1aCvmL =KWFA -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--