You are viewing cjcollier

entries friends calendar profile The Pædantic Programmer Previous Previous Next Next
The Pædantic Programmer's LiveJournal - Notes from UnixODBC + MaxDB
cjcollier
cjcollier
Share
Notes from UnixODBC + MaxDB
$ dltest /opt/sdb/programs/lib/libsqlod.so SQLAllocHandle
[dltest] ERROR dlopen: /opt/sdb/programs/lib/libsqlod.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE

$ LD_PRELOAD=libstdc++.so.5 dltest /opt/sdb/programs/lib/libsqlod.so SQLAllocHandle

I put this example odbcinst.ini file in /etc, and this example odbc.ini file in my home directory as $HOME/.odbc.ini, and then ran the following:

$ LD_PRELOAD=libstdc++.so.5 isql MailDB dba dba

and voìla! Now to get down to the important bits...

Tags: , , ,

profile
C.J. Adams-Collier
User: cjcollier
Name: C.J. Adams-Collier
calendar
Back June 2010
12345
6789101112
13141516171819
20212223242526
27282930
Ads by Google
foo. bar.
page summary
tags