Problems with installing gsl, nothing works

北慕城南 提交于 2019-12-06 11:22:09

问题


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?

来源:https://stackoverflow.com/questions/16962131/problems-with-installing-gsl-nothing-works

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!