[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] "ldconfig -n" doesn't work on some OS (lzlib)

From: Juan Francisco Cantero Hurtado
Subject: Re: [Lzip-bug] "ldconfig -n" doesn't work on some OS (lzlib)
Date: Thu, 03 Oct 2013 19:21:20 +0200
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/03/13 17:52, Antonio Diaz Diaz wrote:
Hello Juan.

Juan Francisco Cantero Hurtado wrote:
Some versions of ldconfig doesn't support the switch "-n". Look:

The file Makefile.in of lzlib uses this option:

if [ $${run_ldconfig} = yes ] && [ -x "$(LDCONFIG)" ] ; then
"$(LDCONFIG)" -n "$(DESTDIR)$(libdir)" ; fi ;

It seems there are at least three flavors of ldconfig. One accepts '-n',
another one seems to need '-m'[1], and a third seems to work without

[1] https://forums.freebsd.org/showthread.php?t=1456

I'm going to arrange the makefile to ignore errors from ldconfig, as
advised in the manual of GNU Make[2]. Do you propose some other fix?

No. I'm using a patch to delete the contitional with run_ldconfig:


Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]