-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Am Montag, 24. M�rz 2003 12:08 schrieb David Blake:
> I've just installed SAP DB 7.4.3-14 on Linux
Good idea ;->

> I've used the source code example in FirstSteps to connect to the SAP
> Database.
 
> I used iODBC to setup the System DSN using
> /opt/sapdb/indep_prog/lib/libsqlod.so for the driver
Correct.
 
> However when I run the program I get an [iODBC][Driver Manager]Data source
> name not found and no default driver specified. Driver could not be loaded.
 
> What is wrong ? Where is the SAP ODBC looking for the odbc.ini

SapDB is looking for the odbc.ini in /usr/spool/sql/ini .
It's nessesary to create a few links, to make SapDB working correctly.

Do this:
        cd /usr
if exists there a "spool" as directory, not as link, move the spool/sql to /var/spool
check the rest of "spool" to be emty!, 
        rmdir spool
        cd /usr && ln -s /var/spool .
        cd /var/spool/sql/ini
        ln -s /etc/odbc.ini

Now it works.
Test it out like:
isql SysDSN user pass

Attention, you will have to use unixodbc-2.2.3 not a 2.2.4/2.2.5 Version, those are 
broken
against SapDB!
You may get unixODBC-2.2.3.tar.gz from http://www.unixodbc.org
Configure/make install it so:
        ./configure --prefix=/usr --sysconfdir=/etc
        make
        make install

Read more round this at http://sapdb.automatix.de 

mfG
        J�rgen
        automatiX Linux  Support Crew
- -- 
J�rgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED] **
** Das Linux Systemhaus - Service - Support - Server - L�sungen **
** http://www.automatix.de http://www.kranautomatisierung.de    **
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+fv64W7UKI9EqarERAs9gAJ9kiwLxuKvu3C3PpL+23FKTEmAQqwCg31yK
MjrmpwJPs1TuL7zACawNyLI=
=LLeL
-----END PGP SIGNATURE-----

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

Reply via email to