When trying to install the Perl DBD-ODBC-0.32 module, compiling it against the SAP DB ODBC driver (libsqlod.so), the make seems to be ok, but on make test the tests fail with a segfault as soon as they try to connect. This happens on a Red Hat 7.1 system with SAP DB 7.3.0.20 installed from RPM's.
I have also tried to use the "patch" version that I found on the FTP-server (sapdb-odbc-linux-i386-7.3.0.21.tar.gz) but the problem remains the same. I was able to use the ODBC driver with SAP DB on Solaris without this problem, so I think there must be some problem with this Linux version. I would appreciate it if somebody from SAP could comment on this... Could it be that the ODBC driver expects any specific library versions? I'm using glibc-2.2.4-19. Here's what gdb shows after the core dump: gdb /usr/bin/perl ./core GNU gdb 5.0rh-5 Red Hat Linux 7.1 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... Core was generated by `/usr/bin/perl -w t/09bind.t'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/i686/libm.so.6...done. Loaded symbols for /lib/i686/libm.so.6 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libutil.so.1...done. Loaded symbols for /lib/libutil.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI/DBI.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI/DBI.so Reading symbols from blib/arch/auto/DBD/ODBC/ODBC.so...done. Loaded symbols for blib/arch/auto/DBD/ODBC/ODBC.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_nisplus.so.2...done. Loaded symbols for /lib/libnss_nisplus.so.2 #0 __strtol_internal (nptr=Cannot access memory at address 0x3c573d0a ) at eval.c:36 36 eval.c: No such file or directory. in eval.c Regards, Jeroen Boomgaardt _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
