Bug 228584 - mkoctfile fails to find 64-bit libraries on x86_64
Summary: mkoctfile fails to find 64-bit libraries on x86_64
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: octave (Show other bugs)
(Show other bugs)
Version: 4.4
Hardware: x86_64 Linux
medium
low
Target Milestone: ---
: ---
Assignee: Ivana Varekova
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-02-13 21:17 UTC by Glenn Morris
Modified: 2010-05-12 07:58 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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.


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