[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34997] Octave tries to load shared libraries
From: |
Satish BD |
Subject: |
[Octave-bug-tracker] [bug #34997] Octave tries to load shared libraries even with --disable-shared |
Date: |
Tue, 06 Dec 2011 11:49:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 |
URL:
<http://savannah.gnu.org/bugs/?34997>
Summary: Octave tries to load shared libraries even with
--disable-shared
Project: GNU Octave
Submitted by: bdsatish
Submitted on: Tue 06 Dec 2011 11:49:43 AM GMT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Installation
Status: None
Assigned to: None
Originator Name: Satish BD
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.3
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
I was installing specfun-1.0.9 (with Octave 3.4.3) when I encountered this
error:
octave:1> pkg install /tmp/specfun-1.0.9.tar.gz
warning: function /home/debian/octave/specfun-1.0.9/erfcx.m shadows abuilt-in
function
warning: /home/debian/octave/specfun-1.0.9/laguerre.m: possible Matlab-style
short-circuit operator at line 30, column 11
warning: gen_doc_cache: unusable help text found in file 'test_sncndn'
warning: load_path:
/home/debian/octave/specfun-1.0.9/x86_64-unknown-linux-gnu-api-v45+: No such
file or directory
no API for dynamic loading is available
error: called from `gen_doc_cache>create_cache' in file
/home/debian/foss/installed/octave/share/octave/3.4.3/m/help/gen_doc_cache.m
near line 93, column 17
error: called from:
error: /home/debian/foss/installed/octave/share/octave/3.4.3/m/pkg/pkg.m at
line 832, column 5
error: /home/debian/foss/installed/octave/share/octave/3.4.3/m/pkg/pkg.m at
line 361, column 9
Ignoring the warnings, the error says "no API for dynamic loading is
available". This is a bug because it is trying to load shared libraries, even
when they were disabled:
# Debian Squeeze, x86_64
./configure --prefix=$HOME/foss/installed/octave \
--disable-shared --disable-dl --enable-static --with-pic \
--with-blas="-L/home/debian/foss/installed/lapack -lblas" \
--with-lapack="-L/home/debian/foss/installed/lapack -llapack"
That "no api.." error msg seems to come from oct-shlib.cc file. Some
discussion about this bug is here:
http://sourceforge.net/mailarchive/forum.php?thread_name=CABDtPkQieDrxX-sP1EMMaWmVd6Vg%3DQiRGN-Myu6Sq1fvPHkEHw%40mail.gmail.com&forum_name=octave-dev
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34997>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34997] Octave tries to load shared libraries even with --disable-shared,
Satish BD <=