Problems with installing gsl, nothing works

2019-04-13 02:30发布

I have been having troubles for some time now installing gsl on ubuntu. I followed this guide: http://www.brianomeara.info/tutorials/brownie/gsl with version 1.15. did ./configure, make install, etc. Now im trying to run an example:

http://www.mas.ncl.ac.uk/~ndjw1/teaching/sim/gsl.html

the compile command is gcc -I/usr/include/gsl -lgsl -lgslblasnative gsl_test.c -o gsl_test

and the error I get is: /usr/bin/ld: cannot find -lgslblasnative

I have also tried other examples before with the same error, that it cant find the libraries im trying to access. I am really a newbie to compiling/linking so I do not know what the parameters in these commands mean. And is there any way to check if the installation was successfully completed?

标签: ubuntu gcc gsl
0条回答
登录 后发表回答