jhhauman at uctvms.uct.ac.za wrote:
>> Hi there
> I have downloaded the linux binaries for gde and tried to run them.
>> There was the inevitable "can't find .... file" message (in this case
>> A search through my CDs found this library on an old Infomagic set of Cds,
> so i copied it over to various places, running ldconfig each time - alas
> the error message remains the same.
>> Please - could someone who has gde running under linux tell me what I'm doing
I have GDE 2.2 running under a Redhat 4.0ish release with kernel 2.0.29.
Basically I recompiled it myself. Your problem is that the binary
is in aout format andyour system is almost certainly using elf. The only
to get it to use elf libraries is to recompile it. However this is a
at least one of the programs is in fortran which will mean you'll have
out installing g77.
Very likely the library you are missing was called /libX11.so.3
The lack of any other path information before the name is significant.
get around the error by making a symbolic link from /libX11.so.3 to
you are keeping the aout library eg:
ln -s usr/i486-linuxaout/lib/libX11.so.3.1.0 /libX11.so.3
or you try some of these things.
The locations searched for libraries are /lib /usr/lib and directories
/etc/ld.so.conf. Mine looks like this:
cat > /etc/ld.so.conf<<EOF
After editing this file you have to update the cache by running as root
Including the i486-linuxaout directory might help - however I'm not
this is used for aout libraries. It might only be for ELF libs.
The environment variable LD_LIBRARY_PATH is used with the older
libraries, so possibly you could fix up a gde script like this:
This would reset the lirary search path for gde and not mess it up for
any other program.
> Many thanks
>>jhhauman at uctvms.uct.ac.za
Pat Thoyts mailto:thoyts at bsa.bristol.ac.ukhttp://pc0652.lars.bbsrc.ac.uk/~pat/home.shtml