6.13.1. Installation of Zlib
robert at linuxfromscratch.org
Sat Feb 9 13:32:23 PST 2008
On Saturday February 9 2008 03:27:36 am marty wrote:
> >> > will this actually work as intended or does it need a 'udpate'.
> >> >
> >>> > > sed '0,/^# udpate Makefile/s//CFLAGS="$CFLAGS \\\
> >>> > > -Wall -Wformat-security -Wwrite-strings -Wpointer-arith \\\
> >>> > > -Wstrict-prototypes -Wmissing-prototypes -Werror
> >>> > > -Wfatal-errors"\n&/' \ -i.orig configure
> > It still works. It's probably the only -Werror that still works.
> good, but it still would look better if you correct that spelling error:)
> I was trying to figure out why libz.a was not to be found. (MyDNS won't
> build without it). the --shared flag omits it, so I had to build it. MyDNS
> is very useful so I want to fix it to use the shared lib, but I got
> befuddled so far.
In the makefile replace libz.a with -lz, or replace -Bstatic with -Bdynamic.
Packagers sometimes use static libraries for weird reasons, like in case
libz.so is in /usr/lib and /usr isn't mounted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the hlfs-dev