I have made my first XS module and need some help in creating the Makefile.PL. The module uses a library which is installed in '/usr/local/lib'. When I run my script I get an error:
Can't load '/usr/local/lib64/perl5/auto/Mail/SPF_Check.so' for module
+Mail::SPF_Check: libspf2.so.2: cannot open shared object file: No suc
+h file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.
If I set the path using
The script works. I'm sure there is a way of setting this path in the Makefile (using LIBS =>  ?) but I can't work out the correct syntax.
UPDATE - found the solution, see my comment below.