lzip-bug
[Top][All Lists]
Advanced

[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: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] "ldconfig -n" doesn't work on some OS (lzlib)
Date: Thu, 03 Oct 2013 17:52:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Juan.

Juan Francisco Cantero Hurtado wrote:
Some versions of ldconfig doesn't support the switch "-n". Look:
http://www.openbsd.org/cgi-bin/man.cgi?query=ldconfig&apropos=0&sektion=0&manpath=OpenBSD+5.3&arch=i386&format=html
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 options.

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

[2]http://www.gnu.org/software/make/manual/html_node/Utilities-in-Makefiles.html


Best regards,
Antonio.



reply via email to

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