Rails Typhoeus Curl Trouble

后端 未结 3 588
天涯浪人
天涯浪人 2020-12-11 09:31

I\'m scratching my head on this error since similar errors refer to instances of compiling libcurl from source; however, I am just simply trying to get a former rails projec

3条回答
  •  渐次进展
    2020-12-11 10:18

    Is libcurl properly installed? Typhoeus has no native extensions but it requires libcurl dynamic library (.so) since it works with the FFI library:

    # from lib/typhoeus/curl.rb
    ffi_lib 'libcurl'
    

    I would say that the development files (headers) are not needed so sudo apt-get install libcurl3 should do the trick (otherwise install the devel version w/ SSL support via sudo apt-get install libcurl4-openssl-dev).

提交回复
热议问题