Bug 228584

Summary: mkoctfile fails to find 64-bit libraries on x86_64
Product: Red Hat Enterprise Linux 4 Reporter: Glenn Morris <gmorris>
Component: octaveAssignee: Ivana Varekova <varekova>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-12 07:58:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Glenn Morris 2007-02-13 21:17:12 UTC
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 07:58:40 UTC
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.