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 The output that I get is: > ./testGSLMin.exe ./testGSLMin.exe: symbol lookup error: ./testGSLMin.exe: undefined symbol: gsl_multimin_fdfminimizer_vector_bfgs2 Thank you, Hani > g++ -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) -------------------------------------- Hani Neuvirth-Telem Machine Learning Group IBM Research Lab, Israel Phone: 972-3-7689-404 E-mail: [EMAIL PROTECTED] Brian Gough <[EMAIL PROTECTED]> 17/06/2008 17:22 Please respond to [email protected] To Hani Neuvirth-Telem/Haifa/[EMAIL PROTECTED] cc [email protected] Subject Re: [Bug-gsl] fails running gsl_multimin_fdfminimizer_vector_bfgs2 At Sun, 15 Jun 2008 10:17:11 +0300, Hani Neuvirth-Telem wrote: > I tried to test the optimization code that you provide in the > multimin documentation. When I replace the algorithm (by setting > T), to gsl_multimin_fdfminimizer_vector_bfgs2, the code compiles, > but the executable fails running with the following error: > > ./testGSLMin.exe: symbol lookup error: ./testGSLMin.exe: undefined > symbol: gsl_multimin_fdfminimizer_vector_bfgs2 > > (This small modification works with any other algorithm) How should > I fix this? This method was added in version 1.9. If you use a version older than that it won't exist. If this doesn't explain the problem, please send a complete example program with details of your compiler, operating system and version of GSL, thanks. -- Brian Gough
testGSLMin.cpp
Description: Binary data
_______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
