Re: php/embed and php-config
| From: | Jani Taskinen | Date: | Fri, 18 Oct 2002 07:47:20 +0000 |
| Subject: | Re: php/embed and php-config | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89706@lists.php.net to get a copy of this message | ||
On Fri, 18 Oct 2002, Wez Furlong wrote:
>I've been playing with php/embed and stumbled on a slight problem with
>php-config - it doesn't include the paths for the libs:
>
>% php-config --libs
>-lrecode -lexpat -lsnmp -lpanel -lncurses -lmysqlclient -lming -lm
>-lintl -lgd -lfreetype -lpng -lz -ljpeg -lexslt -lxsltbreakpoint
>-lxml2 -lxslt -lz -lgdbm -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto
>-lresolv -lm -ldl -lnsl -lcrypt -lcurl -lssl -lcrypto -ldl -lz
>-lxml2 -lz -lm
Seems like php-config misses something.. :)
php4/pear/scripts/php-config.in should propably be using
PHP_LIBS and PHP_LDFLAGS. Now it uses EXTRA_LIBS only..
And for some reason PHP_LIBS is empty.
Sascha, can you enlighten us? :)
--Jani