module init tools

Justin justinwhelan at tiscali.co.uk
Wed Jan 4 14:05:00 PST 2006


hi,

i am getting a strange error when attempting to compile 
module-init-tools towards the end of section 10. the error in full is:

CC="gcc ${BUILD64}" ./configure --prefix="/" --enable-zlib
[.. works fine..]
make
gcc -m64  -g -O2 -Wunused -Wall   -o lsmod  lsmod.o -Wl,-Bstatic -lz 
-Wl,-Bdynamic
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [lsmod] Error 1

libz.so is in /usr/lib and /usr/lib64 and point to /lib and /lib64 
respectively. they are correct links and point to /lib/libz.so.1.2.3 and 
/lib64/libz.1.2.3

anyone with any ideas?

thanks in advance

Justin Whelan



More information about the cross-lfs mailing list