php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21223 Compile dies
Submitted: 2002-12-27 16:36 UTC Modified: 2002-12-27 17:23 UTC
From: gfraley5 at earthlink dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: RH Linux 8.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gfraley5 at earthlink dot net
New email:
PHP Version: OS:

 

 [2002-12-27 16:36 UTC] gfraley5 at earthlink dot net
When I try to compile v4.3.0, it goes awhile and then just dies.  Here is the config line:

./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --enable-sockets --with-gd=/usr/local --enable-gd-native-ttf --with-ttf --with-zlib --with-exif --with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local/jpeg-6b --with-png-dir=/usr/local --with-t1lib

Here are the last few lines of the config.log:

configure:81224: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX  conftest.c  1>&5
/tmp/ccnwQBmi.o: In function `main':
/opt/php-4.3.0/configure:81210: undefined reference to `dlopen'
/opt/php-4.3.0/configure:81215: undefined reference to `dlsym'
/opt/php-4.3.0/configure:81216: undefined reference to `dlsym'
collect2: ld returned 1 exit status
configure:81307: checking whether to enable thread-safety
configure:81311: checking whether to enable inline optimization for GCC
configure:81315: checking whether to enable a memory limit
configure:81319: checking whether to enable Zend debugging
configure:81323: checking whether to enable Zend multibyte
configure:81386: checking for inline
configure:81463: checking for stdarg.h
configure:82745: checking for working mkdir -p


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-27 16:53 UTC] edink@php.net
Are you sure your compile fails? Does "make install" work? If no, please post a last few lines of the make output.
 [2002-12-27 17:01 UTC] gfraley5 at earthlink dot net
It just stops and the command line appears.  Here are the last few lines of the "make" command on the screen.  I hesitated to try "make install" for fear of messing up my current installation.

sapi/cli/php_cli.so sapi/cli/getopt.lo main/internal_functions_cli.lo -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lcrypt  -o api/cli/php
[root@localhost php-4.3.0]#

I have also tried compiling with only the mysql and apx options to rule out the other packages and it still stops.
 [2002-12-27 17:03 UTC] gfraley5 at earthlink dot net
Correction to my last comment.  That last line is actually sapi/cli/php - not api/cli/php.
 [2002-12-27 17:04 UTC] rasmus@php.net
But what makes you think it isn't simply done?  I don't see any errors here.  Did you try running it?
 [2002-12-27 17:07 UTC] gfraley5 at earthlink dot net
Previous release compiles never just ended that quickly.  Is it safe to try a "make install"?
 [2002-12-27 17:23 UTC] gfraley5 at earthlink dot net
I humbly apologize!  "make install" works and it seems that all is well, except GD 2.0.8 doesn't seem to be playing well, but that's not your problem.  Thanks for a great product!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 23:01:32 2025 UTC