keith p wrote:
Dear list members,
I have a problem using the MYEXTLIB option with Inline::C.
I am running on RedHat Linux release 9 with Inline 0.44 and I have put all my external C libraries in a subdirectory named 'lib'.
I have the following code (I just quote the first few lines which are related).
It runs well with the following command "perl foo.pl"
---------------------------------------------------------------------------------
use Cwd qw(cwd);
use Inline C => Config =>
MYTEXTLIB => cwd.'/lib/mylib.so';
..................................................
----------------------------------------------------------------------------------
However, when I moved my foo.pl, the 'lib' subdirectory and the _Inline directory created to another location and run the script directly (without compiling again),
it fails complaining that it is unable to locate the mylib.so external libraray.

Maybe: MYEXTLIB => 'lib/mylib.so';

I don't know if that works. I can't find any documentation that tells me 'yes' or 'no'. I can find some Makefile.PL's that *do* provide a relative path for MYEXTLIB - so I'm hopeful :-)

Just a thought.

Cheers,
Rob

--
Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.




Reply via email to