README for the HP Neoview ODBC Drivers for Linux, HP-UX, and IBM AIX(R) (R2.2)
o Run this command:
cc connect_test.c -I/usr/include/hpodbc -L/usr/lib \
-lstd_v2 -lCsup -lunwind -lm -lhpodbc -o connect_test
o On HP-UX (PA-RISC):
aCC -AA connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -lhppa -o connect_test -lm
To use cc for compiling and linking:
o Rename connect_test.cpp to connect_test.c.
o Run this command:
cc connect_test.c -L/usr/lib -I/usr/include/hpodbc \
-lhppa -lstd_v2 -lCsup_v2 -lm -lhpodbc -o connect_test
o On IBM AIX(R):
g++ connect_test.cpp -L/usr/lib -I/usr/include/hpodbc \
-lhpodbc -o connect_test
3. If needed, modify the /etc/hpodbc/MXODSN file.
4. Run the sample program:
./connect_test -d <datasource> -u <userid> -p <password>
1.3 Related Product Documentation
For more information about the ODBC Linux, HP-UX, and IBM AIX(R) drivers,
see the HP Neoview ODBC Drivers Manual. This manual is available on the
Business Intelligence Solutions page of docs.hp.com:
http://docs.hp.com/en/busintellsol.html.