Subject: libg2c has gone in NeBSD 4.99.20
To: None <current-users@netbsd.org>
From: Ray Phillips <r.phillips@jkmrc.com>
List: current-users
Date: 08/20/2007 19:00:24
The NIST's OOF1 application [1] can be configured in preparation for
compiling under NetBSD/i386 3.99.20 (made from CVS-updated sources
updated in late May 2006) using this command:
% /usr/bin/time sh -c "../configure --with-x
--with-cxxflags='-DNEED_FDSTREAM -DDONT_HAVE_STRSTREAM_H -DTHERMAL'
--with-blas='-L/usr/pkg/lib -lblas -lg2c' > configure.log 2>&1"
libg2c is present and all is well:
% ls -l /usr/lib/libg2c.*
-r--r--r-- 1 root wheel 319126 May 26 2006 /usr/lib/libg2c.a
lrwxr-xr-x 1 root wheel 13 May 26 2006 /usr/lib/libg2c.so ->
libg2c.so.2.0
lrwxr-xr-x 1 root wheel 13 May 26 2006 /usr/lib/libg2c.so.2
-> libg2c.so.2.0
-r--r--r-- 1 root wheel 122237 May 26 2006 /usr/lib/libg2c.so.2.0
%
However, with NetBSD 4.99.20 (made from CVS-updated sources updated
in late June 2007):
% ls -l /usr/lib/libg2c.*
ls: No match.
%
and it doesn't seem to be in any other directory so ./configure fails with:
configure: error: *** Supplied blas doesn't link ***
What's the recommended way of getting around this?
Ray
[1] http://www.ctcms.nist.gov/oof/oof1/