Mailinglisten-Archive |
> cd php-3.0.9
> ./configure --with-mysql=../mysql --with-apache=../apache_1.3.6
~~~~~
Hier mal den vollstaendigen (absoluten) Pfadnamen angeben.
> cd apache_1.3.6
> ./configure --prefix=$HOME/apache --activate-module=src/modules/php3/libphp3.a
>
> Creating Configuration.apaci in src
> /usr/i486-linux/bin/ld: cannot open -lmysqlclient: No such file or directory
> collect2: ld returned 1 exit status
Da kann die libmysqlclient nicht gefunden werden.
Hier mal meine ./configure-Zeile (ja wirklich, in einer Zeile
bzw. durch "\" getrennt):
LIBS="-L/usr/local/lib/mysql -L/usr/local/lib/python1.5 \
-L/usr/local/lib/python1.5/config -lpython1.5 -L/usr/local/lib \
-lmysqlclient -lm -lgd -lgdbm" INCLUDES="-I/usr/local/include \
-I/usr/local/include/python1.5" ./configure \
--activate-module=src/modules/php3/libphp3.a
--activate-module=src/modules/auth_mysql/libauth_mysql.a \
--enable-module=info --enable-module=status --enable-module=rewrite \
--logfiledir=/var/log --activate-module=src/modules/PyApache/mod_pyapache.o
Da ist zwar noch anderer Kram drin, wichtig sind die Include- und
Library-Pfade von mysqlclient.
Beste Gruesse,
Ralf
--
/ ralf_(at)_kuerbis.org -> http://www.kuerbis.org
/ PHP-Center - alles rund um PHP -> http://www.php-center.de
php::bar PHP Wiki - Listenarchive