[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Glibc2.1 and *LyX* (WAS Re: Glibc2.1 and Netscape)



I have successfully built and run the latest Lyx on LinuxPPC Pre-R5 (glibc2.1, I
believe).  I haven't pushed it very hard, but it does seem to work...!

Hugh

Mike James wrote:

> Hi, everyone--
>
> On 26-May-99 at 10:56 PM -0500 Derek posted instructions for getting
> Netscape to run using old libraries under glibc2.1 (debian and pre-R5).
> (Derek's full message attached at end of this message.)
>
> Netscape now works in the current debian-powerpc! It's nice.
>
> The only other application I've missed while running debian (I haven't
> tried pre-R5) is LyX, which doesn't run because of its dependence on
> XForms. AFAIK, XForms for glibc2.1 is still not available. (If I'm wrong,
> please tell me.)
>
> Q: Why not use Derek and Mark's Netscape workaround to run LyX
>    under Debian/pre-R5, too?
>
> A: I tried their workaround with my LinuxPPC R4-built LyX, and it
>    works! I haven't hit any gotchas with Netscape or LyX running
>    under debian yet.
>
> Just thought I'd share my excitement.  ;-)
>
> Mike
>
> ---( forwarded message follows )-----------------------------
>
> Date: Wed, 26 May 1999 23:56:12 -0400
> From: Derek Lichter <ddl@netris.org>
> To: linuxppc-user@lists.linuxppc.org
> Cc: debian-powerpc@lists.debian.org
> Subject: Re: Glibc2.1 and Netscape
>
> > On Wed, May 26, 1999 at 07:59:16PM -0400, Deirdre Saoirse wrote:
> > > Paul Mackerras pointed out to me yesterday why my netscape wasn't
> >working:
> > > Glibc2.1, which is incompatible with the version used to compile
> >Netscape.
> > >
> > > Two points:
> > >
> > > a) does anyone know if and/or when a newer version of Netscape will be
> >out
> > > that we CAN run?
> > >
> > > b) a workaround occurred to me later: good old ssh and X. I now ssh
> >into a
> > > coworker's box (x86 linux in this case) and run Netscape there. The
> > > display is automagically forwarded (encrypted) to my machine. :)
> >
> > With a ton of help from my housemate Mark (mhw@netris.org), I worked
> >around
> > this problem by pointing netscape to use old libraries at runtime.
> >Here're
> > the basic steps we took:
> >
> > - pulled old shared libraries from the following redhat rpms in
> >   ftp://ftp.linuxppc.org/linuxppc-R4/RedHat/RPMS:
> >      X11R6.3-libs-01-1r.ppc.rpm
> >      glibc-0.961212-1h.ppc.rpm
> >      xpm-3.4j-1b.ppc.rpm
> >      libg++-2.8.1.980306-1c.ppc.rpm
> >
> > - dumped them into a newly-created directory, /usr/lib/netscape/base-4/old
> >
> > - in this directory, edited ld.so.1 to change the library path string:
> >
> >   % perl -pe 's/LD_LIBRARY_PATH/LD_LIBRARY_PAT1/' ld.so.1 > ld.so.1.new
> >   % mv ld.so.1 ld.so.1.OLD
> >   % mv ld.so.1.new ld.so.1
> >
> > - moved the netscape 4.08 binary (which i have installed in
> >   /usr/local/bin) to netscape-exec
> >
> > - created a wrapper script as /usr/local/bin/netscape; its contents:
> >
> >   #!/bin/sh
> >
> >   LIBDIR=/usr/lib/netscape/base-4/old
> >
> >   LD_LIBRARY_PAT1=${LIBDIR} exec ${LIBDIR}/ld.so.1 \
> >   /usr/local/bin/netscape-exec "$@"
> >
> > This works well enough (until I can get mozilla built, i guess)...
> > hopefully I haven't left any steps out.  (I should also note that
> > I'm running debian, not redhat; I've crossposted to the debian-powerpc
> > list in case it's useful there, too.)
> >
> > -d.d-
>
> ---( end of forwarded message  )-----------------------------
>
> --
> Mike James <mwjames@magibox.net>
> Memphis, TN USA * Eternity begins now.
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

--
Hugh Caley, Unix/Web Administrator
Babcock & Brown, San Francisco
415-512-1515 hughc@babcockbrown.com


Reply to: