ID: 15685 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: SuSE Linux 6.3 PHP Version: 4.1.1 New Comment:
You're messing with static and dynamic builds of PHP. You should either compile Apache normally (without PHP, but with --enable-module=so), and PHP with --with-apxs=/path/to/apxs, or compile PHP with --with-apache=/path/to/apache and Apache with --activate-module=/path/to/php/module For more information see the manual or ask support on the appropriate mailinglist. Previous Comments: ------------------------------------------------------------------------ [2002-02-23 05:25:32] [EMAIL PROTECTED] Hi, I hope that someone can help- my problem is exactly the one in bug report #5030, which has been closed with "should work now", but no hint HOW the guy got it to work. My system: SuSe Linux 6.3 Apache 1.3.23 MySQL 3.23.47 PHP 4.1.1 The Guy from #5030 had different versions, but got the same fail on the apache make: I configure and build php4 with: ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/sbin/apxs --enable-track-vars --with-xml --with-gettext --with-xml --with-mycrypt and then configure and build apache-1.3.23 with: ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a This thing works fine, until when I run make, which terminates with: ........... modules/php4/libphp4.a(php_mysql.o): In function `php_mysql_field_info': /home/admin/php-4.0.0/ext/mysql/php_mysql.c:1574: undefined reference to `mysql_field_seek' /home/admin/php-4.0.0/ext/mysql/php_mysql.c:1575: undefined reference to `mysql_fetch_field' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/home/admin/apache_1.3.12/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/admin/apache_1.3.12' make: *** [build] Error 2 What am I doing wrong ? Is there some option that I could include with my apache- configure ? Thanks, Robert Zrim ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15685&edit=1