| 1 | We configure Postgres with --disable-rpath because for the most part we
|
| 2 | want to leave it to ldconfig to determine where libraries are. However,
|
| 3 | for some reason the Perl package puts libperl.so in a nonstandard place
|
| 4 | and doesn't add that place to the ldconfig search path. I think this
|
| 5 | is a Perl packaging bug, myself, but apparently it's not going to change.
|
| 6 | So work around it by adding an rpath spec to plperl.so (only).
|
| 7 |
|
| 8 | Alpine notes:
|
| 9 | This patch is copied from Fedora.
|
| 10 |
|
| 11 | |
| 12 | |
| 13 | @@ -60,6 +60,9 @@
|
| 14 | SHLIB_LINK += -Wl,--export-all-symbols
|
| 15 | endif
|
| 16 |
|
| 17 | +# Force rpath to be used even though we disable it everywhere else
|
| 18 | +SHLIB_LINK += $(rpath)
|
| 19 | +
|
| 20 | REGRESS_OPTS = --dbname=$(PL_TESTDB) --dlpath=$(top_builddir)/src/test/regress
|
| 21 | REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
|
| 22 | plperl_elog plperl_util plperl_init plperlu plperl_array \
|