Robin Popplestone, pop@roo.cs.umass.edu writes:
> Date: 4 Feb 2000 18:26:03 GMT
>
> I'm trying to start up the Poplog-with-motif newly downloaded from
> Birmingham. I get:
>
> pop11: error in loading shared libraries
> libXm.so.2: cannot open shared object file: No such file or directory
That's the error I get on a linux machine without motif.
The motif is not statically linked: so that version of Poplog can run
only in a machine that has motif (or lesstif) libraries.
> limXm.so.2 isn't in the (fairly recent) release of Linux I've got,
There are different sources of linux. As far as I know none of them
by default include motif (since you have to pay for it).
I believe you can get lesstif from here
http://www.lesstif.org/
> and
> even if I try creating a link to a previous version in the directory,
> I still gget the same link-error...
On one of our Redhat 6.0 machines containing motif, the libraries
are in this directory:
/usr/X11R6/lib
-rw-r--r-- 1 bin bin 2249246 Sep 17 09:11 libXm.a
lrwxrwxrwx 1 bin bin 12 Oct 12 17:33 libXm.so -> libXm.so.2.1
lrwxrwxrwx 1 bin bin 12 Oct 12 17:33 libXm.so.2 -> libXm.so.2.1
-rwxr-xr-x 1 bin bin 1914552 Jul 11 1999 libXm.so.2.1
If you don't have those, I presume the version of poplog with motif will
not run. I understand that you can disguise lesstif to look like those,
via symbolic links.
If you don't have an up to date motif or lesstif on your machine, you
may have to run poplog without the motif facilities.
You may be able to relink it without motif, depending which version
of linux you have. (Relinking probably won't work if you have RedHat
6.1, unless you first run the script mentioned in my previous posting.)
To re-link without motif try this as described in HELP NEWPOP
$popsrc/newpop -link -x=-xt -norsv
If relinking works it should be faster than fetching the version of
linux poplog already linked without motif.
If relinking fails (e.g. you get a coredump), you can EITHER try to
relink using the instructions in
http://www.cs.bham.ac.uk/research/poplog/sysdoc/rebuilding
in the section starting
Relinking if you have problems
OR ELSE try using Michael Worsley's script for re-building the
sustem images, located here:
http://www.cs.bham.ac.uk/research/poplog/tools/relinking.linux.poplog
That won't give you motif, but it will give you a poplog that works on
linux, and if you later get motif or lesstif you will be able to relink
to use it.
Aaron
--
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk (NB: Anti Spam address)
TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html
|