on 09-13-2007 7:24 AM
Hi all!
I'm trying to register vscan_rfc as a server program. I go to the kernel directory and type:
<b>./vscan_rfc -aVSCAN_RSQ -grsqsrv -xsapwg01 -V /usr/sap/RSQ/AntiVir/libantivirvsa.so</b>
The provided parameters are correct, but vscan_rfc fails to initialize. In dev_VSCAN.trc i can see this:
-
<i>*** ERROR => DlLoadLib: dlopen()= /usr/sap/RSQ/AntiVir/libantivirvsa.so: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success) [dlux_mt.c 314]</i>
-
That's the problem. /usr/sap/RSQ/AntiVir/libantivirvsa.so exists and has the proper file permissions, but still vscan_rfc fails to see it. Any suggestions?
Dear Juha,
please check, if libantivirvsa.so is loadable in general:
ldd /usr/sap/RSQ/AntiVir/libantivirvsa.so
What's the output of the above command?
Thanks,
Hannes Kuehnemund
SAP LinuxLab, Walldorf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, here's the output:
-
uname- a
Linux ff202 2.6.5-7.257-smp #1 SMP Mon May 15 14:14:14 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
file /usr/sap/RSQ/AntiVir/libantivirvsa.so
/usr/sap/RSQ/AntiVir/libantivirvsa.so: symbolic link to `libantivirvsa.so.1.1.2'
ldd /usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0x55588000)
/lib/ld-linux.so.2 (0x56555000)
file ./vscan_rfc
./vscan_rfc: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped
ldd ./vscan_rfc
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a9566d000)
librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a95770000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000002a95879000)
librfcum.so => /sapmnt/RSQ/exe/librfcum.so (0x0000002a9598d000)
xml63d.so => /sapmnt/RSQ/exe/xml63d.so (0x0000002a95faf000)
sapcpp46.so => /sapmnt/RSQ/exe/sapcpp46.so (0x0000002a96200000)
libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x0000002a963e7000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a965c4000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a9671d000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a96828000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a9693c000)
/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
libsapu16_mt.so => /sapmnt/RSQ/exe/libsapu16_mt.so (0x0000002a96b64000)
libsapu16.so => /sapmnt/RSQ/exe/libsapu16.so (0x0000002a96c8b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000002a95cc4000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a95dcf000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95ee3000)
/lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
Dear Juha,
And this is exactly the problem. /usr/sap/RSQ/AntiVir/libantivirvsa.so.1.1.2 is a 32-bit library, which cannot be loaded by the 64-bit vscan_rfc progam. You either have to use a 32-bit vscan_rfc program, or a 64-bit libantivirvsa.so.1.1.2.
I would suggest to get the 64-bit version of libantivirvsa.so.
Thanks,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.