Error when installing unixODBC on Vicidial 9

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Error when installing unixODBC on Vicidial 9

Postby falves111 » 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?
falves111
 
Posts: 4
Joined: Sun Jul 12, 2020 12:18 am

Re: Error when installing unixODBC on Vicidial 9

Postby carpenox » Sun Jul 12, 2020 1:15 pm

its telling you its already installed..... What exactly are you trying to do and what are the errors?
Alma Linux 9.4 | SVN Version: 3884 | DB Schema Version: 1720 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2404
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Error when installing unixODBC on Vicidial 9

Postby falves111 » Sun Jul 12, 2020 4:02 pm

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.
falves111
 
Posts: 4
Joined: Sun Jul 12, 2020 12:18 am

Re: Error when installing unixODBC on Vicidial 9

Postby carpenox » Sun Jul 12, 2020 7:39 pm

oops, read it wrong...lol sorry
Alma Linux 9.4 | SVN Version: 3884 | DB Schema Version: 1720 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2404
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests