help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error with cell2fields


From: Mike Miller
Subject: Re: error with cell2fields
Date: Tue, 22 Aug 2017 13:12:17 -0700
User-agent: NeoMutt/20170609 (1.8.3)

On Tue, Aug 22, 2017 at 07:30:38 -0700, Philip Nienhuis wrote:
> sts wrote
> > when I type cell2fields I get
> > 
> >>> cell2fields
> > error:
> > /usr/lib/x86_64-linux-gnu/octave/packages/struct-1.0.11/x86_64-pc-linux-gnu-api-v50+/cell2fields.oct:
> >  failed to load:
> > /usr/lib/x86_64-linux-gnu/octave/packages/struct-1.0.11/x86_64-pc-linux-gnu-api-v50+/cell2fields.oct:
> >  undefined symbol: _ZNK5ArrayISsE17resize_fill_valueEv
[…]
> > GNU Octave Version: 4.0.0
> > GNU Octave License: GNU General Public License
> > Operating System: Linux 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8
> > 11:56:56 UTC 2017 x86_64
> > ----------------------------------------------------------------------
> > Package Name  | Version | Installation directory
> > --------------+---------+-----------------------
> >        optim *|   1.4.1 | /usr/share/octave/packages/optim-1.4.1
> >       struct *|  1.0.11 | /usr/share/octave/packages/struct-1.0.11
[…]
> Sorry, we need more info.
> 
> What Linux distro, what version, where did you get Octave from? (or did you
> build it yourself?)

There are a few answers to those above, but yes, we need to know whether
Octave was installed from Ubuntu official repositories. Are you on
Ubuntu 16.04 with octave version 4.0.0-3ubuntu9.1 and octave-struct
version 1.0.11-1 installed?

The undefined symbol error is an immediate red flag that this is another
case of a GCC ABI mismatch between how Octave was compiled and how the
struct package was compiled. If these packages are all installed from
Ubuntu, then you should report a bug so this can be fixed for everyone.

See previous posts [1], [2], [3], [4], and the GCC C++ ABI transition
docs [5].

[1]: https://lists.gnu.org/archive/html/help-octave/2016-02/msg00113.html
[2]: https://lists.gnu.org/archive/html/help-octave/2016-06/msg00239.html
[3]: https://lists.gnu.org/archive/html/help-octave/2017-01/msg00010.html
[4]: https://lists.gnu.org/archive/html/help-octave/2017-05/msg00201.html
[5]: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]