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

No. I'm using a patch to delete the contitional with run_ldconfig:
https://github.com/jasperla/openbsd-wip/blob/43555f7f10a0b40fe997c779a2eef2187267806b/archivers/lzip/lzlib/patches/patch-Makefile_in


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