diff -ur a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile
--- a/src/pl/plperl/GNUmakefile	2022-01-08 00:23:39.350000000 +0000
+++ b/src/pl/plperl/GNUmakefile	2022-01-08 00:24:13.230000000 +0000
@@ -53,7 +53,7 @@
 endif # win32
 
 
-SHLIB_LINK = $(perl_embed_ldflags)
+SHLIB_LINK = $(perl_embed_ldflags) $(rpath)
 
 REGRESS_OPTS = --dbname=$(PL_TESTDB)
 REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \