module-init-tools 3.1 build error

Robert Connolly robert at linuxfromscratch.org
Thu Aug 25 03:42:05 PDT 2005


There is a nostatic patch for module-init-utils which uses /lib/libz.so.

robert

On August 25, 2005 05:55 am, Hidden forU wrote:
> Hi,
>
> I'm building HLFS and even though I'm not sure, I think there's a bug
> in zlib install.
>
> I get errors when trying to build module-init-tools 3.1 with zlib
> support: ( I know I should put whole listing but I've booted from LFS
> livecd and don't have clipboard... )
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make: *** [lsmod] Error 1
>
> I was trying to symlink libz.so almost everywhere, but didn't help.
> When I searched .configure to find where it looks for libz library, I
> read:
> # If zlib is required, libz must be linked static, modprobe is in
> # /sbin, libz is in /usr/lib and may not be available when it is run.
>
>
> AFAIK hlfs doesn't install static library... When I looked into LFS,
> static lib is installed.
>
> Can anyone help me? Should I install static lib too?
> TIA
>   D.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



More information about the hlfs-dev mailing list