help-octave
[Top][All Lists]
Advanced

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

Correct libraries for installation?


From: Alasdair McAndrew
Subject: Correct libraries for installation?
Date: Tue, 26 Oct 1999 14:39:22 +1000 (EST)

Hi there,

I've compiled and installed octave 2.0.14 from source, on a linux
(modified slackware 3.6) system, using gcc 2.7.2.  However, octave
dumps core when I attempt to use it:

  GNU Octave, version 2.0.14 (i486-pc-linux-gnulibc1).
  Copyright (C) 1996, 1997, 1998, 1999 John W. Eaton.
  This is free software with ABSOLUTELY NO WARRANTY.
  For details, type `warranty'.

  octave:1> a=3
  a = 3
  octave:2> b=4
  b = 4
  octave:3> a+b
  ans = 7
  octave:4> 3*a-5*b
  ans = -11
  octave:5> a^b
  ans = 81
  octave:6> a^(b^2)
  ans = 43046721
  octave:7> a=[1 2 3]
  error: Segmentation fault -- stopping myself...
  error: attempted clean up apparently failed -- aborting...
  Abort (core dumped)

I understand this is due to a library mismatch problem.  Well,

ldd /usr/local/bin/octave 

returns:

        libm.so.5 => /usr/local/lib/libm.so.5.0.9.newlib
        libncurses.so.3.0 => /lib/libncurses.so.3.0
        libstdc++.so.27 => /usr/lib/libstdc++.so.27
        libc.so.5 => /usr/local/lib/libc.so.5.4.46.newlib

I wonder if anyone would be kind enough to let me know which libs will
allow me to compile *and use* octave?

Thanks for this!

cheers,
        Alasdair

-- 
Alasdair McAndrew

School of Communications and Informatics     Phone: +61 3 9688 4344
Victoria University of Technology            Fax:   +61 3 9688 4050
P.O. 14428, Melbourne City Mail Centre  address@hidden
Melbourne, Vic 8001, Australia         http://cams.vut.edu.au/~amca



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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