|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-06-20 09:23 UTC] sas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 05:00:01 2025 UTC |
Note: This should supercede Bug id #1510 since I could not modify it. I had to modify configure.in so that -R options were passed to the linker for the ttf and pq libraries. Otherwise, when apache dynamically loaded the mod_php.so it would get "unable to find library" errors. Here are the changes I made to the configure.in file to get this to work for me: Change AC_CHECK_LIB(gd, gdImageLine) to AC_CHECK_LIB(gd, gdImageLine, [ GD_LIBS="-lgd" ]) Change AC_CHECK_LIB(ttf, TT_Open_Face) to AC_CHECK_LIB(ttf, TT_Open_Face, [ TTF_LIBDIR=/opt/gnu/lib if test -n "$APXS"; then TTF_LFLAGS="-L$TTF_LIBDIR ${apxs_runpath_switch}$TTF_LIBDIR' -lttf" else TTF_LFLAGS="-L$TTF_LIBDIR ${ld_runpath_switch}$TTF_LIBDIR -lttf" fi GD_LIBS="$GD_LIBS $TTF_LFLAGS" ],,) Change PGSQL_LFLAGS=-L$PGSQL_LIBDIR to if test -n "$APXS"; then PGSQL_LFLAGS="-L$PGSQL_LIBDIR ${apxs_runpath_switch}$PGSQL_LIBDIR'" else PGSQL_LFLAGS="-L$PGSQL_LIBDIR ${ld_runpath_switch}$PGSQL_LIBDIR" fi I ran configure with the following options: setenv CC cc setenv CPPFLAGS -I/opt/gnu/include setenv ORACLE_HOME /opt/oracle ./configure --prefix=/opt/gnu \ --with-apxs=/opt/apache/apache_1.3.6/bin/apxs \ --with-config-file-path=/opt/apache/apache_1.3.6 \ --with-pgsql=/opt/postgresql --with-oracle