more on bz2

Timothee Besset ttimo at
Sat Feb 23 08:56:08 EST 2002

Current source has weird build issues, which I isolated to be because of
bz2 stuff. And I have the same kind of problem on two different
distributions (my dev box and the baseline machine).

Here is what happens with the current source on my debian woody:

at the end of the build process:

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 /home/timo/ /usr/lib/ plugins/libplugins.a dialog/libdialog.a /home/timo/ -lbz2 -L/usr/local/lib -L/usr/X11R6/lib /usr/lib/libxml.a -lz -lm -lncurses -lgpm -static
/usr/bin/ld: BFD 20011121 Debian/GNU Linux assertion fail ../../bfd/elf-strtab.c:262

note that weird ld error message
I still get binaries .. but they won't run:

timo at antares:~/$ ll ./setup
-rwxr-xr-x    1 timo     timo      1554708 Feb 23 13:01 ./setup
timo at antares:~/$ ./setup
bash: ./setup: No such file or directory
timo at antares:~/$ strace ./setup
execve("./setup", ["./setup"], [/* 27 vars */]) = 0
strace: exec: No such file or directory

I don't get any ld error message on the other box, but the symptoms are
the same when I try to run the binaries. I removed bz2 dependency from my
version, and it all goes fine now.

I have a more general problem with bz2 anyway, what is it used for? Even
if it works, it adds an additional dynamic dependency to setup.gtk, which
I confirmed to break between my baseline and my dev box already. I am not
familiar with autoconf stuff, so my 'no bz2' changes are mostly a hack.
Can we have a --disable-bz2 configure switch? Or even make bz2 disabled
the default?


More information about the Lokisetup mailing list