Page 1 of 1

Error when installing unixODBC on Vicidial 9

PostPosted: Sun Jul 12, 2020 11:52 am
by falves111
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?

Re: Error when installing unixODBC on Vicidial 9

PostPosted: Sun Jul 12, 2020 1:15 pm
by carpenox
its telling you its already installed..... What exactly are you trying to do and what are the errors?

Re: Error when installing unixODBC on Vicidial 9

PostPosted: Sun Jul 12, 2020 4:02 pm
by falves111
It is not saying that. It says that if I want to install unixODBC, then the library libiodbc-devel has to go. But the corosync will not compile.

Re: Error when installing unixODBC on Vicidial 9

PostPosted: Sun Jul 12, 2020 7:39 pm
by carpenox
oops, read it wrong...lol sorry