Discussion:
[suPHP] "dlname not found" error on make install
Davide Giunchi
2004-01-25 15:40:46 UTC
Permalink
I'm trying to install suphp-0.5 on apache-2.0.48 with debian woody, but
i'm getting an error "dlname not found" during make install.
This is the ./configure options of apache-2.0.28:
./configure --prefix=/web/ --with-mpm=prefork --enable-rewrite=shared
--enable-setenvif=shared --enable-suexec --with-suexec-caller=nobody
--enable-include=shared --enable-shared=max

this is the suphp one:
./configure --with-apache-user=nobody --with-php=/usr/local/bin/php
--with-logfile=/web/logs/suphp.log --with-apxs=/web/bin/apxs

when i run "make install" i get this error:

----------------
/web/bin/apxs -i -a mod_suphp.la
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "en_US",
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/web//build/instdso.sh SH_LIBTOOL='/web//build/libtool' mod_suphp.la
/web//modules
/web//build/libtool --mode=install cp mod_suphp.la /web//modules/
cp .libs/mod_suphp.lai /web//modules/mod_suphp.la
cp .libs/mod_suphp.a /web//modules/mod_suphp.a
ranlib /web//modules/mod_suphp.a
chmod 644 /web//modules/mod_suphp.a
PATH="$PATH:/sbin" ldconfig -n /web//modules
----------------------------------------------------------------------
Libraries have been installed in:
/web//modules

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.
----------------------------------------------------------------------
Warning! dlname not found in /web//modules/mod_suphp.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /web//modules/mod_suphp.so
chmod: failed to get attributes of `/web//modules/mod_suphp.so': No such
file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install] Error 1
------------------

What can i do?

Regards.
--
Davide Giunchi
Sebastian Marsching
2004-01-25 22:59:06 UTC
Permalink
Hi,
Post by Davide Giunchi
Warning! dlname not found in /web//modules/mod_suphp.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /web//modules/mod_suphp.so
chmod: failed to get attributes of `/web//modules/mod_suphp.so': No such
file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install] Error 1
I have googled around a bit. This problem seems not to be specific to
mod_suphp but seems to be caused by a wrong line in the libtool-script
or libtool not being installed on the system. Please check out, which
version of libtool is installed on the system you tried to install suPHP on.
--
Best regards
Sebastian Marsching
http://www.marsching.com/
Davide Giunchi
2004-01-26 08:47:37 UTC
Permalink
Post by Sebastian Marsching
Post by Davide Giunchi
Warning! dlname not found in /web//modules/mod_suphp.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /web//modules/mod_suphp.so
chmod: failed to get attributes of `/web//modules/mod_suphp.so': No such
file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install] Error 1
I have googled around a bit. This problem seems not to be specific to
mod_suphp but seems to be caused by a wrong line in the libtool-script
or libtool not being installed on the system. Please check out, which
version of libtool is installed on the system you tried to install suPHP on.
the libtool installed on the system:

ii libtool 1.4.2-4 Generic library support script

the apache libtool:

bash-2.05a# /web/build/libtool --version
ltmain.sh (GNU libtool) 1.4.2a (1.922.2.79 2001/11/28 21:50:31)

The compilation of php-4.3.4 works good, but not the suphp one.

Regards.
--
Davide Giunchi
Loading...