# Libodbcinst.so.2: cannot open shared object file

**URL:** <https://community.asterisk.org/t/libodbcinst-so-2-cannot-open-shared-object-file/50064>\
**Category:** Asterisk Support\
**Created:** [December 8, 2015, 6:17pm UTC](https://community.asterisk.org/t/libodbcinst-so-2-cannot-open-shared-object-file/50064 "2015-12-08T18:17:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vitormazuco](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vitormazuco](https://community.asterisk.org/u/vitormazuco)\
**Post date:** [December 8, 2015, 6:17pm UTC](https://community.asterisk.org/t/libodbcinst-so-2-cannot-open-shared-object-file/50064/1 "2015-12-08T18:17:59Z")

</div>

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

```auto
sudo apt-get install unixODBC unixODBC-dev
```

and unixODBC drivers too.

But when I tried to use `odbcinst -q -d` return this message

```auto
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

---

<div class="post-metadata">

**Author:** ![\_alx\_](https://avatars.discourse-cdn.com/v4/letter/_/4da419/32.png) [@\_alx\_](https://community.asterisk.org/u/_alx_)\
**Post date:** [December 9, 2015, 8:01am UTC](https://community.asterisk.org/t/libodbcinst-so-2-cannot-open-shared-object-file/50064/2 "2015-12-09T08:01:52Z")

</div>

Check this article

[astbook.asteriskdocs.org/en/2nd\_ … \_odbc.html](http://astbook.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/installing_configuring_odbc.html)

You must configure /etc/odbcinst.ini first properly.

---

<div class="post-metadata">

**Author:** ![vitormazuco](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vitormazuco](https://community.asterisk.org/u/vitormazuco)\
**Post date:** [December 9, 2015, 2:26pm UTC](https://community.asterisk.org/t/libodbcinst-so-2-cannot-open-shared-object-file/50064/3 "2015-12-09T14:26:26Z")

</div>

ok, thanks!
