Guest_imported
New member
- Jan 1, 1970
- 0
Hello all..
I am trying to install all of these packages and have the work together. I'm running Mandrake 7.2 and they came pre-installed but MySQL did not work with PHP so I uninstalled Apache, MySQL and PHP. Downloaded the source for each package and followed the instructions at to the T. MySQL setup and PHP setup went fine but when I goto make apache i get ...
modules/php4/libphp4.a(php_mysql.o): In function `php_mysql_field_info':
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1852: undefined reference to `mysql_num_fields'
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1856: undefined reference to `mysql_field_seek'
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1857: undefined reference to `mysql_fetch_field'
modules/php4/libphp4.a(dns.o): In function `php_if_checkdnsrr':
/downloads/php-4.0.6/ext/standard/dns.c:212: undefined reference to `res_search'modules/php4/libphp4.a(dns.o): In function `php_if_getmxrr':
/downloads/php-4.0.6/ext/standard/dns.c:281: undefined reference to `res_search'/downloads/php-4.0.6/ext/standard/dns.c:290: undefined reference to `__dn_skipname'
/downloads/php-4.0.6/ext/standard/dns.c:296: undefined reference to `__dn_skipname'
/downloads/php-4.0.6/ext/standard/dns.c:308: undefined reference to `dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/downloads/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/downloads/apache_1.3.19'
make: *** [build] Error 2
That is just the last part of the errors. It says basically the same thing about undefined references to a BUNCH of other things related to MySQL and PHP.
Any ideas?
Thanks very much in advance!
Adam
I am trying to install all of these packages and have the work together. I'm running Mandrake 7.2 and they came pre-installed but MySQL did not work with PHP so I uninstalled Apache, MySQL and PHP. Downloaded the source for each package and followed the instructions at to the T. MySQL setup and PHP setup went fine but when I goto make apache i get ...
modules/php4/libphp4.a(php_mysql.o): In function `php_mysql_field_info':
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1852: undefined reference to `mysql_num_fields'
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1856: undefined reference to `mysql_field_seek'
/downloads/php-4.0.6/ext/mysql/php_mysql.c:1857: undefined reference to `mysql_fetch_field'
modules/php4/libphp4.a(dns.o): In function `php_if_checkdnsrr':
/downloads/php-4.0.6/ext/standard/dns.c:212: undefined reference to `res_search'modules/php4/libphp4.a(dns.o): In function `php_if_getmxrr':
/downloads/php-4.0.6/ext/standard/dns.c:281: undefined reference to `res_search'/downloads/php-4.0.6/ext/standard/dns.c:290: undefined reference to `__dn_skipname'
/downloads/php-4.0.6/ext/standard/dns.c:296: undefined reference to `__dn_skipname'
/downloads/php-4.0.6/ext/standard/dns.c:308: undefined reference to `dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/downloads/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/downloads/apache_1.3.19'
make: *** [build] Error 2
That is just the last part of the errors. It says basically the same thing about undefined references to a BUNCH of other things related to MySQL and PHP.
Any ideas?
Thanks very much in advance!
Adam