- priority: 5 --> 2
- status: open --> closed-fixed
OriginalBugID: 2586 Bug
Version: 8.0p2
SubmitDate: '1999-08-20'
LastModified: '1999-08-20'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Solaris
OSVersion: 5.6
Machine: Other
FixedDate: '1999-08-20'
FixedInVersion: 8.2
Name:
Hallvard B Furuseth
ReproducibleScript:
# login on a host with /local/X11R6/lib/libX11.so but not libX11.a
cd tk8.0/unix
./configure;
make -s all install test
ObservedBehavior:
wish aborts while loading because it doesn't find libX11.so
DesiredBehavior:
workingn wish (without having to set LD_LIBRARY_PATH)
Patch:
I _think_ this should do it, though I have never hacked autoconf stuff.
Afterwards configure must be rebuilt.
--- unix/configure.in.bak Mon Aug 16 06:54:23 1999
+++ unix/configure.in Wed Aug 18 18:00:34 1999
@@ -179,3 +179,7 @@
AC_MSG_RESULT($i)
- XLIBSW="-L$i -lX11"
+ if test -r $i/libX11.so -o -r $i/libX11.sl; then
+ XLIBSW="-L$i -R$i -lX11"
+ else
+ XLIBSW="-L$i -lX11"
+ fi
x_libraries="$i"
@@ -188,3 +192,3 @@
else
- XLIBSW="-L$x_libraries -lX11"
+ XLIBSW="-L$x_libraries -R$x_libraries -lX11"
fi
PatchFiles:
unix/configure.in
unix/configure
8.0p2 is an old version to be running on at this point, as there
are more stable releases in the 8.0 and 8.2 lines where this
bug has been fixed.
-- 08/20/1999 hobbs