Bug 17458 - missing dependecy on f2c
Summary: missing dependecy on f2c
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: lapack
Version: 5.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-12 22:36 UTC by Thomas Breuel
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-09-12 22:36:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Thomas Breuel 2000-09-12 22:36:37 UTC
libblas and liblapack depend on f2c, but the shared libraries
don't contain that dependency.  As a result, attempts to load
those libraries dynamically (say, into Numerical Python) fail
when the dependency is triggered.

*** there is no dependency on libf2c:

nitrox:Test$ ldd /usr/lib/libblas.so.2
	libm.so.6 => /lib/libm.so.6 (0x40074000)
	libc.so.6 => /lib/libc.so.6 (0x40091000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
nitrox:Test$ ldd /usr/lib/liblapack.so.2
	libblas.so.2 => /usr/lib/libblas.so.2 (0x403b1000)
	libm.so.6 => /lib/libm.so.6 (0x40424000)
	libc.so.6 => /lib/libc.so.6 (0x40441000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

*** yet, libblas depends on the symbol e_wsfe, defined in libf2c

nitrox:Test$ nm -o /usr/lib/libblas.so.2 | grep e_ws
/usr/lib/libblas.so.2:         U e_wsfe
nitrox:Test$ nm -o /usr/lib/libf2c.so.0 | grep e_ws
/usr/lib/libf2c.so.0:0000e670 T e_wsfe
/usr/lib/libf2c.so.0:00007de0 T e_wsfi
/usr/lib/libf2c.so.0:0001055c T e_wsle
/usr/lib/libf2c.so.0:00008068 T e_wsli
/usr/lib/libf2c.so.0:0000ea68 T e_wsue
nitrox:Test$

Comment 1 Trond Eivind Glomsrxd 2000-09-26 17:11:55 UTC
Actually, this isn't from the libf2c but from the libg2c which is part of the
g77 compiler and automatically used by it for compiler-internal symbols.


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