[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Mar 12 13:16:53 2001 
Subject:Re: Installing poplog: some bugs and some thoughts 
From:Stephen Isard 
Volume-ID:1010312.05 

Aaron Sloman See text for reply address wrote:

> I don't recognise this. It ran immediately when I installed it on a Dell
> laptop running RedHat 7, maybe because our computer operators had
> already made the link to allow other X11 stuff to work: they were not
> checking out Poplog. The machine has these in /usr/X11R6/lib
> laptop-11126% lt libX11*
> 
> lrwxrwxrwx    1 root     root           13 Jan  4 18:51 libX11.so -> libX11.so.6.1
> lrwxrwxrwx    1 root     root           13 Jan  4 18:43 libX11.so.6 -> libX11.so.6.1
> -rwxr-xr-x    1 root     root       843812 Aug 30  2000 libX11.so.6.1

I've just logged in on a RH6.2 and a RH7.0 machine on our network,
neither of which has poplog installed, and both have the link setup
that Aaron reports.  I ran 'rpm -q' on the 6.2 machine and found that
/usr/X11R6/lib/libX11.so comes from the package XFree86-devel-3.3.6-20,
while /usr/X11R6/lib/libX11.so.6 comes from XFree86-libs-3.3.6-20.  So
whatever is going on, it looks unlikely that the links are there
specifically in aid of poplog, or that they were inserted by hand by
local computing officers.  It is not even obvious to me on this evidence
that the setup is the idea of RedHat, as opposed to the XFree86 Project.

I've looked up the linking command in the $usepop/pop/pop/link_cmnd
distributed in linuxmotif15.53.tar.gz.  This is presumably the command
that created the accompanying pop11.  What I take to be the relevant bit
says

-L/usr/X11R6/lib \
-lXm \
-lXt \
-lXext \
-lX11 \
-ldl \

From my limited understanding of dynamic linking, this means that it
will be left to the dynamic linker ld.so to find a libX11.so in the
library path, which can of course be a pointer to whatever is the
latest version, e.g., libX11.so.6.1.  Could the problem possibly have
been that RedHat 6.0 systems *didn't* have the link, unless you put it
in by hand, but that poplog was linked on a machine where it *had* been
put in, and consequently wouldn't run on other RH6.0 machines until the
link was made?  That would mean that the problem has been corrected on
newer systems, and everything should be ok, as Aaron has found on his
laptop.

Steve