Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

[PHP4BETA] -lmysqlclient From: Johan Ekenberg (johan <email protected>)
Date: 12/06/99

The usual config --with-mysql=/usr/lib is not enough with the latest CVS
(19991206), PHP compiles alright, but Apache can't find -lmysqlclient,
forcing me to add an extra -L=/usr/local/lib/mysql to the Apache
configuration. What happened?

Configuring Apache dies like this:
 + checking sizeof various data types
cd ..;
gcc -O2 -DLINUX=2 -DMOD_SSL=204109 -I/usr/src/php4.CVS.19991206 -I/usr/src/p
hp4.CVS.19991206/libzend -I/usr/src/p
hp4.CVS.19991206/libzend -I/usr/src/php4.CVS.19991206 -DMOD_PERL -DUSE_PERL_
SSI -Dbool=char -DHAS_BOOL -I/usr/local/incl
ude -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite
./apaci` -I. -I/usr/lib/perl5/5.00503/i686-linux/CORE -L/usr
/src/openssl-0.9.4 helpers/dummy.c -o
lpers/dummy -Wl,-rpath,/usr/local/lib/mysql -Lmodules/php4 -L../modules/ph
p4
-L../../modules/php4 -lmodphp4 -lgdbm -ldl -lmysqlclient -lgd -lm -l
m -lssl -lcrypto -rdynamic -L/usr/local/li
b
/usr/lib/perl5/5.00503/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/pe
rl5/5.00503/i686-linux/CORE -lperl -lndbm
-lgdbm -ldbm -ldb -ldl -lm -lc
/usr/i486-linux/bin/ld: cannot open -lmysqlclient: No such file or directory
make: *** [dummy] Error 1
 + doing sanity check on compiler and options

/Johan Ekenberg

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>