[Pkg-octave-devel] Strange problem loading an .oct file
Thomas Weber
thomas.weber.mail at gmail.com
Fri Apr 4 19:56:03 UTC 2008
Hi,
sorry for the bad description, but this problem is mysterious.
Octave 3.0.0, debian package, same architecture in both cases
System 1 (my laptop):
===========================================
octave:1> file_in_loadpath ("vtk_init.oct")
ans = /usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu/octaviz/vtk_init.oct
octave:2> vtk_init
error: `vtk_init' undefined near line 2 column 1
===========================================
System 2 (external server):
===========================================
octave:1> file_in_loadpath ("vtk_init.oct")
ans = /usr/lib/octave/site/oct/api-v32/i486-pc-linux-gnu/octaviz/vtk_init.oct
octave:2> vtk_init
octave:3> who
*** dynamically linked functions:
builtin:find builtin:max builtin:min dispatch vtk_init
===========================================
Recompiling the package fixes this, but I would like to understand
what's happening here. An Ubuntu user had a similar problem:
https://bugs.launchpad.net/ubuntu/+source/octave3.0/+bug/204717
I have a suspicion that some library changed and the .oct file is not
"valid" anymore, but how can I verify this?
Specifically, Octave as installed is linked against hdf-1.6.6, whereas
Octaviz was compiled earlier with an Octave version linked againet
hdf-1.6.5.
Thanks
Thomas
More information about the Pkg-octave-devel
mailing list