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

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.

Replies are listed 'Best First'.
Re^3: FFI::Platypus; trouble finding non-standard, but present, libs
by swl (Prior) on Oct 30, 2019 at 10:43 UTC

      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.

        Yes, I installed DCMTK using apt-get, the built perl 5.30.0 using perlbrew, installed FFI::CheckLib, and ran your test code.

        But now I see you've solved the issue by updating the regex. It's probably worth reporting to the maintainer. https://github.com/Perl5-FFI/FFI-CheckLib/issues/.