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

XV



"DG" == Doug Geiger <runexe@ntplx.net> writes:

  DG> I just installed the xv package in debian/non-free, but it's complaining 
  DG> about libX11.so.6, I checked /usr/X11R6/lib, and it's a link to libX11.so.6.0
  DG> does XV just not like the link, or is the the library? I'm using 
  DG> Debian-0.93R6. Any suggestions?

   xv-3.10a-2.deb is an ELF binary.

   If you want to run an ELF binary an otherwise non-ELF Debian-0.93R6
setup, you need (at minimum) three things:

    1. a kernel compiled with `CONFIG_BINFMT_ELF=y '

    2. install ldso.1.7.14-1.deb (or later?)

    3. any ELF DLL's required by the ELF binary you want to run.

    Now, although I like very much the idea of having as much ELF
capability as I am interested in having at this point in time, I do
not want to mess with my existing system any more than is absolutely
necessary to get that functionality.

    In particular, I do not want to fool around with
`/etc/ld.so.conf', and I do not want to dump any ELF DLL's into any of
my existing system directories.

   So I keep as many ELF DLL's as I need in their own private diretory
and I use a simpe wrapper to pass this information to `ld.so' at
link-and-load time:

--------------------------- quote -----------------------------------
#!/bin/sh
export LD_LIBRARY_PATH=/G/Elf/usr/lib:/G/Elf/lib:/G/Elf/usr/X11R6/lib
$*
--------------------------- unquote ---------------------------------

  I keep this wrapper in `/usr/local/bin' and I use it like this:

----------------------------- quote ------------------------------
bedlam:[*root*]/G/DEBIAN/non-free/usr/X11R6/bin # use-ELF ldd ./xv
        libX11.so.6 => /G/Elf/usr/X11R6/lib/libX11.so.6
        libm.so.5 => /G/Elf/lib/libm.so.5
        libc.so.5 => /G/Elf/lib/libc.so.5
----------------------------- unquote ----------------------------

   (I had to run `ldconfig -n' in each of my `/G/Elf' subdirectories
to get all the ELF pointers set correctly.)

   Frankly, "My Rendevous with ELF" is still something I am looking
forward to with mixed emotions at this stage of the game, so I am very
pleased that I am able to get all the ELFian mileage I require at this
time out of my otherwise completely non-ELF Debian-0.93R6 setup this
easily.

   Bill

-- 
<bhogan@rahul.net> 
<HTML> <BODY link="#00FFFF" vlink="#FF00FF"> 
<H3><I>Freedom To Communicate</I></H3> 
<A HREF="http://www.vtw.org/";>Use it or lose it.</A></BODY></HTML>


Reply to: