I am very proud to share with you all the FreeSWITCH 1.10.5 RPMs for CentOS 7 and 8.
These RPM's are quite different than the originals from the FreeSWITCH team. The outstanding features of these RPM's are:
RPMs are available for CentOS 7 and 8. And you can find it if you type yum search freeswitch.
As I said, there are more than 2200 working hours so far in order to make this possible.
Since this new release, sofia-lib is not shipped in the tarball, instead, it will use the system's library. FreeSWITCH requires sofia-lib >= 1.12; I had issues compiling sofia-lib under CentOS 6. After doing a little debug, I found that I require a newer glib version. I won't mess with that library since it is a core one. Sadly, CentOS 6 RPM for FreeSWITCH. If you really need support for CentOS 6, you will need to contact me privately.
There was more than one issue, most of them were as easy as repacking the old CentOS 7 SRPMS I have been doing or updating new RPM provides. However, the big issue. CentOS 8 is shipped with MariaDB 3:10.3.11 which means it has libmariadb 3.0.7. FreeSWITCH 1.10.x needs at least libmariadb 3.0.9 so, for starters, it cant not be used.
Then, I looked at the official MaríaDB RPM's. The issue here is that they do not have epoch in the versioning (missing epoch means zero). According to the RPM's versioning rules, 3:10.3.11 > 10.4.10, therefore, the RPM engine won't install it. I took a look into the SRPMS from MariaDB but they are not conventional, they are kind of an SRPMS inside another SRPMS. Even if I add the epoch information, when repacking it will get the same useless number. I kept looking for a day without success. Therefore, I couldn't use it.
Disabling the AppStream repository and enabling the MariaDB repository was not an option. The problem was that the AppStream repository has many dependencies within, including the GCC itself. I couldn't disabled right away.
Then I decided to do the impossible mission: to recompile all the needed SRPMS from CentOS 8 in order to be able to disable the AppStream package. It was not easy, it seems CentOS 8 repository planning has some faults:
I repacked no less than 500 SRPM's, after that was done, disabling the AppStream repository was possible and the FreeSWITCH RPM build on CentOS 8 was possible.
UPDATE: I found a way to void packaging everything in the future. The RPM's will still be available but they will get updated when CentOS 8 publish new revisions.
Enjoy!blog comments powered by Disqus
Read about IT, Migration, Business, Money, Marketing and other subjects.
Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.