octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53446] Segmentation fault of standalone progr


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #53446] Segmentation fault of standalone program (stable branch 4.3.0+)
Date: Sat, 24 Mar 2018 12:51:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #53446 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #1:

Both of these work properly for me with a copy of Octave built and installed
from HG ID 15d2f32db174 (stable) tip.

Are you sure that you are running with the proper libraries?  If you install
Octave in non-standard location, you may need to use LD_LIBRARY_PATH to ensure
that you are using the libraries that correspond to your self-installed Octave
instead of some other one that is installed on the system.

I installed in /usr/local/octave/dev-stable, so I used


$ mkoctfile --link-stand-alone -o standalone standalone.cc
$ mkoctfile --link-stand-alone -o embedded embedded.cc
$ LD_LIBRARY_PATH=/usr/local/octave/dev-stable/lib/octave/4.3.0+ ./standalone
Hello Octave world!
 11 12
 21 22
$ LD_LIBRARY_PATH=/usr/local/octave/dev-stable/lib/octave/4.3.0+ ./embedded
GCD of [10, 15] is 5



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53446>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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