Quote:
|
Originally Posted by Quesito
Huy buddy what im suppose to do with the UnixODBC Drivers Folder? can u give me a hand with that? thx.
|
You need to download the
unixODBC-2.3.4.tar.gz file anywhere on the Linux machine you are trying to run the scripts from using SSH (root permissions required).
You can follow this steps (enter them one by one in the terminal).
Code:
cd /usr/local/lib/
sudo mkdir unixODBC
cd unixODBC
you must have wget installed
wget ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.4.tar.gz
gunzip unixODBC-2.3.4.tar.gz
tar xvf unixODBC-2.3.4.tar
cd unixODBC-2.3.4
./configure --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE
make
sudo make install
Make sure your system can find the unixODBC library you just installed to /usr/local/lib by editing the file /etc/ld.so.conf.d/x86_64-linux-gnu.conf to append the path /usr/local/lib/
Then run
And you done.
But if you don't have root access you have to request this driver from your hosting company administrator (ex: you run on a shared hosting).