-
Couldn't load subscription status.
- Fork 80
Description
I recently ran into a problem with Term::Readline::Gnu that picked up an (old) system libreadline found via ExtUtils::Liblist::ext()
We have an updated version of libreadline installed to a custom path and $LD_LIBRARY_PATH and $LIBRARY_PATH etc. (Linux system) set up so e.g. GCC, configure etc. finds it
However ExtUtils::Liblist::ext() seems to only use Config{libpth} which is set by Perl during the build of Perl itself. Hence it ignores the updated path variables.
Is there any way to consider different or at least prefer additional paths using an environment variable or commandline option?
Basically: Use $LIBRARY_PATH instead of Config{libpth}