Closed cobolbaby closed 2 years ago
Before installing the tds_fdw
extension, I installed other extensions and then performed an apt purge -y libssl-dev
operation. Unexpectedly, the missing library caused the problem.
docker run --rm -ti --name pgtest --user root postgres:12.9 bash
$ apt-get update -y && apt-get install -y postgresql-server-dev-12 make gcc
$ ...
$ apt purge -y libssl-dev
$ ...
$ find / -type f -name "pg_config"
# /usr/bin/pg_config
# /usr/lib/postgresql/12/bin/pg_config
$ apt install unzip curl
$ curl -sSL -o /tmp/tds_fdw-2.0.2.tar.gz https://github.com/tds-fdw/tds_fdw/archive/v2.0.2.tar.gz
$ tar -xzf /tmp/tds_fdw-2.0.2.tar.gz -C /tmp/
$ cd /tmp/tds_fdw-2.0.2
$ apt-get install -y libsybdb5 freetds-dev freetds-common
$ make USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/12/bin/pg_config
Issue report
The following information is very important in order to help us to help you. Omission of the following details cause delays or could receive no attention at all.
Operating system
On recent GNU/Linux distributions, you can provide the content of the file
/etc/os-release
Version of tds_fdw
From a
psql
session, paste the outputs of running\dx
If you built the package from Git sources, also paste the output of running
git log --source -n 1
on your git clone from a consoleVersion of PostgreSQL
From a
psql
session, paste the output of runningSELECT version();