ID: 8537 Comment by: [EMAIL PROTECTED] Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: *Install and Config Operating System: SUSE Linux 7.0 PHP Version: 4.0.4 New Comment:
I got this error attempting to start Apache (1.3.22) with PHP 4.0.4. The --with-openssl=/vol/stage where OpenSSL is installed. I'm using Debian Linux 2.2. Syntax error on line 242 of /vol/stage/apache/conf/httpd.conf: Cannot load /vol/stage/apache/lib/php/libphp4.so into server: /vol/stage/apache/lib/php/libphp4.so: undefined symbol: pthread_getspecific /vol/stage/apache/bin/apachectl sslstart: httpd could not be started Previous Comments: ------------------------------------------------------------------------ [2001-01-03 12:30:45] [EMAIL PROTECTED] Using the right path (not the path to sources) with --with-openssl solved this problem. --Jani ------------------------------------------------------------------------ [2001-01-03 11:34:03] [EMAIL PROTECTED] hi, i tried to configure php 4.0.4 with the following command line: ./configure --with-mysql --enable-track-vars --enable-gd-imgstrttf --with-gd=/usr/src/gd-1.8.3 --with-pdflib --with-ttf --with-t1lib --with-png-dir --with-openssl=/usr/src/openssl-0.9.6 --with-zlib --with-jpeg-dir --with-tiff-dir --with-zlib-dir --enable-ftp --enable-dbase --enable-sysvsem --enable-sysvshm --with-apxs=/usr/local/apache/bin/apxs that's what I get: loading cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.25 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... yes checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket in -lsocket... no checking for htonl in -lsocket... no checking for yp_get_default_domain... no checking for gethostname in -lnsl... yes checking for crypt in -lcrypt... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lbind... no checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/varargs.h... no checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for tm_gmtoff in struct tm... yes checking for struct flock... yes checking for socklen_t... yes checking size of long... 4 checking size of int... 4 checking for st_blksize in struct stat... yes checking for st_blocks in struct stat... yes checking for st_rdev in struct stat... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for IPv6 support... yes checking for vprintf... yes checking for asctime_r... yes checking for crypt... yes checking for ctime_r... yes checking for cuserid... yes checking for flock... yes checking for gcvt... yes checking for getlogin... yes checking for gethostbyaddr... yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for inet_aton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lrand48... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mmap... yes checking for putenv... yes checking for random... yes checking for rand_r... yes checking for regcomp... yes checking for setitimer... yes checking for setlocale... yes checking for setsockopt... yes checking for setvbuf... yes checking for shutdown... yes checking for sin... yes checking for snprintf... yes checking for srand48... yes checking for srandom... yes checking for statfs... yes checking for statvfs... yes checking for std_syslog... no checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strftime... yes checking for strstr... yes checking for strtok_r... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unsetenv... yes checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for getaddrinfo... yes checking for strlcat... no checking for strlcpy... no checking for getopt... yes checking whether utime accepts a null argument... yes checking for working alloca.h... (cached) yes checking for alloca... yes checking whether sprintf is broken... no checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX checking for readdir_r... yes checking for type of readdir_r... POSIX checking whether to use a configuration file... yes checking whether to include debugging symbols... no checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking for OpenSSL support... yes checking for OpenSSL version... >= 0.9.6 checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... no checking whether to enable runpaths... yes checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable PIC for shared objects... yes checking whether to enable dmalloc... no checking whether to install PEAR... yes Configuring extensions checking for ASPELL support... no checking for bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking CCVS Support... no checking whether to include cpdflib support... no checking whether to enable ctype support... no checking for CURL support... no checking for CyberCash support... no checking whether to enable DAV support through mod_dav... no checking whether to include old xDBM support... no checking whether to enable DBA... no checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB2 support... no checking for Berkeley DB3 support... no checking for DBM support... no checking for CDB support... no checking whether to enable DBA interface... no checking whether to enable the bundled dbase library... yes checking for DOM support... no checking whether to enable exif support... no checking for fdftk support... no checking whether to enable the bundled filePro support... no checking whether to add fribidi support... no checking whether to enable FTP support... yes checking whether to enable truetype string function in gd... no checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... no no checking for libXpm (needed by gd-1.8+)... no configure: warning: If configure fails try --with-xpm-dir=<DIR> checking whether to include GD support... yes (static) checking for gdImageString16 in -lgd... no checking for gdImagePaletteCopy in -lgd... no checking for gdImageColorClosestHWB in -lgd... no checking for compress in -lz... no checking for png_info_init in -lpng... no checking for gdImageColorResolve in -lgd... no checking for gdImageCreateFromPng in -lgd... no checking for gdImageCreateFromGif in -lgd... no checking for gdImageWBMP in -lgd... no checking for gdImageCreateFromJpeg in -lgd... no checking for gdImageCreateFromXpm in -lgd... no checking whether to include FreeType 1.x support... yes checking for T1lib support... yes checking for T1_GetExtend in -lt1... no checking whether to include GNU gettext support... no checking for gmp support... no checking for Hyperwave support... no checking for ICAP support... no checking for Kerberos support in IMAP... no checking for SSL support in IMAP... no checking for IMAP support... no checking for Informix support... no checking for Ingres II support... no checking for InterBase support... no checking for ircg support... no checking for Java support... no checking whether to include LDAP support... no checking for MCAL support... no checking for mcrypt support... no checking for mhash support... no checking for mSQL support... no checking for MySQL support... yes checking for MySQL UNIX socket... /tmp/mysql.sock checking for inline... inline checking return type of signal handlers... void checking for ANSI C header files... (cached) yes checking for sgtty.h... yes checking for sys/ioctl.h... yes checking for fcntl.h... (cached) yes checking for float.h... yes checking for floatingpoint.h... no checking for ieeefp.h... no checking for limits.h... (cached) yes checking for memory.h... yes checking for pwd.h... (cached) yes checking for select.h... no checking for stdlib.h... (cached) yes checking for stddef.h... yes checking for strings.h... yes checking for string.h... (cached) yes checking for synch.h... no checking for sys/mman.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking for sys/un.h... yes checking for sys/vadvise.h... no checking for sys/wait.h... (cached) yes checking for term.h... yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for sys/utime.h... no checking for termio.h... yes checking for termios.h... yes checking for sched.h... yes checking for crypt.h... (cached) yes checking for alloca.h... (cached) yes checking size of char... 0 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... 0 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for uid_t in sys/types.h... (cached) yes checking for type ulong... no checking for type uchar... no checking for type uint... no checking base type of last arg to accept... socklen_t checking return type of qsort... void checking for alarm... no checking for bmove... no checking for chsize... no checking for ftruncate... no checking for rint... no checking for finite... no checking for fpsetmask... no checking for fpresetsticky... no checking for cuserid... (cached) yes checking for fcntl... no checking for fconvert... no checking for getrusage... (cached) yes checking for getpwuid... no checking for getcwd... no checking for getrlimit... no checking for getwd... no checking for index... no checking for locking... no checking for longjmp... no checking for perror... no checking for pread... no checking for realpath... no checking for rename... no checking for socket... no checking for strnlen... no checking for madvise... no checking for strtoul... no checking for strtoull... no checking for snprintf... (cached) yes checking for tempnam... (cached) yes checking for thr_setconcurrency... no checking for gethostbyaddr_r... no checking for gethostbyname_r... no checking for getpwnam... no checking for bfill... no checking for bzero... no checking for bcmp... no checking for strstr... (cached) yes checking for strpbrk... no checking for strerror... (cached) yes checking for tell... no checking for atod... no checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for setupterm... no checking for strcasecmp... (cached) yes checking for sighold... no checking for vidattr... no checking for setupterm... (cached) no checking for lrand48... (cached) yes checking for localtime_r... (cached) yes checking for sigset... no checking for sigthreadmask... no checking for pthread_sigmask... no checking for pthread_setprio... no checking for pthread_setprio_np... no checking for pthread_setschedparam... no checking for pthread_attr_setprio... no checking for pthread_attr_setschedparam... no checking for pthread_attr_create... no checking for pthread_getsequence_np... no checking for pthread_attr_setstacksize... no checking for pthread_condattr_create... no checking for rwlock_init... no checking for crypt... (cached) yes checking for dlopen... no checking for dlerror... no checking for fchmod... no checking for getpass... no checking for getpassphrase... no checking for strtok_r... (cached) yes checking style of gethostname_r routines... glibc2 checking args to pthread_getspecific... POSIX checking args to pthread_mutex_init... POSIX checking args to readdir_r... other checking style of sigwait... other checking style of sigwait... other checking for Oracle-OCI8 support... no checking for Adabas support... no checking for SAP DB support... no checking for Solid support... no checking for IBM DB2 support... no checking for Empress support... no checking for Velocis support... no checking for a custom ODBC support... no checking for iODBC support... no checking for Easysoft ODBC-ODBC Bridge support... no checking for unixODBC support... no checking for OpenLink ODBC support... no checking for DBMaker support... no checking for Oracle-ORACLE support... no checking for Ovrimos SQL Server support... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include Pdflib 3.x support... yes yes checking for PDF_show_boxed in -lpdf... no configure: error: pdflib extension requires at least pdflib 3.x. You may also need libtiff and libjpeg. If so.. I tried diffrent versions of pdflib (3.01 and 3.02) but nothing helped I coudn't get it to work. At the end I tried php 4.0.3.pl1 with pdflib 3.02 and that configured and compiled perfectly. So propably in the change to 4.0.4 someone missed something. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8537&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]