|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 13:25 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 01:00:01 2025 UTC |
Here is the error code generated with trying to load the libphp3.a module: relocation error: symbol not found: lrand48; referen ced from: /usr/local/apache/libexec/libphp3.so I know the functions are available under /lib/libc-client.so Here is my configure line (correct path) ./configure --with-apxs=/usr/local/apache/bin/apxs Here is the output from configure loading cache ./config.cache checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for bison... (cached) bison -y checking bison version... CONFIGURE_COMMAND=./configure '--with-apxs=/usr/local/apache/bin/apxs' CONFIG_SITE=/usr/local/share/config.site /usr/local/etc/config.site HOME=/ HZ=100 IFS= KEYBOARD=C/US LANG=C LOGNAME=root MAILCHECK=600 MAINT=#M# MAKEFLAGS= MAPCHAN=/usr/lib/mapchan/88591.dk MFLAGS= NUMLOCK=no OPTIND=1 PASS=vtm001 PATH=/sbin:/usr/sbin:/usr/bin:/etc:/usr/ccs/bin PHP_VERSION=3.0.15 SHELL=/bin/sh SHIFTDOWN=yes TERM=kansi25 TERMCAP=/etc/termcap TFADMIN= TIMEOUT=0 TZ=:US/Eastern USE_MAINTAINER_MODE=no XKEYBOARD=C/US XMODIFIERS=@im=Local XNLSPATH=/usr/X/lib/Xsi/C/US YACC=bison -y ac_arg=--with-apxs=/usr/local/apache/bin/apxs ac_c=\c ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 ac_confdir=. ac_configure_args= --with-apxs=/usr/local/apache/bin/apxs ac_cpp=$CPP $CPPFLAGS ac_cv_c_const=yes ac_cv_c_stack_direction=-1 ac_cv_declared_timezone=yes ac_cv_func_alloca_works=no ac_cv_func_crypt=yes ac_cv_func_ctermid=yes ac_cv_func_cuserid=yes ac_cv_func_flock=no ac_cv_func_gcvt=yes ac_cv_func_gethostent=no ac_cv_func_getlogin=yes ac_cv_func_getopt=yes ac_cv_func_getpgid=yes ac_cv_func_getrlimit=yes ac_cv_func_getrusage=yes ac_cv_func_getsid=yes ac_cv_func_gettimeofday=yes ac_cv_func_inet_aton=yes ac_cv_func_link=yes ac_cv_func_lockf=yes ac_cv_func_lrand48=yes ac_cv_func_memcpy=no ac_cv_func_memmove=yes ac_cv_func_mkfifo=yes ac_cv_func_putenv=yes ac_cv_func_random=yes ac_cv_func_regcomp=yes ac_cv_func_rint=yes ac_cv_func_setitimer=yes ac_cv_func_setlocale=yes ac_cv_func_setsid=yes ac_cv_func_setsockopt=yes ac_cv_func_setvbuf=yes ac_cv_func_shutdown=yes ac_cv_func_snprintf=yes ac_cv_func_srand48=yes ac_cv_func_srandom=yes ac_cv_func_statfs=yes ac_cv_func_statvfs=yes ac_cv_func_strcasecmp=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strftime=yes ac_cv_func_strstr=yes ac_cv_func_symlink=yes ac_cv_func_tempnam=yes ac_cv_func_truncate=yes ac_cv_func_tzset=yes ac_cv_func_unsetenv=no ac_cv_func_usleep=yes ac_cv_func_utime=yes ac_cv_func_utime_null=yes ac_cv_func_vprintf=yes ac_cv_func_vsnprintf=yes ac_cv_header_alloca_h=no ac_cv_header_crypt_h=yes ac_cv_header_db1_ndbm_h=no ac_cv_header_db_h=no ac_cv_header_dbm_h=no ac_cv_header_dirent_dirent_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errmsg_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_features_h=no ac_cv_header_grp_h=yes ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_mysql_h=yes ac_cv_header_ndbm_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_pwd_h=yes ac_cv_header_signal_h=yes ac_cv_header_stdarg_h=yes ac_cv_header_stdc=yes ac_cv_header_string_h=yes ac_cv_header_sys_file_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_statfs_h=yes ac_cv_header_sys_statvfs_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_varargs_h=no ac_cv_header_sys_wait_h=yes ac_cv_header_syslog_h=yes ac_cv_header_unistd_h=yes ac_cv_header_unix_h=no ac_cv_lib_bind___dn_skipname=no ac_cv_lib_bind_inet_aton=no ac_cv_lib_c_crypt=yes ac_cv_lib_c_dbm_open=yes ac_cv_lib_c_dlopen=yes ac_cv_lib_c_gethostbyaddr=yes ac_cv_lib_c_sin=no ac_cv_lib_c_socket=no ac_cv_lib_db_dbm_open=no ac_cv_lib_dir_opendir=no ac_cv_lib_gd_gdImageLine=no ac_cv_lib_gdbm_gdbm_open=no ac_cv_lib_m_sin=yes ac_cv_lib_nsl_gethostent=yes ac_cv_lib_pam_pam_start=no ac_cv_lib_resolv_res_search=yes ac_cv_lib_socket_res_search=no ac_cv_lib_socket_socket=yes ac_cv_os_cray=no ac_cv_path_PERL_PATH=/usr/bin/perl ac_cv_path_PROG_SENDMAIL=/usr/lib/sendmail ac_cv_path_SH=/sbin/sh ac_cv_prog_CC=cc ac_cv_prog_CPP=cc -E ac_cv_prog_LN_S=ln -s ac_cv_prog_RANLIB=: ac_cv_prog_YACC=bison -y ac_cv_prog_cc_cc_c_o=yes ac_cv_prog_cc_cross=no ac_cv_prog_cc_g=yes ac_cv_prog_cc_works=yes ac_cv_prog_gcc=no ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_struct_st_blksize=yes ac_cv_struct_st_blocks=yes ac_cv_struct_st_rdev=yes ac_cv_struct_tm=time.h ac_cv_struct_tm_gmtoff=no ac_cv_struct_tm_zone=no ac_cv_type_in_addr_t=yes ac_cv_type_ptrdiff_t=yes ac_cv_type_size_t=yes ac_cv_type_uid_t=yes ac_cv_type_uint=yes ac_cv_type_ulong=yes ac_cv_type_ushort=yes ac_cv_var_tzname=yes ac_default_prefix=/usr/local ac_exeext= ac_ext=c ac_help= --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --with-apxs[=FILE] Build shared Apache module. FILE is the optional pathname to the Apache apxs tool; defaults to apxs. --enable-versioning Take advantage of versioning and scoping Provided by Solaris 2.x and Linux --with-apache[=DIR] Build Apache module. DIR is the top-level Apache build directory, defaults to /usr/local/etc/httpd. --with-system-regex Do not use the bundled regex library --with-mod_charset Enable transfer tables for mod_charset (Rus Apache). --with-fhttpd[=DIR] Build fhttpd module. DIR is the fhttpd sources directory, defaults to /usr/local/src/fhttpd. --with-imap[=DIR] Include IMAP support (DIR is IMAP's include dir and c-client.a dir). --with-imsp[=DIR] Include IMSp support (DIR is IMSP's include dir and libimsp.a dir). --with-aspell[=DIR] Include ASPELL support. --with-mcal[=DIR] Include MCAL support. --with-ftp Include FTP support. --without-gd Disable GD support. --with-gd[=DIR] Include GD support (DIR is GD's install dir). --with-ttf[=DIR] Include FreeType support --enable-t1lib Enable t1lib support. --with-gettext[=DIR] Include GNU gettext support. DIR is the gettext intall directory, defaults to /usr/local --with-imagick[=DIR] Include ImageMagick support. DIR is the intall directory, and if left out, PHP will try to find it on its own. [experimental] --with-x use the X Window System --with-oracle[=DIR] Include Oracle database support. DIR is Oracle's home directory, defaults to $ORACLE_HOME. --with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base install directory, defaults to /usr/local. --with-openlink[=DIR] Include OpenLink ODBC support. DIR is the OpenLink base install directory, defaults to /usr/local/openlink. --with-adabas[=DIR] Include Adabas D support. DIR is the Adabas base install directory, defaults to /usr/local. --with-sybase[=DIR] Include Sybase-DB support. DIR is the Sybase home directory, defaults to /home/sybase. --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home directory, defaults to /home/sybase. --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base install directory, defaults to searching through a number of common places for the MySQL files. --with-msql[=DIR] Include mSQL support. DIR is the mSQL base install directory, defaults to /usr/local/Hughes. --with-pgsql[=DIR] Include PostgresSQL support. DIR is the PostgresSQL base install directory, defaults to /usr/local/pgsql. --with-ibm-db2[=DIR] Include IBM DB2 support. DIR is the DB2 base install directory, defaults to /home/db2inst1/sqllib --with-solid[=DIR] Include Solid support. DIR is the Solid base install directory, defaults to /usr/local/solid --with-empress[=DIR] Include Empress support. DIR is the Empress base install directory, defaults to $EMPRESSPATH --with-ldap[=DIR] Include LDAP support. DIR is the LDAP base install directory, defaults to /usr and /usr/local --with-mck[=DIR] Include Cybercash MCK support. DIR is the cybercash mck build directory, defaults to /usr/src/mck-3.2.0.3-linux for help look in extra/cyberlib --with-snmp[=DIR] Include SNMP support. DIR is the SNMP base install directory, defaults to searching through a number of common locations for the snmp install. --with-velocis[=DIR] Include Velocis support. DIR is the Velocis base install directory, defaults to /usr/local/velocis. --with-informix[=DIR] Include Informix support. DIR is the Informix base install directory, defaults to nothing. --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base install directory, defaults to /usr/interbase --with-custom-odbc[=DIR] Include a user defined ODBC support. The DIR is ODBC install base directory, which defaults to /usr/local. Make sure to define CUSTOM_ODBC_LIBS and have some odbc.h in your include dirs. E.g., you should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to run configure script: CFLAGS="-DODBC_QNX -DSQLANY_BUG" LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc". --with-hyperwave Include Hyperwave support --with-xml Include XML support --with-yp Include YP support --with-zlib[=DIR] Include zlib support (requires zlib >= 1.0.9). DIR is the zlib install directory, defaults to /usr. --with-pdflib[=DIR] Include pdflib support (tested with 0.6 and 2.0). DIR is the pdflib install directory, defaults to /usr/local. --with-zlib-dir[=DIR] zlib dir for pdflib 2.0 or include zlib support --with-jpeg-dir[=DIR] jpeg dir for pdflib 2.0 --with-tiff-dir[=DIR] tiff dir for pdflib 2.0 --with-cpdflib[=DIR] Include ClibPDF support. DIR is the ClibPDF install directory, defaults to /usr/local. --with-fdftk[=DIR] Include fdftk support. DIR is the fdftk install directory, defaults to /usr/local. --with-dbase Include the bundled dbase library --with-filepro Include the bundled read-only filePro support --with-mod-dav=DIR Include DAV support through Apache's mod_dav, DIR is mod_dav's installation directory (Apache module version only!) --disable-unified-odbc Disable unified ODBC support. Only applicable if iODBC, Adabas, Solid, Velocis or a custom ODBC interface is enabled. --with-config-file-path=PATH Sets the path in which to look for php3.ini defaults to /usr/local/lib --enable-debug Compile with debugging symbols --enable-safe-mode Enable safe mode by default. --with-exec-dir[=DIR] Only allow executables in DIR when in safe mode defaults to /usr/local/php/bin --enable-track-vars Enable GET/POST/Cookie track variables by default. --enable-magic-quotes Enable magic quotes by default. --enable-debugger Compile with remote debugging functions. --disable-bcmath Compile without bc style precision math functions. --enable-force-cgi-redirect Enable the security check for internal server redirects. You should use this if you are running the CGI version with Apache. --enable-discard-path If this is enabled, the PHP CGI binary can safely be placed outside of the web tree and people will not be able to circumvent .htaccess security. --enable-memory-limit Compile with memory limit support. --disable-short-tags Disable the short-form <? start tag by default. --disable-url-fopen-wrapper Disable the URL-aware fopen wrapper that allows accessing files via http or ftp. --enable-sysvsem Enable System V semaphore support. --enable-sysvshm Enable the System V shared memory support --disable-display-source Compile without displaying source support --with-gdbm[=DIR] Include GDBM support --with-ndbm[=DIR] Include NDBM support --with-db2[=DIR] Include Berkeley DB2 support --with-dbm[=DIR] Include DBM support --with-cdb[=DIR] Include CDB support --with-mcrypt[=DIR] Include mcrypt support. DIR is the mcrypt install directory. --with-mhash[=DIR] Include mhash support. DIR is the mhash install directory. --enable-ucd-snmp-hack Enable UCD SNMP hack --without-pcre-regex Don't include Perl Compatible Regular Expressions support --without-posix Don't include POSIX functions --with-recode[=DIR] Include GNU recode support. --enable-dmalloc Enable dmalloc ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 ac_max_here_lines=12 ac_n= ac_objext=o ac_optarg=/usr/local/apache/bin/apxs ac_option=--with-apxs=/usr/local/apache/bin/apxs ac_package=apxs ac_prev= ac_prog=bison -y ac_site_file=/usr/local/etc/config.site ac_srcdir_defaulted=yes ac_t= ac_unique_file=main.c ac_word=bison am_cv_prog_cc_stdc= arg=--with-apxs=/usr/local/apache/bin/apxs auto_cflags=1 bindir=${exec_prefix}/bin build=NONE cache_file=./config.cache cross_compiling=no datadir=${prefix}/share exec_prefix=NONE host=NONE includedir=${prefix}/include infodir=${prefix}/info libdir=${exec_prefix}/lib libexecdir=${exec_prefix}/libexec localstatedir=${prefix}/var mandir=${prefix}/man no_create= no_recursion= nonopt=NONE oldincludedir=/usr/include php_cv_cc_dashr=no php_cv_cc_rpath=no php_cv_cc_vscript=no prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, sbindir=${exec_prefix}/sbin sharedstatedir=${prefix}/com silent= site= srcdir=. subdirs= sysconfdir=${prefix}/etc target=NONE verbose= with_apxs=/usr/local/apache/bin/apxs x_includes=NONE x_libraries=NONE dummy.bison (ok) checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) no checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking for ranlib... (cached) : checking whether cc understands -c and -o together... (cached) yes checking whether ln -s works... (cached) yes checking for perl... (cached) /usr/bin/perl checking for sh... (cached) /sbin/sh checking for working const... (cached) yes checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... (cached) no checking if compiler supports -Wl,--version-script... (cached) no checking size of long... (cached) 4 checking size of int... (cached) 4 checking for sendmail... (cached) /usr/lib/sendmail checking for gethostent... (cached) no checking for gethostent in -lnsl... (cached) yes checking for socket in -lc... (cached) no checking for socket in -lsocket... (cached) yes checking for gethostbyaddr in -lc... (cached) yes checking for crypt in -lc... (cached) yes checking for dlopen in -lc... (cached) yes checking for sin in -lc... (cached) no checking for sin in -lm... (cached) yes checking for res_search in -lsocket... (cached) no checking for res_search in -lresolv... (cached) yes checking for pam_start in -lpam... (cached) no checking for inet_aton in -lbind... (cached) no checking how to run the C preprocessor... (cached) cc -E checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for fclose declaration... ok checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for crypt.h... (cached) yes checking for sys/file.h... (cached) yes checking for memory.h... (cached) yes checking for pwd.h... (cached) yes checking for grp.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/wait.h... (cached) yes checking for syslog.h... (cached) yes checking for string.h... (cached) yes checking for sys/varargs.h... (cached) no checking for stdarg.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/time.h... (cached) yes checking for signal.h... (cached) yes checking for netinet/in.h... (cached) yes checking for dlfcn.h... (cached) yes checking for limits.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/statvfs.h... (cached) yes checking for sys/statfs.h... (cached) yes checking for unix.h... (cached) no checking for db.h... (cached) no checking for dbm.h... (cached) no checking for ndbm.h... (cached) yes checking for db1/ndbm.h... (cached) no checking for locale.h... (cached) yes checking for features.h... (cached) no checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for tm_zone in struct tm... (cached) no checking for tzname... (cached) yes checking for tm_gmtoff in struct tm... (cached) no checking for struct flock... yes checking for st_blksize in struct stat... (cached) yes checking for st_blocks in struct stat... (cached) yes checking for st_rdev in struct stat... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for uint... (cached) yes checking for ushort... (cached) yes checking for ulong... (cached) yes checking for ptrdiff_t... (cached) yes checking for vprintf... (cached) yes checking for memcpy... (cached) no checking for memmove... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strcasecmp... (cached) yes checking for strstr... (cached) yes checking for flock... (cached) no checking for lockf... (cached) yes checking for putenv... (cached) yes checking for tempnam... (cached) yes checking for usleep... (cached) yes checking for setlocale... (cached) yes checking for gettimeofday... (cached) yes checking for setvbuf... (cached) yes checking for srand48... (cached) yes checking for lrand48... (cached) yes checking for srandom... (cached) yes checking for random... (cached) yes checking for link... (cached) yes checking for symlink... (cached) yes checking for regcomp... (cached) yes checking for getlogin... (cached) yes checking for cuserid... (cached) yes checking for vsnprintf... (cached) yes checking for gcvt... (cached) yes checking for utime... (cached) yes checking for crypt... (cached) yes checking for setitimer... (cached) yes checking for rint... (cached) yes checking for unsetenv... (cached) no checking for strftime... (cached) yes checking for setsockopt... (cached) yes checking for tzset... (cached) yes checking for statvfs... (cached) yes checking for statfs... (cached) yes checking for inet_aton... (cached) yes checking for shutdown... (cached) yes checking for truncate... (cached) yes checking for getpgid... (cached) yes checking for getsid... (cached) yes checking for getrlimit... (cached) yes checking for snprintf... (cached) yes checking for ctermid... (cached) yes checking for setsid... (cached) yes checking for mkfifo... (cached) yes checking for getrusage... (cached) yes checking whether utime accepts a null argument... (cached) yes checking for working alloca.h... (cached) no checking for alloca... (cached) no checking whether alloca needs Cray hooks... (cached) no checking stack direction for C alloca... (cached) -1 checking for broken sprintf... ok checking for getopt... (cached) yes checking for declared timezone... (cached) yes checking for standard DES crypt... yes checking for extended DES crypt... no checking for MD5 crypt... no checking for Blowfish crypt... no checking for Apache module support via DSO through APXS... yes checking whether to enable versioning... no checking whether to use bundled regex library... yes checking for gdbm_open in -lgdbm... (cached) no checking for dbm_open in -ldb... (cached) no checking for dbm_open in -lc... (cached) yes checking preferred dbm library... ndbm chosen checking for mod_charset compatibility option... no checking for fhttpd module support... no checking for IMAP support... no checking for IMSP support... no checking for ASPELL support... no checking for MCAL support... no checking for ftp support... no checking for gdImageLine in -lgd... (cached) no checking whether to include GD support... no checking whether to include FreeType support... yes checking whether to enable t1lib support... no checking whether to include GNU gettext support... no checking whether to include ImageMagick support... no checking for Oracle support... no checking for iODBC support... no checking for OpenLink ODBC support... no checking for Adabas support... no checking for Sybase support... no checking for Sybase-CT support... no checking for MySQL support... no checking for mSQL support... no checking for PostgresSQL support... no checking for IBM DB2 support... no checking for Solid support... no checking for Empress support... no checking for LDAP support... no checking for Cybercash MCK support... no checking for SNMP support... no checking for Velocis support... no checking for Informix support... no checking for InterBase support... no checking for a custom ODBC support... no checking for Hyperwave support... no checking for XML support... no checking whether to include YP support... no checking whether to include zlib support... no checking whether to include pdflib support... no checking whether to include cpdflib support... no checking whether to include fdftk support... no checking whether to include the bundled dbase library... no checking whether to include the bundled filePro support... no checking whether to enable DAV support through mod_dav... no checking whether to enable unified ODBC support... no 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 whether to enable track_vars variables by default... no checking whether to enable magic quotes by default... no checking whether to enable remote debugger support... no checking whether to enable bc style precision math functions... yes checking whether to enable a memory limit... no checking whether to enable short tags by default... yes checking whether to enable the URL-aware fopen wrapper... yes checking whether to enable System V semaphore support... no checking whether to enable System V shared memory support... no checking whether to enable displaying source support... yes checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB2 support... no checking for DBM support... no checking for CDB support... no checking whether to enable DBA interface... no checking for mcrypt support... no checking for mhash support... no checking whether to enable UCD SNMP hack... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include POSIX support... yes checking whether to include GNU recode support... no checking whether to enable dmalloc support... no checking for __dn_skipname in -lbind... (cached) no creating ./config.status creating Makefile creating build-defs.h creating stamp-h creating libphp3.module creating extra/gd/bdf2gdfont creating regex/Makefile creating pcrelib/Makefile creating dbase/Makefile creating config.h config.h is unchanged Thanks guys.. great work Mik