[geeks] C compiler won't create executables ..WTF?

Jonathan C. Patschke jp at celestrion.net
Thu May 23 20:23:10 CDT 2002


On Thu, 23 May 2002, Mike Nicewonger wrote:

> configure:8750: checking for gzsetparams in -lz
> configure:8769: gcc -o conftest -g -O2   conftest.c -lz   1>&5
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status

*lightbulb*

Did you -just- install zlib?

Do (as root):

  ldconfig -v
  ldconfig -v

(yes, do it twice)

HTH,

--Jonathan



More information about the geeks mailing list