Questions about ldconfig
Baptiste Daroussin
bapt at FreeBSD.org
Sat Mar 9 21:49:46 UTC 2013
On Sat, Mar 09, 2013 at 03:21:00PM -0600, Stephen Montgomery-Smith wrote:
> I am looking at committing a port which creates the following files:
>
> /usr/local/lib/libGmsh.so
> /usr/local/lib/libGmsh.so.0
> /usr/local/lib/libGmsh.so.2.7
> /usr/local/lib/libGmsh.so.2.7.0
>
> libGmsh.so is a link to libGmsh.so.0, which is a link to libGmsh.so.2.7,
> which is a link to libGmsh.so.2.7.0.
>
> My concern is that this will confuse ldconfig. Is my concern justified?
It will not confuse the os at all but it will confuse ldconfig -r which is not
able to list libraries ending with more that one digit. Which is just
informational, so not a big deal except that bsd.port.mk is not clever enough to
correctly deal with libraries. so only detection from ports will be confused,
all the rest will work.
https://wiki.freebsd.org/ports/fix_lib_depends
for more details
regards,
Bapt
-------------- 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/20130309/fb4063b1/attachment.sig>
More information about the freebsd-ports
mailing list