<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1500929372499_15856">Hi,</div><div id="yui_3_16_0_ym19_1_1500929372499_15856"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856">I am trying to install PHP with postgresql in my image.</div><div id="yui_3_16_0_ym19_1_1500929372499_15856"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">I newly upgraded my image from dizzy to korgoth. I never have been sucessfull porting php + postgresql on my last image.</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">So support postgresql and not mariadb, I have created a php_5.6.23.bbappend. The content of that file is below.</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">PACKAGECONFIG += "pgsql"</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">bitbake return this error :</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25557">ERROR: php-5.6.23-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25558">Rerun configure task after fixing this.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25559">ERROR: php-5.6.23-r0 do_configure: Function failed: do_qa_configure</div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25560">ERROR: Logfile of failure stored in: /home/krogoth/build/tmp/work/core2-64-poky-linux/php/5.6.23-r0/temp/log.do_configure.1851</div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25561">ERROR: Task 791 (/home/krogoth/poky/meta-openembedded/meta-oe/recipes-devtools/php/php_5.6.23.bb, do_configure) failed with exit code '1'</div><div dir="ltr" id="yui_3_16_0_ym19_1_1500929372499_25562"><br id="yui_3_16_0_ym19_1_1500929372499_25563"></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">In config.log from the build directory, I can see the following error that trigger insane.bbclass :</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">warning: library search path "/usr/lib/x86_64-linux-gnu" is unsafe for cross-compilation<br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">and looking for the configure line : I can see this : -L/usr/lib/x86_64-linux-gnu</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">I is very bad, but what can I do to understand where come from that -L ? If I don't include packageconfig pgsql it works well for mariadb.</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">Any hints ?</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">Thank you a lot</div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1500929372499_15856" dir="ltr">Kris</div></div></body></html>