SAP::Rfc
am 09.09.2005 18:33:53 von ciaran.brennan
Hello,
I am trying to install and use the module SAP::Rfc. However when I run
make test I keep getting the error below. Can anyone give me any clue
as to how to proceed?
Thanks,
Ciar=E1n
[root SAP-Rfc-1.37]# make test
PERL_DL_NONLAZY=3D1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use....Can't load
'/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' for
module SAP::Rfc: librfccm.so: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/00use.t line 4
Compilation failed in require at t/00use.t line 4.
BEGIN failed--compilation aborted at t/00use.t line 4.
t/00use....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/01sap....Can't load
'/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' for
module SAP::Rfc: librfccm.so: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/01sap.t line 4
Compilation failed in require at t/01sap.t line 4.
BEGIN failed--compilation aborted at t/01sap.t line 4.
t/01sap....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ ---------------=
----
t/00use.t 255 65280 1 1 100.00% 1
t/01sap.t 255 65280 6 11 183.33% 1-6
Failed 2/2 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
[root SAP-Rfc-1.37]#
Re: SAP::Rfc
am 12.09.2005 03:38:36 von Sisyphus
"Ciarán" wrote in message
t/00use....Can't load
'/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' for
module SAP::Rfc: librfccm.so: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/00use.t line 4
Compilation failed in require at t/00use.t line 4.
BEGIN failed--compilation aborted at t/00use.t line 4.
------------------------------------------
It's telling you that
'/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' can't be
loaded because a shared object file (librfccm.so ?) can't be found.
Reasons for the inability to find the file can be that you don't have it, or
there's a directory/file permissions problem associated with it, or that
it's not in a location where it's going to be found.
Cheers,
Rob
Re: SAP::Rfc
am 12.09.2005 13:12:24 von ciaran.brennan
> It's telling you that
> '/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' can't be
> loaded because a shared object file (librfccm.so ?) can't be found.
>
> Reasons for the inability to find the file can be that you don't have it,=
or
> there's a directory/file permissions problem associated with it, or that
> it's not in a location where it's going to be found.
>
> Cheers,
> Rob
Thanks for that, however the file
/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rfc .so is
there and has permissions 777. And also the file librfccm.so is also
in the default location of /usr/sap/rfcsdk/lib with permissions of 777.
That's why this is so confusing. I am running as root and the
permissions of the files seem to be okay.
Thanks,
Ciar=E1n
Re: SAP::Rfc
am 13.09.2005 05:04:41 von Sisyphus
"Ciarán" wrote in message
news:1126523544.323816.164450@g14g2000cwa.googlegroups.com.. .
>> It's telling you that
>> '/usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rf c.so' can't
be
>> loaded because a shared object file (librfccm.so ?) can't be found.
>>
>> Reasons for the inability to find the file can be that you don't have it,
or
>> there's a directory/file permissions problem associated with it, or that
>> it's not in a location where it's going to be found.
>>
>> Cheers,
>> Rob
> Thanks for that, however the file
> /usr/lib/perl5/5.8.6/SAP-Rfc-1.37/blib/arch/auto/SAP/Rfc/Rfc .so is
> there and has permissions 777.
Yep - there's no problem with that file. It's just that a shared lib it
needs can't be found. I *think* that shared lib is librfccm.so, but I'm not
certain of that.
> And also the file librfccm.so is also
> in the default location of /usr/sap/rfcsdk/lib with permissions of 777.
> That's why this is so confusing. I am running as root and the
> permissions of the files seem to be okay.
Can't really help .... except to repeat that there's *some* file that can't
be found. (And that's no help at all ..... sorry :-)
Piers (the SAP::Rfc author) is a fairly obliging and knowledgeable fellow.
He might have some idea what the problem is if you ask. First check the
SAP::Rfc Readme for any pointers it may have (if you haven't done so
already).
Cheers,
Rob