Bug 159971 - Dynamic link doesn't work on x86_64
Dynamic link doesn't work on x86_64
Status: CLOSED RAWHIDE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: guile (Show other bugs)
4.0
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-09 15:59 EDT by H.J. Lu
Modified: 2015-03-04 20:14 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-02 06:19:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description H.J. Lu 2005-06-09 15:59:10 EDT
guile-1.6.4-14 has

libguile/scmconfig.h:#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"

It is wrong for x86_64. A quick hack

--- guile-1.6.4/configure.lib64 2005-06-09 12:34:40.486511382 -0700
+++ guile-1.6.4/configure       2005-06-09 12:49:59.772813211 -0700
@@ -6876,6 +6876,13 @@ linux-gnu*)
   # before this can be enabled.
   hardcode_into_libs=yes

+  case $host_cpu in
+  x86_64)
+    sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"
+    sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64"
+    ;;
+  esac
+
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   # powerpc, because MkLinux only supported shared libraries with the
   # GNU dynamic linker.  Since this was broken with cross compilers,

makes it to work on x86_64. I think any 64bit systems which use lib64 are
broken.
Comment 1 Phil Knirsch 2005-09-02 06:19:06 EDT
I've fixed this bug in the latest development release we have.

If you think this bug needs fixing for RHEL4 in a quarterly update please open
an Issuetracker for it so we can properly track it.

Thanks,

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.