Re: compile question
Debian Mail wrote:
>
> Hey Users,
> Ghost here.
> I have a compile question. I'm compiling gnubile and am running
> into a compile problem. A good bit into my make, I am getting an error:
>
> make[2]: Entering directory `/root/gnubile-0.31-pre/src'
> gcc -g -O2 -Wall -o gnubile main.o support.o interface.o callbacks.o admin.o download.o monitor.o search.o network.o stream_cli.o stream_serv.o stream_sched.o hexdump.o stream_log.o http.o textutils.o log.o ip.o dl.o uuid.o random.o atomicio.o bsd-misc.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxml -lz
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[2]: *** [gnubile] Error 1
> make[2]: Leaving directory `/root/gnubile-0.31-pre/src'
> make[1]: *** [all-recursive] Error 1
>
> I am unsure what this -lz is trying to do and how I correct this.
> Any help much appriciated.
apt-get install zlib1g zlib1g-dev
should do the trick, you may have to run ldconfig(as root) before runnin
make again.
nate
--
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org
Reply to: