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

Re: Mozilla on sparc



>>>>> Joshua Uziel writes:

    >> Hmm, this gives me a bus error that same as the other version.
    >> It seems to be a glibc issue, Netscape compiled it against 2.0
    >> and I have 2.2 on my Woody system.  What version of Debian are
    >> you running?  Perhaps something can be done for compatibility
    >> with the old libraries (see /usr/doc/libc6/FAQ.gz).  I'll play
    >> with that tonight.

    > I've got potato on the machine... or in other words:

    > ii libc6 2.1.3-15 GNU C Library: Shared libraries and Timezone
    > (Yep, I've not upgraded either.)

So I've tried extracting some files from potato and setting
LD_LIBRARY_PATH for Netscape to see them first.

All the necessary libraries seem to be in libc6_2.1.3-18 and
xlib6g_3.3.6-11potato32 (except libstdc++.so.2.8, it's an older
compatibility library, so it shouldn't depend on glibc 2.2).

When I run netscape with these libaries in LD_LIBRARY_PATH, I still
get this error:

 /usr/local/netscape/netscape: error while loading shared libraries:
 /home/kels/glibc2.1.3/lib/libc.so.6: symbol _dl_debug_impcalls,
 version GLIBC_2.0 not defined in file ld-linux.so.2 with link time
 reference

I think this is due to the fact that it is still finding
/lib/ld-linux.so.2 (ld-2.2.2.so) instead of the potato version
(ld-2.1.3.so).  The clue given by ldd:

% ldd /usr/local/netscape/netscape 
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x5002c000) 
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x50092000) 
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x500ab000) 
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x500d1000) 
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x500f7000) 
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x50116000) 
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x50135000) 
        libdl.so.2 => /lib/libdl.so.2 (0x50231000) 
        libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x50244000) 
        libm.so.6 => /lib/libm.so.6 (0x50298000) 
        libc.so.6 => /lib/libc.so.6 (0x5032e000) 
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x50000000) 

So /lib/ld-linux.so.2 is the only one that has the full path
specified.  I'm not sure how to get around that without breaking other 
things.  Probably something clever could be done with chroot, but my
cursory attempt went nowhere.  Probably it would be easier to
downgrade to potato altogether.

Any other insights?

Kelsey

-- 
Kelsey Jordahl



Reply to: