Bundler在GEM软件包em -udns -v&v' 0.3.6.2&#x27上失败了。安装
当我试图在MacOS上运行捆绑包时,
An error occurred while installing em-udns (0.3.6.2), and Bundler cannot continue.
Make sure that `gem install em-udns -v '0.3.6.2' --source '{sourcepath}'` succeeds before bundling.
在“日志文件”打开后,我会发现错误,我发现该
"tar zxf /Users/user/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/em-udns-0.3.6.2/ext/udns-0.4-patched.tar.gz"
./configure
configure... udns package
checking for C compiler... gcc
checking whenever C compiler (gcc) is GNU CC... yes
checking whenever the C compiler (gcc -Wall -W -O2 -pipe)
can produce executables... yes
checking for ranlib... ranlib
checking for getopt()... yes
checking for libraries needed for socket and connect... not found
configure: fatal: cannot find libraries needed for sockets**
如何解决问题?
When I am trying to run bundle install on macOs , I got error on
An error occurred while installing em-udns (0.3.6.2), and Bundler cannot continue.
Make sure that `gem install em-udns -v '0.3.6.2' --source '{sourcepath}'` succeeds before bundling.
After the open of log files I am find the
"tar zxf /Users/user/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/em-udns-0.3.6.2/ext/udns-0.4-patched.tar.gz"
./configure
configure... udns package
checking for C compiler... gcc
checking whenever C compiler (gcc) is GNU CC... yes
checking whenever the C compiler (gcc -Wall -W -O2 -pipe)
can produce executables... yes
checking for ranlib... ranlib
checking for getopt()... yes
checking for libraries needed for socket and connect... not found
configure: fatal: cannot find libraries needed for sockets**
how can I fix the issue ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论