unixODBC 64位安装及注意事项

来源:互联网 发布:申请淘宝信用借贷 编辑:程序博客网 时间:2024/05/19 17:50

http://unixodbc.13851.n7.nabble.com/unixODBC-manager-and-MySQL-connector-td350.html


If you have installed a 64 bit driver, you need to build the driver manager as 64 bit also.

export CFLAGS=-m64
./configure
make
make install



error while loading shared libraries: libodbc.so.2: 


ldd /sasapps/unixODBC/odbc1/lib/libodbc.so.2

And see if its 32 or 64 bit.

If its 32 bit build as 64 bit.
If its 64 bit, check the lib can be found

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:[yourpath]/unixODBC/odbc1/lib/


-- 
0 0
原创粉丝点击