Error when installing unixODBC on Vicidial 9
Posted: Sun Jul 12, 2020 11:52 am
I am trying to compile the ODBC modules, res_odbc, func_odbc, etc
but unixODBC-devel-2.3.6-lp151.2.3.x86_64 conflicts with libiodbc-devel provided by libiodbc-devel-3.52.12-lp151.2.3.x86_64
if I choose to remove libiodbc-devel then Asterisk will not compile because res_corosync requires libiodbc-devel
How do I install ODBC support to Asterisk so it will not break corosync?
vicibox9:/usr/src/packages/SPECS # rpmbuild -ba asterisk.spec
warning: Macro expanded in comment on line 547: %_libdir/%name/modules/res_corosync.so
error: Failed build dependencies:
pkgconfig(libiodbc) is needed by asterisk-13.29.2-lp151.4.42.x86_64
Also, can somebody suggest how to change the asterisk.spec file to include res_odbc?
but unixODBC-devel-2.3.6-lp151.2.3.x86_64 conflicts with libiodbc-devel provided by libiodbc-devel-3.52.12-lp151.2.3.x86_64
if I choose to remove libiodbc-devel then Asterisk will not compile because res_corosync requires libiodbc-devel
How do I install ODBC support to Asterisk so it will not break corosync?
vicibox9:/usr/src/packages/SPECS # rpmbuild -ba asterisk.spec
warning: Macro expanded in comment on line 547: %_libdir/%name/modules/res_corosync.so
error: Failed build dependencies:
pkgconfig(libiodbc) is needed by asterisk-13.29.2-lp151.4.42.x86_64
Also, can somebody suggest how to change the asterisk.spec file to include res_odbc?