Problem with ldconfig detecting libraries installed by
devel/gdcm
Pietro Cerutti
gahr at FreeBSD.org
Mon Jan 2 18:02:13 UTC 2012
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 writing:
> LIB_DEPENDS+= gdcmCommon:${PORTSDIR}/devel/gdcm
> doesn't work. It does build the port, but it fails to detect that the
> port is installed.
>
> I notice that when I type:
> ldconfig -r | grep gdcm
> that it doesn't find the installed libraries. But this can be fixed by
> 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
>
> I contacted the port maintainer a few days ago, and this email is copied
> to him. But I would also like to submit a PR that includes a fix so
> that his job is easier.
>
> But I am unsure what is the "officially correct" way to fix this? Is it
> a bug in ldconfig? Or should the port create these links? Or were the
> original writers of gdcm incorrect when the specify a major version
> number that includes a period?
>
> Thanks, Stephen
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120102/ccfcce22/attachment.pgp
More information about the freebsd-ports
mailing list