Hi, I got similar problem. What can I fix? E1 Brian & Shannon Windsor wrote: > I have mysql in /home/brian/mysql, php in /usr/local, and apache in > /home/brian/apache. > > I'm only having problems with the apache compile. I can get the server to > run if I compile > it without trying to activate the php module. This last time, I even left > all the enable > flags out of the php compile to see if that had anything to do with it. > I'm > stumped. I've > already started building my database in mysql, but I really need to get > phpMyAdmin to run > so my life will be easier and I can see the results of my scripts. Any > help would be greatly > appreciated. > > Thanks, > > Brian > > > Here's what I did. I reinstalled mysql as > > ./configure --prefix=/home/brian/mysql > > I check it, and it works fine. I then installed php with the following > options... > > ./configure --with-mysql=/home/brian/mysql > > I got no errors when doing make or make install. > > I then configure apache with > > ./configure --prefix=/home/brian/apache > --activate-module=src/modules/php4/l ibphp4.a > > When running make on apache, I keep getting undefined references..examples > follow. > > > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1193: undefined reference > to `mysql_fetch_field' > modules/php4/libphp4.a(php_mysql.o): In function `php_mysql_fetch_hash': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1308: undefined reference > to `mysql_fetch_row' > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1308: undefined reference > to `mysql_fetch_lengths' > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1319: undefined reference > to `mysql_field_seek' > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1320: undefined reference > to `mysql_fetch_field' > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1320: undefined reference > to `mysql_fetch_field' > modules/php4/libphp4.a(php_mysql.o): In function `php_if_mysql_data_seek': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1412: undefined reference > to `mysql_data_seek' > modules/php4/libphp4.a(php_mysql.o): In function > `php_if_mysql_fetch_lengths': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1435: undefined reference > to `mysql_fetch_lengths' > modules/php4/libphp4.a(php_mysql.o): In function > `php_if_mysql_fetch_field': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1530: undefined reference > to `mysql_field_seek' /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1532: > undefined reference to `mysql_fetch_field' > modules/php4/libphp4.a(php_mysql.o): In function > `php_if_mysql_field_seek': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1574: undefined reference > to `mysql_field_seek' modules/php4/libphp4.a(php_mysql.o): In function > `php_mysql_field_info': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1606: undefined reference > to `mysql_field_seek' /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:1607: > undefined reference to `mysql_fetch_field' > modules/php4/libphp4.a(php_mysql.o): In function `_free_mysql_result': > /home/brian/php-4.0.3pl1/ext/mysql/php_mysql.c:169: undefined reference to > `mysql_free_result' > collect2: ld returned 1 exit status > make[2]: *** [target_static] Error 1 > make[2]: Leaving directory `/home/brian/apache_1.3.14/src' > make[1]: *** [build-std] Error 2 > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]