libodbcinst.so.2: cannot open shared object file

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

libodbcinst.so.2: cannot open shared object file

Postby vitormazuco » Tue Dec 08, 2015 12:17 pm

I have a Asterisk 11, and I tried to install and configuration for the MySQL ODBC driver in my Ubuntu Server 14.04

I had install ODBC using

Code: Select all
sudo apt-get install unixODBC unixODBC-dev


and unixODBC drivers too.

But when I tried to use
Code: Select all
odbcinst -q -d
return this message

Code: Select all
odbcinst: error while loading shared libraries: libodbcinst.so.2: cannot open shared object file: No such file or directory


How can I fix it?

Thanks
vitormazuco
Oldsterisk
 
Posts: 51
Joined: Mon Mar 02, 2015 11:37 am
Location: São Paulo, Brazil

Re: libodbcinst.so.2: cannot open shared object file

Postby _alx_ » Wed Dec 09, 2015 2:01 am

Check this article

http://astbook.asteriskdocs.org/en/2nd_ ... _odbc.html

You must configure /etc/odbcinst.ini first properly.
_alx_
Oldsterisk
 
Posts: 57
Joined: Fri Oct 16, 2015 1:48 am

Re: libodbcinst.so.2: cannot open shared object file

Postby vitormazuco » Wed Dec 09, 2015 8:26 am

ok, thanks!
vitormazuco
Oldsterisk
 
Posts: 51
Joined: Mon Mar 02, 2015 11:37 am
Location: São Paulo, Brazil


Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest