Hi All,

I thought it was working, but neglected to notice it was an earlier version of octave that was installed previously that was running, not octave 3.4. Oops!

I'm still confused, because I thought static meant it didn't need any libraries from anywhere, that they were all linked into the executable (which may be big, but it would be portable).

Rob

On 03/11/2011 08:56 AM, Rob Frohne wrote:
Hi Dan,

Your suggestion led to the solution. It turns out that octave is in the octave-3.4.0/src/.libs/ and so is the octave executable. If I run it from that directory everything works. I was using the run-octave (modified with the paths I copied octave to on the redhat machine) but it didn't work. It appears I can just use the .lib directory or put it in the paths.

Thanks,

Rob

On 03/10/2011 06:24 PM, Daniel J Sebald wrote:
My guess is that

liboctinterp-3.4.0.so

is not ending up in the same location on your Ubuntu machine as where it is expected to be on your RedHat machines. First, check to make sure that liboctinterp-3.4.0.so is something that is in fact built by the Octave build process. If so, check where the library is installed. If that directory is not one accessible on the RedHat machine, then perhaps there is some command line switch during the install process to specify where libraries should be. (I'm not real familiar with building all aspects of Octave though, so it's only a guess.)

But why won't someone with root access to the RedHat machine install Octave? It's part of the RedHat software data base I believe, so it is just a matter of using the Add/Remove Software menu. Or at least install the tools necessary to build Octave? Try building Octave and email the administrator with the tools that are missing, or step the administrator through the build process. (Remember, always gravel. It's an administrator after all.)

Dan


On 03/10/2011 08:06 PM, Rob Frohne wrote:
Hi All,

I and my students need to use octave 3.4 on some Redhat machines where
we don't have root privileges, and so I built octave with the
./configure --enable-static setting on my Ubuntu machine where I do have all the stuff to build octave and burned that onto a DVD and copied that
to the Redhat boxes, but I get:

[rob.frohne@iriri ~/Desktop/octave-3.4.0]$ ./run-octave
/home/rob.frohne/Desktop/octave-3.4.0/src/.libs/lt-octave: error while
loading shared libraries: liboctinterp-3.4.0.so: cannot open shared
object file: No such file or directory
[rob.frohne@iriri ~/Desktop/octave-3.4.0]$

I thought making with static libraries was what I needed to do to make a
portable executable, but I guess there is more too it. Can anyone tell
me what more there is?

Thanks,

Rob



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d



_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev




------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d


_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075                   http://people.wallawalla.edu/~rob.frohne

<<attachment: frohro.vcf>>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to