[Pkg-octave-devel] trouble using a .oct file

Pascal Dupuis Pascal.Dupuis at uclouvain.be
Thu Jul 19 11:00:36 UTC 2007


Hello,

I need to have some program, available in octave2.9-forge (testing),
running in octave2.9-2.9.12 (unstable).

I proceeded as follows:
apt-source octave2.9
./debian/rules configure 
to get a valid config.h

then, from
/usr/src/octave2.9-forge-2006.07.09+dfsg1/main/linear-algebra:

mkoctfile-2.9.12 -I/usr/src/octave2.9-2.9.12 -I/usr/lib/mpich/include \
 -DHAVE_CONFIG_H -c CmplxGSVD.cc
mkoctfile-2.9.12 -I/usr/src/octave2.9-2.9.12 -I/usr/lib/mpich/include \
 -DHAVE_CONFIG_H -c dbleGSVD.cc
mkoctfile-2.9.12 -I/usr/src/octave2.9-2.9.12 -I/usr/lib/mpich/include \
 -DHAVE_CONFIG_H  gsvd.cc

This produced gsvd.oct, that I copied under 
     /usr/lib/octave/2.9.12/oct/i486-pc-linux-gnu

The compilation did not produce any error. But trying to call the
function results in octave exiting with the error message:
 /usr/bin/octave: symbol lookup error: /usr/lib/octave/2.9.12/oct/i486-pc-linux-gnu/gsvd.oct: undefined symbol: _ZN4GSVD4initERK6MatrixS2_NS_4typeE

also, 'ldd gsvd.oct' shows that it is not (dynamically) linked to 
liboctinterp.so, liboctave.so, libcruft.so

Is there a plan to produce an octave2.9-dev package, with the required
libs ? How can I solve the problem ?

Thanks in advance

Pascal Dupuis



More information about the Pkg-octave-devel mailing list