error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory

后端 未结 8 811
滥情空心
滥情空心 2021-02-05 07:06

I use gsl. After I compiled my .cpp file and run it, I faced with below error:

error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such

8条回答
  •  旧巷少年郎
    2021-02-05 08:00

    Have you tried updating your library? The program I was trying to run simply needed a newer version of gsl (I had 1.9.5 while it needed 2.0.0 or newer).

    If you are on arch you can run:

    yaourt gsl
    

    and select the appropriate one.

提交回复
热议问题