Problem with compiled Phalcon with PHP 7.2.1

Hello everyone!

I have tried to compile and install Phalcon on my Centos 7.x 64 bit... Compiling is OK but PHP don't load phalcon.so... The response is:

PHP Warning: PHP Startup: Unable to load dynamic library 'phalcon.so' (tried: /usr/lib64/php/modules/phalcon.so (/usr/lib64/php/modules/phalcon.so: undefined symbol: __builtin_saddl_overflow), /usr/lib64/php/modules/phalcon.so.so (/usr/lib64/php/modules/phalcon.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

The module is saved on /usr/lib64/php/modules/phalcon.so...

Any help???

Thanks

edited 7d ago

undefined symbol: __builtin_saddl_overflow

It is compiller issue. You have to upgrade GCC/Clang version. For example GCC:

sudo yum install -y yum-utils  centos-release-scl
sudo yum -y --enablerepo=centos-sclo-rh-testing install devtoolset-7-gcc
echo "source /opt/rh/devtoolset-7/enable" | sudo  tee -a /etc/profile
source /opt/rh/devtoolset-7/enable
gcc --version

Then you have to re-compile Phalcon

Hi Serghei,

thank you. I have tried to install these rpms and re-compiled Phalcon but the response is the same. My GCC version is: 4.8.5. What you think?

You have to use GCC >= 5.0