Results 1 to 2 of 2
Trying to compile PHP:
/tmp/cc4f2PKd.o: In function `main':
/usr/src/php-5.3.0/configure:14287: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14270 "configure"
#include "confdefs.h"
Is written ...
- 11-11-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 20
What does this ./configure error mean?
Trying to compile PHP:
/tmp/cc4f2PKd.o: In function `main':
/usr/src/php-5.3.0/configure:14287: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14270 "configure"
#include "confdefs.h"
Is written to config.log a bunch of times
If I configure with the "native" mysqld driver it succeeds, before it wasn't finding libxml and mysql paths but I fixed that and now I get the above errors. The native driver seems to fix it but I'd still like to learn what was causing my problem.
This is on cent OS 5. By the way I tried out ubuntu and I hate it. It sucks for a server, you need like 999 packages to get PHP running ( CLI, php-mysql, etc.. ).
In Yum I can just type yum search php and it shows me everything even searches descriptions. apt-get is too stupid to know that php == php5, it just says "no packages found" and this is supposed to be the most user friendly distro? lol
- 11-11-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
It probably means that you don't have the yellow pages development tools (headers, etc) installed on your system. Check as to whether or not your PHP configure script allows you do disable yellow pages (yp). You can do that with the command "./configure --help" usually. Normally, the option to pass to configure would be something like --disable=yp or something like that.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote