Skip to content

Set paths searched by ExtUtils::Liblist::ext() #471

@Flamefire

Description

@Flamefire

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions