Menu

#821 SHLIB_LD_LIBS Bug in configure for Linux

obsolete: 8.1b3
closed-fixed
nobody
2
2001-04-16
2000-10-26
Anonymous
No

OriginalBugID: 1813 Bug
Version: 8.1b3
SubmitDate: '1999-04-14'
LastModified: '1999-08-13'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: 4.2
Machine: Other
FixedDate: '1999-08-13'
FixedInVersion: 8.2b3
ClosedDate: '2000-10-25'

Name:
Jan Nijtmans

ReproducibleScript:
Double quotes which should have been single quotes have
the effect of the $(SHLIB_LD_LIBS) specification to be
useless for Linux. The effect of this is that libtk8.1.so
cannot be dynamically loaded on Linux, although Linux
has fully functional backlinking support.

Patch:
*** unix/configure.in.orig Wed Apr 14 20:15:35 1999
--- unix/configure.in Wed Apr 14 20:16:08 1999
***************
*** 870,876 ****
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
! SHLIB_LD_LIBS="${LIBS}"
SHLIB_SUFFIX=".so"
if test "$have_dl" = yes; then
SHLIB_LD="${CC} -shared"
--- 870,876 ----
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
! SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
if test "$have_dl" = yes; then
SHLIB_LD="${CC} -shared"

PatchFiles:
configure.in

4/22/99 - redman - After talking with Ray, we need to review this before applying the change. Other people are requesting the exact opposite.
--
This change was made sometime before 8.2b3.
-- 08/13/1999 hobbs

Discussion

  • Brent B. Welch

    Brent B. Welch - 2000-10-26
    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2001-04-16
    • labels: 104246 --> 53. Configuration and Build Tools