help-octave
[Top][All Lists]
Advanced

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

Re: dispatch.oct is not a valid shared library


From: John W. Eaton
Subject: Re: dispatch.oct is not a valid shared library
Date: Fri, 15 Jul 2005 09:39:56 -0400

On 15-Jul-2005, Quentin Spencer wrote:

| Ted Sariyski wrote:
| 
| > Hi,
| > I installed octave-2.1.71  and octave-forge-2005.06.13 on i686/FC4 
| > with '--with-f77=gfortran'.  Installation went fluent but when run 
| > octave I get:
| >
| > error: 
| > 
/usr/local/libexec/octave/2.1.71/site/oct/i686-pc-linux-gnu/octave-forge/dispatch.oct
 
| > is not a valid shared library
| > error: `dispatch' undefined near line 2 column 1
| > error: near line 2 of file 
| > `/usr/local/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
| > error: source: error sourcing file 
| > `/usr/local/share/octave/2.1.71/site/m/octave-forge/comm//PKG_ADD'
| > error: near line 1 of file `/home/tsariysk/.octaverc'
| >
| > %~/ more .octaverc
| >    LOADPATH = [ 
| > '/usr/local/octave-2.1.71/libexec/octave/2.1.71/site/oct/i686-p
| > 
c-linux-gnu/octave-forge:/usr/local/octave-2.1.71/share/octave/2.1.71/site/m/oct
 
| >
| > ave-forge//:', LOADPATH ];
| >
| >    EXEC_PATH = [ 
| > '/usr/local/octave-2.1.71/libexec/octave/2.1.71/site/exec/i686
| > -pc-linux-gnu:', EXEC_PATH ];
| >
| > What is 'dispatch.oct is not a valid shared library'   and what is 
| > wrong with .octaverc?
| > Thanks, Ted
| 
| 
| So, it looks like you built from source? It's not obvious to me what's 
| going wrong here,

I'd guess that you need to configure with --enable-shared to use .oct
files.  You might also want to use --disable-static unless you
specifically need the static .a library files.  The default options
have changed for 2.9.x.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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