Hi Jeff, (answer to post on 8/6/01, 8:16 pm: "*Please* post fix for Solaris/PHP libmysqlclient.so.10") I've been having the same difficulty with configuring, making and installing PHP. I would put this up there as "worse than sendmail" for a build. Building PHP on a Solaris with non-standard places for libraries and source is really frustrating. We run an AFS installation here. I don't have access to /usr/local/lib except as read-only. I have root access on our web server which is where the software is built and installed. We build everything in the /site directory, therefore, I have to replace /usr/local in those files with /site. I've gotten it to build and install in non-standard libraries without having to move files around from other packages. However, now that it can find and open all the files, when loaded into Apache, httpd starts and dies with a segmentation fault. truss -f and the httpd error log point to probably the php.ini file is the culprit (it's 786 lines long. Gee, what could cause a problem *there*?) I'm still working on the segmentation faulting. I think what I've got so far may help you a bit. To just get vanilla PHP working with Apache, I stripped everything out of it. I'll post progress as I succeed (or not) with this. Use gtar to untar the tar file. And use gmake as the make. There seem to be some instabilities with vanilla Solaris utilities and these packages. You've already discovered that using the EXTRA_LDFLAGS doesn't work. There are a couple of points in the make where it looks like LDFLAGS gets reset back to " ". After the untar, edit the "configure" script for the line: ac_default_prefix=/usr/local Change it to whatever directory is standard for you. We use /site here. (ie: ac_default_prefix=/site ) This is also where all of the configure flags are defined. Choose wisely. My configure looked like this: ./configure --without-mysql \ --with-apxs=/site/apache/bin/apxs \ --with-openssl=/usr/local/openssl \ After the configure ran, I checked config.status to see how everything came out. Surprise! /site was ignored and /usr/local was popped in almost everywhere. Some things did pop up as /site/src, etc. So, I corrupted the config.status file to change to the results I want. Changes to config.status: -------------------------- s%@exec_prefix@%${prefix}%g s%@prefix@%/site%g s%@INCLUDE_PATH@%.:/site/lib%g s%@EXPANDED_PEAR_INSTALLDIR@%/site/lib%g s%@EXPANDED_EXTENSION_DIR@%/site/php4/extensions/no-debug-non-zts-20001222%g s%@EXPANDED_BINDIR@%/site/bin%g s%@EXPANDED_LIBDIR@%/site/lib%g s%@EXPANDED_DATADIR@%/site/share%g s%@EXPANDED_SYSCONFDIR@%/site/etc%g s%@EXPANDED_LOCALSTATEDIR@%/site/var%g s%@EXPANDED_PHP_CONFIG_FILE_PATH@%/site/lib%g s%@EXTENSION_DIR@%/site/php4/extensions/no-debug-non-zts-20001222%g Changes to config_vars.mk: -------------------------- prefix = /site EXTENSION_DIR = /site/lib/php/extensions/no-debug-non-zts-20001222 EXTRA_LDFLAGS = -avoid-version -L/usr/ucblib -L/usr/local/openssl/lib -L/usr/loc al/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1 -L/site/lib ^^^^^^^^^^^ INCLUDES = -I/usr/local/www/apache/include -I$(top_builddir)/Zend -I/usr/local/o penssl/include -I/site/src/php/php-4.0.6/ext/xml/expat/xmltok -I/site/src/php/ph p-4.0.6/ext/xml/expat/xmlparse -I$(top_builddir)/TSRM -I/site/include ^^^^^^^^^^^^^^^ INCLUDE_PATH = .:/site/lib/php PHP_LDFLAGS = -L/usr/ucblib -L/usr/local/openssl/lib -L/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1 -L/site/lib ^^^^^^^^^^^ PHP_RPATHS = -R /usr/ucblib -R /usr/local/openssl/lib -R /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1 -R /site/lib ^^^^^^^^^^^^ Also added a line near the top of the Makefile generated by the configure script so that gmake is definitely used: MAKE = path_to_your_gmake/gmake-sparc Having done this, I then gmake and gmake install. It pops everything into the right place. But it still causes httpd to seg fault when loaded. I'm working on that now. --Jill Reese -- PHP Install 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]