Skip to Content.
Sympa Menu

baslinux - Re: BL streaming MP3, was Re: [BL] Re: broken windows needs replacing

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "David Moberg" <davidjmoberg AT lycos.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: BL streaming MP3, was Re: [BL] Re: broken windows needs replacing
  • Date: Sun, 24 Apr 2005 16:29:38 -0500

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

> >> The new glibc is needed for opera, lynx, and xpdf, but they don't
> >> need a new libz or libpng. They seem to work fine with the old
> >> ones. But it is probably easier to compile dynamically and not
> >> worry about BL3.
> >
> > Or fully static.
>
> For that would I have to compile libz and libpng myself?

No. You just need the static versions of libz and png (libz.a, libpng.a).

> I had to compile libz in order to compile lynx statically (the package from
> SW71 may not have included the .a file,

It's found in the development packages, not the standard library ones.

> or else I was supposed to
> be using the latest version of libz).

libz hasn't changed much. Most programs shouldn't need a specific version.

> I also had to compile
> open-ssl and ncurses and everything kept going wrong so I think
> dynamic compilation would avoid a lot of problems. But I will
> compile any way you advise if you want to drag me through it. How
> much larger would it be to make it static with regard to libc?

Depends on the libc. For libc5, hello world grows by 100 KB if you
link it statically. uClibc is much better. The BusyBox fbset which
I made was only 40-50 KB total. Full-size glibc expands it by 500-
1000 KB.

> > But since tiffs are so rare, it is not as much of a bother to switch
> > libraries temporarily, is it?
>
> Do you think I should advise switching libraries? Someone who
> knows how to do that might also know how to compile this for
> themself. A beginner, on the other hand, could make a real mess of
> things. I have often done that.

You can always reinstall. It's not hard to download either a pristine
BL2 or BL3, on which the tiff programs work perfectly. Since tiffs are
so rare, downloading this is not very much of a bother. The user
probably already has it, anyway, if they're using BL2.

> >> I have no idea how to access a library that is not on the path.
> >> Would it involve exporting something in profile, like I do to use
> >> gs with a device that is not the default?
> >
> > LD_LIBRARY_PATH="/usr/local/lib/" tifftopnm
> >
> > ^ looks in /usr/local/lib/ for libraries. You can export it, but then
> > you're back to square one.
>
> Do I repeat this line for pnmtotiff or list both on one line?

This runs tifftopnm with libraries from /usr/local/lib. You obviously
need to change it to choose options or run a different programs.

> In /etc/profile?

That will try to run every single program with libraries from /usr/local/lib,
which is just like copying everything from there to /usr/lib. Back to square
one, as I said.
David
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com





Archive powered by MHonArc 2.6.24.

Top of Page