-lmysqlclient

From: Date: Mon, 06 Dec 1999 14:08:52 +0000
Subject: -lmysqlclient
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7510@lists.php.net to get a copy of this message
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

« previous php.version4 (#7510) next »