-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I have downloaded the pg_bulkload for postrgres and trying to install it in the AWS EC2 redhat linux system. But i am getting the /bin/ld: cannot find -lpgport error.
[root@ip-10-220-146-50 pg_bulkload]# make
make[1]: Entering directory /opt/pg_bulkload/bin' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard pg_bulkload.o recovery.o pgut/pgut.o pgut/pgut-fe.o pgut/pgut-list.o -L/usr/lib64 -lpq -L/usr/lib64/pgsql -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,--build-id -lpgport -lselinux -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -lreadline -lcrypt -ldl -lm -o pg_bulkload /bin/ld: cannot find -lpgport collect2: error: ld returned 1 exit status make[1]: *** [pg_bulkload] Error 1 make[1]: Leaving directory /opt/pg_bulkload/bin'
make: *** [all] Error 2