내 PC (fedora 16)에서 dblink 모듈 ubder postgresql 8.2.19/contrib/dblink 을 컴파일했습니다.하지만 CentOS로 전환하면 작동하지 않으면 아래 메시지가 표시됩니다.centOS 서버 (64 비트)에서 dblink 모듈을 컴파일하는 방법
gcc -m64 -O3 -funroll-loops -fargument-noalias-global -fno-omit-frame-pointer -g -finline-limit=1800 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fwrapv -I/home/build/builds/greenplum-db/Release-4_1_1_1-build-1_ce_051211-1820/Release-4_1_1_1-build-1_src/ext/rhel5_x86_64/include -Werror -fpic -I/home/gpadmin/greenplum-db/include -w -I. -I/home/gpadmin/greenplum-db/include/postgresql/server -I/home/gpadmin/greenplum-db/include/postgresql/internal -D_GNU_SOURCE -I/home/build/builds/greenplum-db/Release-4_1_1_1-build-1_ce_051211-1820/Release-4_1_1_1-build-1_src/ext/rhel5_x86_64/include -c -o dblink.o dblink.c
dblink.c:1: sorry, unimplemented: 64-bit mode not compiled in
make: *** [dblink.o] error 1
누구나 제안 할 수 있습니까? "포스트 그레스" 실행이에 CentOS에
얻을 : ~/그린 플럼-dB/빈/포스트 그레스 페도라에 수 : /usr/지방/그린 플럼-dB/빈/포스트 그레스
postgresql 8.2.15를 기반으로하는 greeplum 데이터베이스에서 dblink를 사용하고 싶습니다. 따라서 postgresql 8.2.X를 사용해야합니다. – moxpeter
'greenplum'의 pg_config가 'PATH' 설정에 의해 처음 발견 되었습니까? – vyegorov
$ pg_config --pgxs /usr/local/greenplum-db-4.1.0.0/lib/postgresql/pgxs/src/makefiles/pgxs.mk – moxpeter