오빠 (와 호환 언어)를 처음 사용합니다. 일반적으로 Python으로 웹 앱을 개발합니다.opa 파일을 컴파일하는 중 오류가 발생했습니다.
http://doc.opalang.org/index.html#_introducing_opa의 소개 자습서를 따르고 있지만 "hello_chat.opa"를 실행하면 hello_chat.opa 파일이 컴파일되지 않습니다. 다음 오류가 발생합니다.
/usr/bin/ld: cannot find -lgdbm_compat collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking make: * [native] Error 2 error during ocaml compilation -- the command was : make --makefile=Makefile -W Makefile -j 7 native -s
데비안 6.0.2입니다. 위에 링크 된 인트로 튜토리얼에서 "2.1.2. Ubuntu Linux, Debian Linux"의 지침에 따라 opa를 설치했습니다.
루아가 설치되어 있지 않습니다. 그러나 liblua5.1-0이 설치됩니다 (관련성이있는 경우).) 오파 OWASP 목록에서 (참고로)
, libgdbm-dev
을 installng보십시오 :
Concerning libgdbm-dev, it's a rather new dependency and we are not sure we want to keep it. At least we will make it an official dependency for future packages.
다운로드하여 트릭을 만들었습니다. 감사합니다. – lander2k2