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?