[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem to link customer external library into octave
From: |
Alexander Barth |
Subject: |
Re: Problem to link customer external library into octave |
Date: |
Thu, 01 Feb 2007 09:46:29 -0500 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070102) |
Hi Antonio,
What is the output of "ldd /usr/local/lib/libStatistics.so" ?
The symbol __1cDstdJbad_allocG__vtbl_ is probably defined in another library
and you need to compile
with:
mkoctfile varweigth.cc -L/usr/local/lib -lStatistics -lother_external_lib
Cheers,
Alex
a_disabatino wrote:
> Hi everybody,
>
>
> let me post my problem,
> I tried to link inside octave our statistics shared library
> libStatistics.so ,
>
> I typed :
> # mkoctfile -L/usr/local/lib -lStatistics varweigth.cc
>
> the comand has compiled the file, I have got "varweight.oct", file,
>
> but I have got a intenal error inside octave,
>
>
> octave:1> varweight
> error: ld.so.1: octave: fatal: relocation error: file
> /usr/local/lib/libStatistics.so: symbol __1cDstdJbad_allocG__vtbl_:
> referenced symbol not found
> octave:1> help varweight
> error: ld.so.1: octave: fatal: relocation error: file
> /usr/local/lib/libStatistics.so: symbol __1cDstdJbad_allocG__vtbl_:
> referenced symbol not found
>
> help: sorry, `varweight' is not documented
>
> Additional help for built-in functions, operators, and variables
> is available in the on-line version of the manual. Use the command
> `help -i <topic>' to search the manual index.
>
> Help and information about Octave is also available on the WWW
> at http://www.octave.org and via the address@hidden
> mailing list.
> octave:1>
>
>
> sure there will be some wrong ?
>
>
> very appreciate
>
> bye
>
> Antonio
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------
> Scopri se hai Vinto un Tv Color LCD! Clicca qui
> http://click.libero.it/webnation1febb07
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
--
_______________________________________________________________
Alexander Barth
Ocean Circulation Group
University of South Florida
College of Marine Science
140 Seventh Avenue South
St. Petersburg, Florida 33701
USA
Phone: +1-727-553-3508 FAX: +1-727-553-1189
_______________________________________________________________