Hi,

I have still problems using ODBC:

-------- configuration -----------
SuSE 8.1
unixODBC-2.2.2
perl-DBD-ODBC-0.43
sapdb-callif-7.3.0.29
perl-5.8.0

odbc.ini:
[OTRS]
Description = SAPDB OTRS
Driver = SAPDB
ServerNode = localhost
ServerDB = OTRS

odbcinst.ini:
[SAPDB]
Description = SAPDB
Driver = /opt/sapdb/interfaces/odbc/lib/libsqlod.so
Setup = /usr/lib/unixODBC/libsapdbS.so.1
FileUsage = 1
-----------------------------------

--------------- first test ---------------

Menaechmus:/etc/unixODBC # isql OTRS dba dba
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> select owner from users
+---------------------------------+
| OWNER                           |
+---------------------------------+
| DBA                             |
| DBA                             |
| DBA                             |
| DBA                             |
+---------------------------------+
1 rows affected
4 rows returned
SQL> quit
-------------------------------------

it seems to be OK but now:

odbc.pl:
#!/usr/bin/perl

use DBI;

$dbh = DBI->connect("DBI:ODBC:OTRS", "dba", "dba");

Menaechmus:~ # ./odbc.pl
Segmentation fault


Can anyone help here?



CU,

   Wolfgang


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to