Article 5AAAA Probably bad values returned by php-config for `--ldflags' and `--libs' (Slackware current)

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.latest?d=yIl2AUoC8zA latest?i=Jz_43cC-PKA:MYBvxDrwOgA:F7zBnMy latest?i=Jz_43cC-PKA:MYBvxDrwOgA:V_sGLiP latest?d=qj6IDK7rITs latest?i=Jz_43cC-PKA:MYBvxDrwOgA:gIN9vFwJz_43cC-PKA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments