Hi Jenny,

I'm also an beginner, but lets see.

1) I do not know. I also installed unixODBC-2.0.5-1.i386.rpm, and now its working.
   I also configured the file /etc/odbc.ini (attached) according to the unixODBC 
   docu . Maybe all this is not necessary?
   I will see when I install it on the next machine ;)
   And don't forget to add an entry in /etc/ld.so.conf (attached)

2) try the attached makefile.
   I had lots of problems with the demo progs. looks like the examples are
   not that good. Currently I'm working myself through the MSDN ODBC Documentation,
   but oh man, what a mess.
   But your Problem has propably something to do with nr. 1)

3) ??

Greetings, Axel


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jenny Zhang
Sent: Dienstag, 29. Januar 2002 20:39
To: [EMAIL PROTECTED]
Subject: ODBC starter's question


I've never used ODBC/JDBC before, please forgive me for asking some basic 
quetions:

I am using SAPDB 7.3 on Redhat 7.2.

Questions:
1. For ODBC, I downloaded sapdb-odbc-linux-i386-7.3.0.21.tgz from 
ftp.sapdb.com, Is this all I need? 
2. After extracting the files, I can compile the sample code at
~sapdb/indep_prog/demo/FirstSteps/ODBC
I changed the Makefile to link with libsqlod.a libsqlod.so only (no 
libsqlrte.a libpcr.a). I remember somebody in the mailing list said only 
libsqlod.* lib is required.
But when I execute, I got a coredume when it calls SQLConnect().
3. JDBC is based on ODBC, so I assume ODBC is more efficient that JDBC,
is this correct?

Any answer is highly appreciated!

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

Attachment: Makefile
Description: Binary data

Attachment: odbc.ini
Description: Binary data

Attachment: ld.so.conf
Description: Binary data

Reply via email to