Bug#383149: [Pkg-octave-devel] Bug#383149: mkoctfile fails to generate oct files (fails to find liboctinterp.so)

Rafael Laboissiere rafael at debian.org
Tue Aug 15 14:53:51 UTC 2006


package octave2.9
tags 383149 unreproducible
thanks

* John Dalton <john.dalton at bigfoot.com> [2006-08-15 19:12]:

> Package: octave2.9
> Version: 2.9.7-1
> 
> mkoctfile fails to generate .oct files from C++
> source (.cc file).  It fails during linking.
> 
> I put the following program into a file uitest.cc:
> 
> ----- START FILE uitest.cc ----------
> #include <octave/oct.h>
> 
> DEFUN_DLD(uitest, args, , " ")
> {
>       int x = 20;
>       int y = 20;
> 
>       return octave_value(Matrix(y,x));
> 
> }
> ----- END FILE uitest.cc ----------
> 
> I then compiled it.  A copy of the command line
> and the output follows:
> 
> $ mkoctfile uitest.cc
> /usr/bin/ld: skipping incompatible /usr/lib/octave-2.9.7/liboctinterp.so
> when searching for -loctinterp
> /usr/bin/ld: cannot find -loctinterp
> collect2: ld returned 1 exit status
> $
> 
> I get this error even if I try to compile
> a different (.cc) program.
> 
> I'm running Debian unstable.  It is up-to-date
> as of one hour ago, before I ran the above.
> (did a #apt-get update; apt-get dist-upgrade)

I am unable to reproduce this bug in my up-to-date Debian unstable i386
system.

> $ uname -a
> Linux bob 2.6.17-1-amd64-k8 #1 Mon Jul 17 11:59:49 UTC 2006 x86_64
> GNU/Linux

Is this perhaps a amd64 specific bug?

-- 
Rafael




More information about the Pkg-octave-devel mailing list