Mailing List Archive

Support open source code!


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

Re: tlug: Acrobat reader and libXt



>>>>> "ash" == Andrew S Howell <andy@example.com> writes:

    ash> I'm not sure what is going on here.

Neither do most of the distribution integrators, unfortunately.

    ash> I came across thing trying to run xdvi. It was trying to run
    ash> /usr/bin/mf, which was giving the same complaint:

    ash> strace -f -F -o out /usr/bin/mf
    ash> /usr/bin/mf: can't load library 'libXt.so.6'

    ash> The strange thing is that ldd says that it can find
    ash> libXt.so.6 just fine.

`ldd' _finds_ _dependencies_, it does not _load_ _libraries_.

    ash> ldd /usr/bin/mf
    ash>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40006000)
    ash>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4004e000)
    ash>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40057000)
    ash>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4006f000)
    ash>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4007b000)
    ash>         libkpathsea.so => /usr/lib/libkpathsea.so (0x40120000)
    ash>         libm.so.5 => /lib/libm.so.5 (0x40131000)
    ash>         libc.so.5 => /lib/libc.so.5 (0x4013a000)
    ash>         libc.so.6 => /lib/libc.so.6 (0x40211000)

This (two libcs) is a guaranteed snafu, as they export the same
symbols.

    ash>         /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x00000000)

Yikes!  Does this work?

    ash> Is this just another ugly face of mixed libc 5 & 6?

Yup.

    ash> Nothing to prevent the lib from being read. I couldn't find
    ash> any docs on what /etc/ld.so.preload is supposed to have in

Not in TurboLinux, you won't.  :-(  Under Debian:

bash-2.01$ man ld.so      
       /etc/ld.so.preload  File containing a whitespace separated
                           list of ELF  shared  libraries  to  be
                           loaded  before the program.  libraries
                           and  an  ordered  list  of   candidate
                           libraries.

This is evidently hosed though, dunno if the roff source is OK.
Anyway, obviously it functions about like LD_PRELOAD.

    ash> it. I tried, foolishly, to put just /usr/X11R6/lib in it. Big
    ash> mistake. Then I could not run _anything_.

:-P

<RANT>
Anybody who is putting out a non-open-source software for Linux should 
provide a statically linked binary until libc5 is used only by
archaeologists.
</RANT>

Everybody else who provides standalone binaries should consider doing
so, too.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for?  "Free software rules."
-------------------------------------------------------------------
Next Technical Meeting: February 13 (Sat), 12:30 place: Temple Univ.
** presentation: XEmacs, by Steven Baur and Martin Buchholz
Next Nomikai: March 19 (Fri), 19:30   Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links