Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
PostgreSQL C++ Interface version 14.9 using static library instead of shared library - Mailing list pgsql-general
From
M Tarkeshwar Rao
Subject
PostgreSQL C++ Interface version 14.9 using static library instead of shared library
Date
October 20, 2023
13:50:07
Msg-id
PAWPR07MB1009562738C1D6E857D37B52EAEDBA@PAWPR07MB10095.eurprd07.prod.outlook.com
Whole thread
Raw
Responses
Re: PostgreSQL C++ Interface version 14.9 using static library instead of shared library
Re: PostgreSQL C++ Interface version 14.9 using static library instead of shared library
List
pgsql-general
Tree view
Hi
While compiling
PostgreSQL C++ Interface version 14.9 . Found that libpq.so is getting created with libssl.a and libcrypto.a instead of shared library libssl.so and libcrypto.so.
It is created like below:
user@seli[postgres/14.9/lib]$
ldd libpq.so
linux-vdso.so.1 (0x00007ffe67fed000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007efcf11b3000)
libc.so.6 => /lib64/libc.so.6 (0x00007efcf0df8000)
/lib64/ld-linux-x86-64.so.2 (0x00007efcf1b26000)
However it should use ssl and crypto as shared library like following:
Same when we compiled for 14.8, Its ldd out shows following:
user@seli[postgres/14.8/lib]$
ldd libpq.so
linux-vdso.so.1 (0x00007ffcf715d000)
libssl.so.3 => /scm/FE/SW_3pp_cm/em21_9/sles/15/openssl/3.1.2/lib64/libssl.so.3 (0x00007f23066f8000)
libcrypto.so.3 => /scm/FE/SW_3pp_cm/em21_9/sles/15/openssl/3.1.2/lib64/libcrypto.so.3 (0x00007f2305fb3000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2305d94000)
libc.so.6 => /lib64/libc.so.6 (0x00007f23059d9000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f23057d5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2306bee000)
Any suggestion and feedback , why it is taking static library instead of shared object ?
Also there is the size difference of libpq.so. in 14.8 it is around 320 kb and in 14.9 it is around 6 mb
.
Thanks
Tarkeshwar
pgsql-general
by date:
Previous
From:
Marcin Borkowski
Date:
20 October 2023, 11:29:25
Subject:
Is postgres_fdw "safe"?
Next
From:
B Liu
Date:
20 October 2023, 14:04:37
Subject:
pgagent download link missing
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies