Problems installing gsl gem

后端 未结 10 712
傲寒
傲寒 2020-12-15 05:12

I can succesfully install the gsl library in my home directory, but when I try to install the gsl gem I get a big list of errors that I do not understand. I am wondering if

10条回答
  •  清歌不尽
    2020-12-15 05:45

    which OS are you on?

    first you need to install gsl and gsl-devel RPMs on your OS as root... e.g. on Fedora Linux:

    sudo yum install -y gsl gsl-devel
    

    then do the gem install gsl or bundle install

    without the gsl-devel package, it will not find the correct C-header files.

    You also need to make sure that those header files are installed in a location which is included in either the LD_LIBRARY_PATH, or listed in /etc/ld.so.conf

提交回复
热议问题