From help-request at octave dot org Fri Jul 15 08:34:44 2005 Subject: Re: dispatch.oct is not a valid shared library From: Quentin Spencer To: Ted Sariyski CC: Octave list Date: Fri, 15 Jul 2005 08:31:09 -0500 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, but the octave and octave-forge in Fedora Extras don't cause this problem for me. I would suggest trying those (after cleaning out what you already have installed), which can be installed on a FC4 system with the command "yum install octave-forge". -Quentin ------------------------------------------------------------- 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 -------------------------------------------------------------