prozach
07-24-2002, 01:31 PM
I keep getting this error when i attempt to install Apache 2.0.39 on my linux box (RH 7.3). I've removed the RPM version and below are the commands i'm using to install Apache:
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 the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself, `/usr/lib/httpd/modules/mod_alias.so'
/bin/sh /usr/local/src/httpd-2.0.39/srclib/apr/libtool --silent --mode=install cp mod_rewrite.la /usr/lib/httpd/modules/
PATH="$PATH:/sbin" ldconfig -n /usr/lib/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/httpd/modules
Commands i'm using to install apache:
./configure --enable-so --enable-rewrite --enable-modules=all --enable-mods-shared=all --enable-shared=max --prefix=/usr/lib/httpd
make
make install
The modules never show up in the /usr/lib/httpd/modules directory (the error shows up in the output of the "make install" command). Anyone have any ideas?
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 the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself, `/usr/lib/httpd/modules/mod_alias.so'
/bin/sh /usr/local/src/httpd-2.0.39/srclib/apr/libtool --silent --mode=install cp mod_rewrite.la /usr/lib/httpd/modules/
PATH="$PATH:/sbin" ldconfig -n /usr/lib/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/httpd/modules
Commands i'm using to install apache:
./configure --enable-so --enable-rewrite --enable-modules=all --enable-mods-shared=all --enable-shared=max --prefix=/usr/lib/httpd
make
make install
The modules never show up in the /usr/lib/httpd/modules directory (the error shows up in the output of the "make install" command). Anyone have any ideas?