Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing pg_bulkload #45

Open
rajivgitshib opened this issue Jun 28, 2023 · 0 comments
Open

Error installing pg_bulkload #45

rajivgitshib opened this issue Jun 28, 2023 · 0 comments

Comments

@rajivgitshib
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant