On Sat, 1 Apr 2006, Karl Heyes wrote:> marco chrappan wrote: >>> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: >>> cannot find -lz> one of the libraries that icecast is using (eg libxml2) has been built to > require the zlib compression library. You'll need to install that and run > make again.Slackware 10.0 comes with zlib as a standard part of the distro. It's found in /usr/lib. Make sure that you have softlinks from the real library to both libz.so and libz.so.1 so Icecast can find what it's looking for. Robert Muchnick Xenterra.net 720-276-7917
I'm trying to get icecast 2.3.1 compiled on a slackware 10.0 box. I've successfully compiled the libshout libraries. Now this is what I got after a make in the source dir:> make[3]: Entering directory `/tar_archive/icecast-2.3.1/src' > /bin/sh ../libtool --mode=link gcc -pthread -g -O2 -L/usr/local/lib > -o icecast cfgfile.o main.o logging.o sighandler.o connection.o > global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o > fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o > format_midi.o format_flac.o auth.o auth_htpasswd.o format_vorbis.o > net/libicenet.la thread/libicethread.la httpp/libicehttpp.la > log/libicelog.la avl/libiceavl.la timing/libicetiming.la -lvorbis > -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm > gcc -pthread -g -O2 -o icecast cfgfile.o main.o logging.o sighandler.o > connection.o global.o util.o slave.o source.o stats.o refbuf.o > client.o xslt.o fserve.o event.o admin.o md5.o format.o format_ogg.o > format_mp3.o format_midi.o format_flac.o auth.o auth_htpasswd.o > format_vorbis.o -L/usr/local/lib net/.libs/libicenet.a > thread/.libs/libicethread.a httpp/.libs/libicehttpp.a > log/.libs/libicelog.a avl/.libs/libiceavl.a > timing/.libs/libicetiming.a /usr/lib/libvorbis.so -L/usr/lib > /usr/lib/libogg.so /usr/lib/libxslt.so /usr/lib/libxml2.so -lz > -lpthread -lm > /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: > cannot find -lz > collect2: ld returned 1 exit status > make[3]: *** [icecast] Error 1 > make[3]: Leaving directory `/tar_archive/icecast-2.3.1/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/tar_archive/icecast-2.3.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tar_archive/icecast-2.3.1' > make: *** [all] Error 2Any hints? Marco
marco chrappan wrote:> I'm trying to get icecast 2.3.1 compiled on a slackware 10.0 box. I've > successfully compiled the libshout libraries. Now this is what I got > after a make > in the source dir: > > >> make[3]: Entering directory `/tar_archive/icecast-2.3.1/src' >> /bin/sh ../libtool --mode=link gcc -pthread -g -O2 -L/usr/local/lib >> -o icecast cfgfile.o main.o logging.o sighandler.o connection.o >> global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o >> fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o >> format_midi.o format_flac.o auth.o auth_htpasswd.o format_vorbis.o >> net/libicenet.la thread/libicethread.la httpp/libicehttpp.la >> log/libicelog.la avl/libiceavl.la timing/libicetiming.la -lvorbis >> -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm gcc -pthread -g -O2 -o >> icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o >> util.o slave.o source.o stats.o refbuf.o client.o xslt.o fserve.o >> event.o admin.o md5.o format.o format_ogg.o format_mp3.o format_midi.o >> format_flac.o auth.o auth_htpasswd.o format_vorbis.o -L/usr/local/lib >> net/.libs/libicenet.a thread/.libs/libicethread.a >> httpp/.libs/libicehttpp.a log/.libs/libicelog.a avl/.libs/libiceavl.a >> timing/.libs/libicetiming.a /usr/lib/libvorbis.so -L/usr/lib >> /usr/lib/libogg.so /usr/lib/libxslt.so /usr/lib/libxml2.so -lz >> -lpthread -lm >> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: >> cannot find -lz >> collect2: ld returned 1 exit status >> make[3]: *** [icecast] Error 1 >> make[3]: Leaving directory `/tar_archive/icecast-2.3.1/src' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/tar_archive/icecast-2.3.1/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/tar_archive/icecast-2.3.1' >> make: *** [all] Error 2 > > Any hints?one of the libraries that icecast is using (eg libxml2) has been built to require the zlib compression library. You'll need to install that and run make again. karl.