|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-11-21 21:34 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 22:00:01 2025 UTC |
/bin/sh ./libtool --silent --mode=link gcc -g -O2 -g -O2 -o libphp4.la -rpath /opt/httpd/src/temp/php4/libs -export-symbols ./php.sym -avoid-version -R /opt/httpd/lib -R /opt/httpd/lib/mysql main.lo internal_functions.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo libzend/libzend.la sapi/apache/libphpsapi_apache.la regex/libregex.la ext/apache/libphpext_apache.la ext/db/libphpext_db.la ext/dba/libphpext_dba.la ext/dbase/libphpext_dbase.la ext/filepro/libphpext_filepro.la ext/ftp/libphpext_ftp.la ext/gd/libphpext_gd.la ext/imap/libphpext_imap.la ext/ldap/libphpext_ldap.la ext/mcrypt/libphpext_mcrypt.la ext/mhash/libphpext_mhash.la ext/mysql/libphpext_mysql.la ext/pcre/libphpext_pcre.la ext/pdf/libphpext_pdf.la ext/session/libphpext_session.la ext/snmp/libphpext_snmp.la ext/standard/libphpext_standard.la ext/sysvsem/libphpext_sysvsem.la ext/sysvshm/libphpext_sysvshm.la ext/xml/libphpext_xml.la ext/zlib/libphpext_zlib.la -ldl -lm -lresolv -lnsl -lsocket -lcrypt -lgdbm -L/opt/httpd/lib -lgdbm -lc -ldb -lgd -lttf -lc-client -lldap -llber -lmcrypt -lmhash -L/opt/httpd/lib/mysql -lmysqlclient -L/opt/httpd/lib -ljpeg -L/opt/httpd/lib -ltiff -L/opt/httpd/lib -lpdf -lmm -lsnmp -lkstat -lpam -lz *** Warning: This library needs some functionality provided by -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -ljpeg. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. make[2]: Entering directory `/opt/httpd/src/temp/php4' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /opt/httpd/src/temp/php4/libs /bin/sh ./libtool --silent --mode=install ./install-sh -c libphp4.la /opt/httpd/src/temp/php4/libs/libphp4.la ---------------------------------------------------------------------- Libraries have been installed in: /opt/httpd/src/temp/php4/libs If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - use the `-RLIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /opt/httpd/sbin/apxs -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /opt/httpd/libexec/libphp4.so chmod 755 /opt/httpd/libexec/libphp4.so [activating module `php4' in /opt/httpd/etc/httpd.conf] make[2]: Leaving directory `/opt/httpd/src/temp/php4' make[1]: Leaving directory `/opt/httpd/src/temp/php4' [monsoon:web] ~/src/temp/php4> /opt/httpd/sbin/apachectl restart /opt/httpd/sbin/apachectl restart: httpd not running, trying to start Syntax error on line 250 of /opt/httpd/etc/httpd.conf: Cannot load /opt/httpd/libexec/libphp4.so into server: ld.so.1: /opt/httpd/sbin/httpd: fatal: relocation error: file /opt/httpd/lib/libmcrypt-2.2.so.2: symbol __eprintf: referenced symbol not found /opt/httpd/sbin/apachectl restart: httpd could not be started It appears that I'm having problems linking libtiff and libmcrypt. If I do an ldd -r on libmcrypt and libtiff I get the same messages (even after a fresh compile of each library).