[Asterisk-Users] Unable to find libiodbc.so.2

Manuel Wenger manuel.wenger at ticinocom.com
Tue Jun 22 07:43:21 MST 2004

I was finally able to compile asterisk with cdr_odbc.so. But now for some reason I get that error:

*CLI> load cdr_odbc.so
Jun 22 16:38:53 WARNING[-1084309376]: loader.c:240 ast_load_resource: libiodbc.so.2: cannot open shared object file: No such file or directory
Unable to load module cdr_odbc.so

But the file is there...

# ls -lag /usr/local/lib/libiodbc.so*
lrwxrwxrwx    1 root           17 Jun 22 15:23 /usr/local/lib/libiodbc.so -> libiodbc.so.2.1.9
lrwxrwxrwx    1 root           17 Jun 22 15:23 /usr/local/lib/libiodbc.so.2 -> libiodbc.so.2.1.9
-rwxr-xr-x    1 root      1448547 Jun 22 15:23 /usr/local/lib/libiodbc.so.2.1.9

How do I tell cdr_odbc where to look for that file? These are all questions I couldn't find the answers to by looking anywhere... Am I the only one using cdr_odbc, or does it just plain work everywhere else? :)


Ticinocom SA - Via Stazione 5 - 6600 Muralto
Tel 0844 007070 - Fax 0844 007071

More information about the asterisk-users mailing list