At Tue, 17 Jun 2008 20:21:27 +0300, Hani Neuvirth-Telem wrote: > > Thanks for your answer. > Unfortunately, this does not explain the problem. > > I use GSL version 1.11, on linux. Compiler info. below. An example program > is attached. > > I compile it using: > g++ testGSLMin.cpp -I .../externalTools/GSL/installed/include/ -o > testGSLMin.exe -L .../externalTools/GSL/installed/lib/ -lgsl -lgslcblas
Since the library is installed in a non-standard directory you will need to set LD_LIBRARY_PATH or equivalent so it can be found. Your executable is probably loading an older version of the shared library which does not have the bfgs2 function. See the section "Shared Libraries" in Chapter 2 of the reference manual for an example. -- Brian Gough Network Theory Ltd, Publishing Free Software Manuals --- http://www.network-theory.co.uk/ _______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
