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.
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug