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

When I try and link I get:
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient

% locate mysqlclient
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.la
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.6
/usr/lib/mysql/libmysqlclient.so.6.0.0


so php-config should convey this information somehow :/
Any volunteers?

--Wez.
(I'm going to hack my ld.so.conf now).

-- 
Wez Furlong
The Brain Room Ltd.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to