[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems with lite-kernel and friends
From: |
John W. Eaton |
Subject: |
problems with lite-kernel and friends |
Date: |
Thu, 2 Apr 1998 12:54:01 -0600 |
On 2-Apr-1998, Mario Storti <address@hidden> wrote:
|
| I successfully compiled Octave under Linux RedHat 5.0. The executable
| was >10Mb in size and I need dynamic-linking in order to run .oct
| files, so that I tried:
|
| $ ./configure --enable-shared --enable-lite-kernel --enable-dl
|
| but then Octave can't find some routines (those in libcruft, I guess),
| for instance:
|
| > octave> rand(10)
| > error: `rand' undefined near line 6 column 1
| > error: evaluating index expression near line 6, column 1
| > octave> eig(a)
| > error: `eig' undefined near line 8 column 1
| > error: evaluating index expression near line 8, column 1
| > octave>
|
| I had to manually add `/usr/local/lib/octave' to `/etc/ld.so.conf' and
| run `ldconfig'. It seems that the octave libraries liboctinterp.so,
| liboctave.so and libcruft.so are properly installed in the
| ld.so.cache.
I don't think you should have to do that if Octave was linked with the
correct -rpath option.
| Sorry if this is a dumb question.
|
| Any hints?
Are the .oct files installed? What is your LOADPATH?
jwe