[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another library irregularity
From: |
Dennis Leeuw |
Subject: |
Re: Another library irregularity |
Date: |
Wed, 11 Apr 2001 18:49:25 +0200 |
> This is definately a problem with library paths. When you run the
> program from any directory, the tool executable is run directly, since
> it's in you path. When you run it from from where the tool directory is,
> it actually runs a script that correctly sets the LD_LIBRARY_PATH and
> then runs the tool executable. It's a bit confusing why it works this
> way, perhaps we can simplify it (GNUstep Developers: I think the only
> reason the PATH includes all the Tool/ix86/linux-gnu/... directories is
> for finding DLLs on Windows. Is that correct or not?)
My gnu-gnu-gnu-xgps dir also contains:
-rwxr-xr-x 1 root root 47426 Apr 4 12:34 font_cacher
which is not in Tools/ nor in Tools/ix86/linux-gnu
IMHO, I think it would be better if the PATH stays as it is, but the wrapper
scripts are removed. With a correct PATH the tool will be found anyway and now
a lot of Tools
are accessed by scripts which adds to the problem, and confusion.
The current problem is:
bash-2.03$ which gdnc
/opt/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps/gdnc
This is the executable, not the wrapper script. So,
bash-2.03$ gdnc
gdnc: error in loading shared libraries: libgnustep-base.so.0: cannot open
shared object file: No such file or directory
bash-2.03$ env|grep ^PATH
PATH=/home/dennis/GNUstep/Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps:/home/dennis/GNUstep/Tools/ix86/linux-gnu:/home/dennis/GNUstep/Tools:/opt/GNUstep/Local/Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps:/opt/GNUstep/Local/Tools/ix86/linux-gnu:/opt/GNUstep/Local/Tools:/opt/GNUstep/Network/Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps:/opt/GNUstep/Network/Tools/ix86/linux-gnu:/opt/GNUstep/Network/Tools:/opt/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps:/opt/GNUstep/System/Tools/ix86/linux-gnu:/opt/GNUstep/System/Tools:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/games:/opt/WindowMaker/bin:.:/usr/share/texmf/bin:/opt/WindowMaker/bin
If PATH would be Tools/, Tools/ix86/linux-gnu/,
Tools/ix86/linux-gnu/gnu-gnu-gnu-xgps/
All would be well.
Greetings,
Dennis Leeuw
dleeuw.vcf
Description: Card for Dennis Leeuw
- Another library irregularity, Steve Núñez, 2001/04/11
- Re: Another library irregularity, Richard Frith-Macdonald, 2001/04/11
- Re: Another library irregularity, Steve Núñez, 2001/04/11
- Re: Another library irregularity, Richard Frith-Macdonald, 2001/04/11
- Re: Another library irregularity, Adam Fedor, 2001/04/11
- Re: Another library irregularity,
Dennis Leeuw <=
- Re: Another library irregularity, Adam Fedor, 2001/04/11
- Re: Another library irregularity, Steve Núñez, 2001/04/11
- Re: Another library irregularity, Dennis Leeuw, 2001/04/12
- Re: Another library irregularity, Dennis Leeuw, 2001/04/12