[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./configure does not recognize umfpack library.
From: |
Dmitri A. Sergatskov |
Subject: |
Re: ./configure does not recognize umfpack library. |
Date: |
Mon, 09 May 2005 14:34:48 -0600 |
User-agent: |
Mozilla Thunderbird (X11/20050322) |
David Bateman wrote:
Unfortunately, unless you ae building a static version of octave you'll
need to build a dynamic version of UMFPACK. Check the debian/rules file
in the debian umfpack for the exact procedure on how to do this. Perhaps
Quentin Spencer has a spec file for Fedora...
Perhaps I am missing something, but I do have shared octave and it is
compiled against static umfpack:
address@hidden ~]$ ldd /usr/local/bin/octave
liboctinterp.so => /usr/local/lib/octave-2.9.2/liboctinterp.so
(0x00571000)
liboctave.so => /usr/local/lib/octave-2.9.2/liboctave.so (0x00d40000)
libcruft.so => /usr/local/lib/octave-2.9.2/libcruft.so (0x0022a000)
libfftw3.so.3 => /usr/local/lib/libfftw3.so.3 (0x00111000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x05f9c000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x05e4d000)
libdl.so.2 => /lib/libdl.so.2 (0x001a9000)
libhdf5.so.0 => /usr/local/lib/libhdf5.so.0 (0x00432000)
libz.so.1 => /usr/lib/libz.so.1 (0x001ad000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0x001bd000)
libm.so.6 => /lib/tls/libm.so.6 (0x001da000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001fd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x01bde000)
libc.so.6 => /lib/tls/libc.so.6 (0x0228c000)
/lib/ld-linux.so.2 (0x00212000)
address@hidden ~]$ ls -l /usr/local/lib/libumfpack.*
-rw-r--r-- 1 root root 1098548 Mar 15 15:41 /usr/local/lib/libumfpack.a
-rw-r----- 1 root root 2365 Mar 15 15:41 /usr/local/lib/libumfpack.def
...
octave:3> help sparse
sparse is the dynamically-linked function from the file
/usr/local/libexec/octave/2.9.2/oct/i686-pc-linux-gnu/sparse.oct
-- Loadable Function: SPARSE_VAL = sparse (...)
SPARSE: create a sparse matrix
sparse can be called in the following ways:
...
octave:4> s=speye (100000);
octave:5> spdet(s)
ans = 1
D.
Dmitri.
--
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------