Probably bad values returned by php-config for `--ldflags' and `--libs' (Slackware current)
by Chalapticus from LinuxQuestions.org on (#5AAAA)
I tried to build graphviz-2.44.1 on i586 current, but it failed missing `-lc-client'. After grepping through the source/build directory it seems that this flag comes from the PHP_LIBS variable set by configure.
I believe the configure script sets PHP_LIBS using `php-config' and indeed `php-config --ldflags' prints `-L/usr/local/lib/c-client/lib' and `php-config --libs' mentions `-lc-client'.
The mentioned library directory does not exist and I did not find `libc-client*' in any official Slackware package.
I then checked x86_64 and situation is similar, also on a 14.2 install.
I searched the forums and found that this behaviour probably has something to do with building the static c-client imap lib from alpine only temporarily for compiling PHP.
Still I think the output of php-config is false.


I believe the configure script sets PHP_LIBS using `php-config' and indeed `php-config --ldflags' prints `-L/usr/local/lib/c-client/lib' and `php-config --libs' mentions `-lc-client'.
The mentioned library directory does not exist and I did not find `libc-client*' in any official Slackware package.
I then checked x86_64 and situation is similar, also on a 14.2 install.
I searched the forums and found that this behaviour probably has something to do with building the static c-client imap lib from alpine only temporarily for compiling PHP.
Still I think the output of php-config is false.