I’ve compiled Asterisk in 64 bit using UnixODBC and freeTDS libraries, which were also compiled on the same machine.
But, on running Asterisk, i get the following error:
[cdr_odbc.so]May 15 10:55:27 WARNING: loader.c:325 __load_resource: ld.so.1: asterisk: fatal: relocation error: file /export/home/tulika/utilities/unixODBC-2.2.9-64bit/unixODBC-2.2.9/DriverManager/.libs//libodbc.so.1: symbol lt_dlopen: referenced symbol not found
May 15 10:55:27 WARNING: loader.c:554 load_modules: Loading module cdr_odbc.so failed!
When i check ‘libodbc.so.1’ using ‘nm’ the symbol ‘lt_dlopen’ is UNDEF.
But, the 32 bit version of Asterisk is executing absolutely fine!
What may be the issue? And where should i look for rectification?