[lokisetup] LIBBZ2_PREFIX / autoconf

Timothee Besset ttimo at idsoftware.com
Thu Feb 21 11:13:51 EST 2002


Actually, my problem has been looked upon already:
http://www.timedoctor.org/files/loki_setup_bzip2.diff

TTimo

PS: the new text mode graphical install is sweet!

On Thu, 21 Feb 2002 16:17:06 +0100
Timothee Besset <ttimo at idsoftware.com> wrote:

> I am compiling loki_setup on Debian woody (I have the same problem on the
> baseline box actually). The stock source gives some unresolved on the bz2
> library. It seems that autoconf picks up LIBZ2_PREFIX (see head file.c for
> instance), but doesn't link against libbz2, only libz.
> 
> Right now I am going around this by -lz -lbz2 in Makefile.in
> 
> thoughts?
> 
> TTimo
> 
> -----
> 
> gcc -o setup log.o install_log.o detect.o plugins.o network.o install.o copy.o file.o loki_launchurl.o main.o console_ui.o dialog_ui.o plugins/libplugins.a dialog/libdialog.a /media/Id/icculus.org/loki_setup/../loki_setupdb/x86/libsetupdb.a plugins/libplugins.a dialog/libdialog.a /media/Id/icculus.org/loki_setup/../loki_setupdb/x86/libsetupdb.a -L/usr/local/lib -L/usr/X11R6/lib /usr/lib/libxml.a -lz -lm -lncurses -lgpm -static
> file.o: In function `file_open':
> /media/Id/icculus.org/loki_setup/file.c:140: undefined reference to `BZ2_bzopen'file.o: In function `file_read':
> /media/Id/icculus.org/loki_setup/file.c:183: undefined reference to `BZ2_bzread'file.o: In function `file_skip_zeroes':
> /media/Id/icculus.org/loki_setup/file.c:215: undefined reference to `BZ2_bzread'file.o: In function `file_write':
> /media/Id/icculus.org/loki_setup/file.c:248: undefined reference to `BZ2_bzwrite'
> file.o: In function `file_eof':
> /media/Id/icculus.org/loki_setup/file.c:274: undefined reference to `BZ2_bzerror'
> file.o: In function `file_close':
> /media/Id/icculus.org/loki_setup/file.c:296: undefined reference to `BZ2_bzclose'
> 



More information about the Lokisetup mailing list