in reply to [Solved] FFI::Platypus; trouble finding non-standard, but present, libs

Maybe the path being searched is missing the target? https://metacpan.org/pod/FFI::CheckLib#system_path

  • Comment on Re: FFI::Platypus; trouble finding non-standard, but present, libs

Replies are listed 'Best First'.
Re^2: FFI::Platypus; trouble finding non-standard, but present, libs
by Your Mother (Archbishop) on Oct 30, 2019 at 05:38 UTC

    I’m sure that’s true but I’ve tried a LOT of variation adding in the libpath argument too pointing it at the various places the libs really have to be… :| One of the multiple examples–

    perl -MFFI::CheckLib -E 'find_lib_or_exit recurse => 1, lib => "dcmdat +a", libpath => "/Users/moo/depot/osirix/Binaries"' library not found: dcmdata at -e line 1.

        When you say it works, do you mean you have DCMTK installed and that worked? I have no trouble with FFI::CheckLib finding standard stuff like xml2 or jpeg or archive. I will look at the regexes versus the lib files too, thanks for suggesting it.