Tips for using a custom installed unixODBC version

Don’t forget to link with the new header files (sql.h), instead of the default system  installed version. Do this using “-I/usr/local/include” or whatever the new path is. You should also add “-L/usr/local/lib” to link with the new libraries.

Just be careful because there are now two versions of the same libraries installed, so strange issues could crop up if software compiled with the headers from one version uses the library from the other version (usually segfaults in the library with code that should run correctly).

Leave a Reply

You must be logged in to post a comment.