php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5573 configure fails in module conftest referencing pthreads/libpng
Submitted: 2000-07-14 04:00 UTC Modified: 2000-08-29 18:59 UTC
From: bugrep at sprocket dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1pl2 OS: Solaris 2.5.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugrep at sprocket dot com
New email:
PHP Version: OS:

 

 [2000-07-14 04:00 UTC] bugrep at sprocket dot com
configure fails reporting unable to find library libpng.so.2 in module conftest.

From debug.log:

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/var/local/mysql/lib/mysql
 -L/var/local/mysql/lib/mysql conftest.c -lmysqlclient -lpng -lz -lgd -lresolv -
lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsocket -lgcc 1>&5
ld.so.1: ./conftest: fatal: libpng.so.2: open failed: No such file or directory
~

The PNG library is installed in /usr/local/lib and LDFLAGS is set to /usr/local/lib to pick up the path.

after configure fails, config.log shows multiple errors referencing pthreads.  This is only the first one, others are similar:

configure:2442: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  conftest.c
1>&5
Undefined                       first referenced
 symbol                             in file
pthread_create                      /var/tmp/ccPCuAOp.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 2424 "configure"
#include "confdefs.h"
(more omitted)

Do PHP4 require an external thread library such as MIT pthreads?  

PHP3 builds with no problems and I've been running it for months.

Thanks in advance.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 06:04 UTC] sniper@php.net
Please add your configure line.

--Jani
 [2000-08-29 18:59 UTC] sniper@php.net
No feedback. Please try PHP4.0.2 and reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 18:00:01 2026 UTC