Bug 228584 - mkoctfile fails to find 64-bit libraries on x86_64
mkoctfile fails to find 64-bit libraries on x86_64
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: octave (Show other bugs)
4.4
x86_64 Linux
medium Severity low
: ---
: ---
Assigned To: Ivana Varekova
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-13 16:17 EST by Glenn Morris
Modified: 2010-05-12 03:58 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-12 03:58:40 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 Glenn Morris 2007-02-13 16:17:12 EST
Description of problem:
mkoctfile on x86_64 systems fails to find the 64-bit octave libraries, so that
linking fails.

Version-Release number of selected component (if applicable):
octave-devel-2.1.57-7.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. cat >| foo.cc <<EOF
#include <octave/oct.h>
DEFUN_DLD (foo, args, , "do stuff\n")
{
    octave_value_list retval;
    return retval;
}
EOF

2. /usr/bin/mkoctfile foo.cc
  
Actual results:
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/liboctinterp.so when
searching for -loctinterp
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/liboctave.so when
searching for -loctave
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/libcruft.so when
searching for -lcruft


Expected results:
Successful linking.


Additional info:

Trivial fix in mkoctfile shell script on x86_64 platform.
Change RLD_FLAG and LFLAGS to look in /usr/lib64 rather than /usr/lib.
Comment 1 Ivana Varekova 2010-05-12 03:58:40 EDT
Only important issues like performance and security are fixed in RHEL 4.9 and
later. This bug does not meet necessary criteria and is therefore closed.

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