Log in

entries friends calendar profile The Pædantic Programmer Previous Previous Next Next
Notes from UnixODBC + MaxDB - The Pædantic Programmer's LiveJournal
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: , , ,

Leave a comment