[BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
davidjmoberg at gmail.com
Fri Jan 6 19:42:12 EST 2006
sindi keesan wrote:
> See Slackware packages (which I am about to upload for 30 minutes):
> http://keesan.freeshell.org/bl/netpbm-SW81-full.tgz (2.6MB)
> http://keesan.freeshell.org/bl/netpbmlibs-SW81.tgz (320K).
I see also netpbm-bl3.tgz, which appears to be a combination of
some earlier libc5 netpbm binaries.
I tried my LTmodem (see previous thread) with BL2. I only had
a few problems. I used BL3 to unzip, since BL2 does not have
unzip. The first problem I had was that because I used ramdisk
BL2, there was no room to put the ltmodem.o module in /lib. I
had to put it in /tmp and insert it from there.
The second problem was that ppp-on failed to insert my ppp.o
module. I had to insert it manually and put insmod -f ppp into
/etc/rc. After that, I was able to connect to my ISP (status.0
said "CONNECT 46666 V42bis") and eventually to your BL
With links and the LTmodem, I downloaded the
netpbm-SW81-full.tgz in ~14 minutes, maximum 4.8 kB/s,
I downloaded netpbm-SW81-full.tgz to /tmp and tried to run
asciitopbm. Of course, it didn't work with the SW71 libc.
After rebooting to my hdd partition installation of BL2 (with
glibc2.3.2 already installed) I was able to use several
different netpbm programs.
> The former is all the netpbm programs plus libnetpbm.10.31, statically
> compiled to require glibc-2.2.5 (SW81),
# file /usr/local/bin/pnmtopng
/usr/local/bin/pnmtopng: ELF 32-bit LSB executable, Intel 80386, version 1, dyna
mically linked (uses shared libs), stripped
> and the packages in the latter, which also require 2.2.5.
Instead of the latter, you can use libtiff from SW71, and also symlink
the SW71 libpng.so.2 to libpng.so.3. This worked with pbmupc and
pnmtopng to create a png of a bar code. It also worked with pnmtotiff.
Other, non-netpbm libpng programs might break with this symlink,
> glibc-2.2.5 from SW81 can be installed into BL2 (you can delete
> lib/*-2.1.3*) or BL3 (it coexists with libc5 but will complicate
> compiling for libc5).
And it will also cause problems if you want to use a library e.g.
libX11.so.6 with both libc5 and 6.
> Other programs may not work, let me know.
Everything works perfectly, many thanks. This will be useful
for when I need to decode multipage tiffs and whatever else
this latest version can decode.
More information about the BasLinux