When I try to emerge mod_php 4.3.X with -berkdb in my USE flags, I get this error : checking for jpeg_read_header in -ljpeg... no configure: error: libjpeg not found! !!! ERROR: dev-php/mod_php-4.3.3-r3 failed. !!! Function econf, Line 338, Exitcode 1 !!! econf failed nm tells me that my libjpeg is all right. If I add -pdflib or remove -berkdb to my USE flags, everything works well.
please post: 1. emerge info output 2. /var/tmp/portage/mod_php*/work/php*/config.log 3. the entire output from configure
Created attachment 20078 [details] the output of `emerge info` This show the config I'm used to but for isolating the causes of this problem, I removed the definition of the my USE variable in /etc/make.conf and tried to emerge mod_php, defining the USE directly in the command line, until I got it. That's why I can say this work with "-berkdb -pdflib" but not with "-berkdb" or "-berkdb +pdflib".
Created attachment 20079 [details] the entire output of the `emerge mod_php` command with the config shown in emerge.info
Created attachment 20080 [details] the config log associated to the file configure.out
this is actually the same bug as 27525 from looking at your config.log files. *** This bug has been marked as a duplicate of 27525 ***