PHP integration with Postgresql do_package error during Yocto

I want to build the PHP Configure with Postgresql binary that is pgsql but i got error of do_package during Yocto Build
Error be like

ERROR: php-7.4.9-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. [configure-unsafe]
ERROR: php-7.4.9-r0 do_configure: Fatal QA errors found, failing task.
ERROR: Task (/home/sources/meta-openembedded/meta-oe/recipes-devtools/php/php_7.4.9.bb:do_configure) failed with exit code '1'

below is the local.conf file exceprts:

IMAGE_INSTALL_append +=" postgresql postgresql-contrib postgresql-client postgresql-dev proj proj-dev libpq libpq-dev"

IMAGE_INSTALL_append +=" php php-cli php-cgi php-modphp"

PACKAGECONFIG_pn-php_append = " openssl apache2 mbstring imap soap zip opcache sqlite3 pgsql"

When i add the last package i.e. pgsql i got above error otherwise yocto can build successfully

Please share your views

Hi @smit@masibus.com ,

Welcome to Toradex Community!

What is the Open-Embedded version you are using ?
Did you try this ?

I have open-embedded version of master branch (3.2) only !

I have gone through this link also but didn’t find any solution yet !

Hi @smit@masibus.com ,

Could you please check with the latest Angstrom Open-Embedded 2.8 image ?

Regards,
Deven

I have checked with warrior branch 2.7 but got the same issue

Can you please check on my behalf with angstrom 2.8 ? as per my original post packages!

Hi @smit@masibus.com ,

I can see that there is a recipe available for postgresql in meta-openembedded, see here.
I would suggest you to try to build the latest image at your end.
For latest images see this article.

Regards,
Deven