Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 228584 - mkoctfile fails to find 64-bit libraries on x86_64
Summary: mkoctfile fails to find 64-bit libraries on x86_64
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: octave
Version: 4.4
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Ivana Varekova
QA Contact:
Depends On:
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:
Clone Of:
Last Closed: 2010-05-12 07:58:40 UTC
Target Upstream Version:

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

How reproducible:

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

2. /usr/bin/mkoctfile
Actual results:
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/ when
searching for -loctinterp
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/ when
searching for -loctave
/usr/bin/ld: skipping incompatible /usr/lib/octave-2.1.57/ 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.