Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2012 17:24:20 +0100
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Stephen Montgomery-Smith <stephen@missouri.edu>
Cc:        ports@freebsd.org, Stephen Montgomery-Smith <stephen@freebsd.org>
Subject:   Re: Problem with ldconfig detecting libraries installed by devel/gdcm
Message-ID:  <20120102162420.GC14220@gahrfit.gahr.ch>
In-Reply-To: <4EF8C21A.6090604@missouri.edu>
References:  <4EF8C21A.6090604@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120102162420.GC14220>