Bug#339442: [Pkg-octave-devel] Bug#339442: octave2.9: error at startup: __gnuplot_init__ undefined

John W. Eaton jwe at bevo.che.wisc.edu
Wed Nov 16 16:42:41 UTC 2005


On 16-Nov-2005, Alberto Maurizi wrote:

| On Wed, Nov 16, 2005 at 04:48:57PM +0100, Rafael Laboissiere wrote:
| > Thanks for the extra-info.  What do you get for this:
| > 
| >     echo "which gplot" | octave-2.9.4 -q
| > 
| 
| 	here it is:
| 
| alberto at krsna:~/ echo "which gplot" | octave-2.9.4 -q
| error: `__gnuplot_init__' undefined near line 141 column 1
| error: near line 141 of file `/usr/lib/octave/2.9.4/oct/i486-pc-linux-gnu//PKG_ADD'
| error: source: error sourcing file `/usr/lib/octave/2.9.4/oct/i486-pc-linux-gnu//PKG_ADD'
| error: near line 10 of file `/usr/share/octave/2.9.4/m/startup/octaverc'
| gplot is the dynamically-linked function from the file
| /usr/lib/octave/2.9.4/oct/i486-pc-linux-gnu/gplot.oct

So what is in the file

  /usr/lib/octave/2.9.4/oct/i486-pc-linux-gnu//PKG_ADD

on your system?  Does it contain a line like

  autoload ("__gnuplot_init__", "...");

before the line

  __gnuplot_init__ ();

?  If so, precisely what is the second argument to the autoload
command?  Does the file named there exist on your system?  What
permissions does it have?

jwe






More information about the Pkg-octave-devel mailing list