mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
This is the first step to provide and allow installing multiple major versions of PostgreSQL in parallel. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27275
23 lines
861 B
Diff
23 lines
861 B
Diff
We configure Postgres with --disable-rpath because for the most part we
|
|
want to leave it to ldconfig to determine where libraries are. However,
|
|
for some reason the Perl package puts libperl.so in a nonstandard place
|
|
and doesn't add that place to the ldconfig search path. I think this
|
|
is a Perl packaging bug, myself, but apparently it's not going to change.
|
|
So work around it by adding an rpath spec to plperl.so (only).
|
|
|
|
Alpine notes:
|
|
This patch is copied from Fedora.
|
|
|
|
--- a/src/pl/plperl/GNUmakefile
|
|
+++ b/src/pl/plperl/GNUmakefile
|
|
@@ -55,6 +55,9 @@
|
|
|
|
SHLIB_LINK = $(perl_embed_ldflags)
|
|
|
|
+# Force rpath to be used even though we disable it everywhere else
|
|
+SHLIB_LINK += $(rpath)
|
|
+
|
|
REGRESS_OPTS = --dbname=$(PL_TESTDB)
|
|
REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
|
|
plperl_elog plperl_util plperl_init plperlu plperl_array \
|