2012-09-05 3 views
0

나는 고무를 통해 아마존 EC2에 내 레일 응용 프로그램을 배포하는이 railscast를 다음 봤는데 수 없습니다 : http://railscasts.com/episodes/347-rubber-and-amazon-ec2레일 배포 : 열린 도서관 'libcurl에'

내가이 입력 지점까지 도착

cap deploy:cold 

그런 다음 나는 다음과 같은 오류 얻을 : 터미널에서

** [out :: web01.foo.com] rake aborted! 
** [out :: web01.foo.com] 
** [out :: web01.foo.com] Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory. 
** [out :: web01.foo.com] Could not open library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory 
** [out :: web01.foo.com] 
** [out :: web01.foo.com] 
** [out :: web01.foo.com] (See full trace by running task with --trace) 
** [out :: web01.foo.com] 
    command finished in 4322ms 
failed: "/bin/bash -l -c 'cd /mnt/sample_app-production/releases/20120905210248 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'" on web01.foo.com 

을 나는 문제가 'libcurl에'과 관련이있다 가정합니다. 어떻게 설치할 수 있습니까?

답변

2

우분투 Lucid 서버에 graphiti을 설치하는 것과 같은 종류의 문제가 발생했습니다.

오류의 원인을 찾지 못했지만 간단한 심볼릭 링크를 사용하는 것이 충분한 해결 방법이었습니다.

cd /usr/lib 
ln -s libcurl.so.4 libcurl.so 
+0

Genius. 감사. – Jamsi