Comments (7)
Its not hard to install but you need to get the dependencies and sometimes symlink things that aren't where make expects them, here's my latest install on Ubuntu Xenial as a shell script.
#!/bin/bash
PG_TARGET=$1
apt-get install "postgresql-server-dev-$PG_TARGET"
apt-get install "build-essential" "git" "libpam0g-dev"
apt-get install "libedit-dev" "libselinux1-dev" "openssl" "libssl-dev"
ln -s "/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2" "/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so"
git clone "https://github.com/ossc-db/pg_bulkload.git" /opt/pg_bulkload
cd /opt/pg_bulkload
make clean
make
make install
ln -s /opt/pg_bulkload/bin/pg_bulkload /usr/local/sbin/pg_bulkload
sudo -u postgres psql postgres < /opt/pg_bulkload/lib/pg_bulkload.sql
from pg_bulkload.
Currently it is the only way to build from source in Ubuntu.
from pg_bulkload.
Hi!
It seems to me that you should ask pgapt (PostgreSQL Debian and Ubuntu Repository Team).
https://redmine.postgresql.org/projects/pgapt/issues
from pg_bulkload.
Hi @brainbuz, I get the following errors during the make:
/usr/bin/ld: cannot find -lpgcommon
/usr/bin/ld: cannot find -lpgport
I have peformed the installation of the pg development packages using: sudo apt-get install postgresql-server-dev-10
Any additional tips?
Thanks
Emil
from pg_bulkload.
egalot I haven't needed to build with either pg 10 or with bionic yet .
/usr/bin/ld is gnu linker so you are either missing a dependency or need to help the linker find it with a symlink. I would guess that since you installed the dev package you need to figure out the missing symlink(s).
from pg_bulkload.
from pg_bulkload.
Well I was too quick to call victory on this one, although the application compiled, additional steps did not execute properly and thus the application fails to properly register itself as a postgres module. I am still hoping to find a solution.
from pg_bulkload.
Related Issues (20)
- new lines in fields HOT 2
- delimiter - extended string syntax
- failed to install HOT 7
- unable to load to citus distributed table
- PostgreSQL 15 support HOT 4
- Cannot Make HOT 4
- update deprecated actoins for github actions
- Make impossible on Ubuntu HOT 6
- Error on Ubuntu
- Extension version pg_bulkload mistake HOT 6
- rpmbuild issue and question
- what is recovery command's major purpose ?
- pg_bulkload on PG13 fails to handle large data duplicates HOT 8
- missing img in the doc
- PostgreSQL 16 support HOT 5
- how to used in windows10/11?
- Put the source code into the contrib directory and use "make". Compile failed HOT 1
- How to filter rows (WHERE CLAUSE)
- Bad table attributes count when parsing
- Bulkload with Input type function ERROR :trying to store minimal tuple into wrong type of slot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_bulkload.