Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by miturian … -o main main.o neuron.o network.o synapse.o dataAnalysis.o [/CODE] Resulting in: [CODE]neuron.o: In function `neuron… Re: PHP form submit and send email Programming Web Development by trivikrama …= $_REQUEST['rcdata']; $possibility = $_REQUEST['possibility']; $coc = $_REQUEST['coc']; $dataanalysis = $_REQUEST['dataanalysis']; $graphs = $_REQUEST['graphs']; $bioanalysis = $_REQUEST['bioanalysis']; $comments = $_REQUEST['… rows="5" name="dataanalysis" id="dataanalysis"></textarea></td… Re: Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by miturian So, the problem is getting weirder (or more specific, at any rate). I tried compiling the example from [url]http://www.gnu.org/s/gsl/manual/html_node/Root-Finding-Examples.html[/url], and that works just fine. Piling their example into a test.cpp file, and running [CODE]g++ -o test test.o -Wall -g -lgsl -lgslcblas -lm -I /usr/include/gsl [/CODE… Re: Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by miturian So, I believe I now have something close to a minimal example. In both cases, let test.cpp be: [CODE] #include "dummy.h" int main() { dummy object; object.test(); } [/CODE] In case 1, let dummy.h: [CODE] #include <gsl/gsl_roots.h> class dummy{ private: public: void test… Re: Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by miturian So, I found it myself. I hope my blunder will be instructive to others: The binary libraries have to be added at the very end of the call. So putting -lgsl -lgslcblas -lm AFTER dummy.o removed the problem. I was certain that I tested for that fix yesterday, but apparently I didn't, or the repeated installations of GSL and g++ during yesterday … Re: Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by Thibaut Hi there, many thanks for your post. I had the same problem; compiling fine with -lgsl -lgslcblas put before the -o on ubuntu 10.10 64bits, but failed on 11.10 64bits. Moving the options to the end of the command line did the trick. Cheers Thibaut Re: Can't link to GSL binary? (possibly installed it wrong) Programming Software Development by kigali Thibaut, thank you very much! Putting "-lgsl -lgslcblas -lm " after "-o" worked for me too!