ubuntu安装greenplum依赖包
ubuntu安装greenplum的过程中有两个比较难找的包,特地写出来给大家分享一下:
错误提示1:configure: error: header file <ldap.h> is required for LDAP
解决:sudo apt-get install libldap2-dev
错误提示2:checking for curl-config...
no *** The curl-config script could not be found.
Make sure it is *** in your path, and that curl is properly installed. ***
Or see http://curl.haxx.se/ configure: error: Library requirements (curl) not met.
解决:sudo apt-get install libcurl4-openssl-dev
错误提示3:/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
../../../src/Makefile.shlib:365: recipe for target 'plperl.so' failed
make[3]: *** [plperl.so] Error 1
这个错误是通过./configure检测不出来,是在make的时候出现的,因为少安装一个依赖包。
解决:sudo apt-get install libperl-dev