help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Shared libraries


From: address@hidden
Subject: RE: Shared libraries
Date: Fri, 17 Aug 2001 12:24:03 -0400

OK, I can narrow the problem down a little bit. I just finished building Octave 
with shared libraries but no lite-kernel:

"./config --prefix=... --enable-shared --enable-dl"

This time it worked, so apparently the problem is the "lite-kernel" option. If 
anyone has an idea of why that would keep some of the functions from being 
available, that would be great.

-Roberto

Original Message:
-----------------
From: Roberto Hernández address@hidden
Date: Fri, 17 Aug 2001 09:21:57 -0300
To: address@hidden
Subject: Shared libraries


I've been working on binding Octave with Tcl/Tk based on John Cowgill's and
Joao Cardoso's work (there's a few messages in the mailing list archives if
anyone's interested). Part of that involves recompiling Octave with one
added C++ file in the "src" directory of the source distribution (version
2.1.34). I've already modified the corresponding Makefile to include the
mentioned file. The functions it contains are then included in the
"liboctinterp" library.

Here's the problem. When I build Octave without shared libraries everything
works perfectly. However when I try with shared libraries, for some reason
the added functions are unavailable once I run Octave. More specifically
these are the configure options:

1. "./configure --prefix=..." the result of which is

  Do internal array bounds checking:       false
  Build static libraries:                  true
  Build shared libraries:                  false
  Minimal kernel option:                   false
  Dynamic Linking (dlopen/dlsym):          true
  Dynamic Linking (shl_load/shl_findsym):  false
  Include support for GNU readline:        true

With these options things work perfectly.

2.
"./configure --prefix=... --enable-shared --enable-lite-kernel --enable-dl"
the result of which is

  Do internal array bounds checking:       false
  Build static libraries:                  true
  Build shared libraries:                  true
  Minimal kernel option:                   true
  Dynamic Linking (dlopen/dlsym):          true
  Dynamic Linking (shl_load/shl_findsym):  false
  Include support for GNU readline:        true

With these options the added functions are unavailable.

I am not very experienced in programming or Linux, so I thought someone with
more knowledge in the area could orient me as to what I need to do.

Thanks,

Roberto Hernandez
address@hidden




-------------------------------------------------------------
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
-------------------------------------------------------------

--------------------------------------------------------------------
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]