After I modified MATT/Apache.pm script (with help from MATT) and tried to run the following commands as for new instalations:
Apache build successful, now you must install as follows:
For new installs:
cd /usr/local/src/www/mod_perl-1.28
make test
cd ../apache_1.3.28; make certificate TYPE=custom
rm /usr/local/etc/apache/httpd.conf
cd ../mod_perl-1.28; make install
cd /usr/ports/www/mod_php4; make install clean (optional)
apachectl stop; apachectl startssl
On the line with make test i receive an error.
When i try to run apachectl start i get the followin error:
ail# apachectl start
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
/usr/local/sbin/apachectl start: httpd could not be started
Ca someone help me with this one?
Thanks and regards.
I seem to be getting a similar error when trying to install Apache 2. Running toaster_setup.pl -s apache ends this way:
=== Begin snip ===
running: make -DWITH_APACHE2 install clean/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"Makefile", line 564: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
"Makefile", line 564: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
===> php4-4.3.7_1 depends on file: /usr/local/lib/libcrypto.so.3 - found
===> php4-4.3.7_1 depends on file: /usr/local/sbin/apxs - found
===> php4-4.3.7_1 depends on executable: bison - found
===> php4-4.3.7_1 depends on shared library: freetype.9 - found
===> php4-4.3.7_1 depends on shared library: t1.5 - not found
===> Verifying install for t1.5 in /usr/ports/devel/t1lib
===> t1lib-5.0.1,1 depends on executable: gmake - found
===> t1lib-5.0.1,1 depends on file: /usr/local/bin/libtool13 - found
===> t1lib-5.0.1,1 depends on shared library: X11.6 - not found
===> Verifying install for X11.6 in /usr/ports/x11/XFree86-4-libraries
===> XFree86-libraries-4.3.0_6 depends on file: /usr/X11R6/lib/X11/config/date.def - found
===> XFree86-libraries-4.3.0_6 depends on shared library: freetype.9 - found
===> XFree86-libraries-4.3.0_6 depends on shared library: fontconfig.1 - not found
===> Verifying install for fontconfig.1 in /usr/ports/x11-fonts/fontconfig
"/usr/ports/Mk/bsd.autotools.mk", line 2: USE_LIBTOOL deprecated: replace with USE_LIBTOOL_VER=...
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-libraries.
*** Error code 1
Stop in /usr/ports/devel/t1lib.
*** Error code 1
Stop in /usr/ports/lang/php4.
*** Error code 1
Stop in /usr/ports/lang/php4.
SysCmd: make -DWITH_APACHE2 install clean
SysCmd: result: 256
InstallPort: php4 FAILED
CheckPortsAge: Ports file is current (enough).
running: make install clean===> mod_perl2-1.99r14 depends on file: /usr/local/sbin/apxs - found
===> Configuring for mod_perl2-1.99r14
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/local/sbin/apxs
MP_INST_APACHE2 = 1
[ error] '/usr/local/sbin/apxs -q INCLUDEDIR' failed:
[ error] /usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/sbin/httpd'..
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
*** Error code 1
Stop in /usr/ports/www/mod_perl2.
SysCmd: make install clean
SysCmd: result: 256
InstallPort: mod_perl2 FAILED
InstallApacheSSLCerts: /usr/local/etc/apache2/ssl.crt/server.crt is already installed!
NOTICE: skipping. It appears the patch is already applied!
/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found
SysCmd: /usr/local/sbin/apachectl startssl
SysCmd: result: 256
/usr/local/sbin/toaster_setup.pl script execution complete.
============
I've run:
portupgrade -rf textproc/expat2 -m BATCH=yes
several times at different points to try to keep old dependencies updated, as well as:
pkgdb -F
with no noticable improvement. 'Seems like gettext and expat2 give me the most trouble going through the install (haven't made it yet

)
Can anyone offer suggestions that'll steer me back onto the right track?
Thanks!
klg1
update your ports tree as explained in the toaster docs (install and upgrade) and then try again.
update your ports tree as explained in the toaster docs (install and upgrade) and then try again.
update your ports tree as explained in the toaster docs (install and upgrade) and then try again.