Всем привет!
Может кто-нибудь поможет мне с такой проблемой:
Хочу собрать apache-1.3.26 с модулем mod_auth_ldap (по инструкции
положил исходники этого модуля в src/modules/ldap)..
Запускаю 'configure' в диретории <apache-source>:
--
CFLAGS='-DUSE_TRANSFER_TABLES -DEPOCH_EXPIRES' ./configure --htdocsdir=/u01/httpd/docs --activate-module=src/modules/perl/libperl.a --activate-module=src/modules/ldap/mod_auth_ldap.c --enable-module=so --enable-module=expires
--
И получаю такую ошибку:
--
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DSOLARIS2=270 -DRUSSIAN_APACHE -DMOD_PERL -DUSE_PERL_SSI
-I/usr/local/include -I/u01/app/openldap/include -DUSE_EXPAT
-I./lib/expat-lite -DUSE_TRANSFER_TABLES -DEPOCH_EXPIRES `./apaci` -I.
-I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE -o helpers/dummy
helpers/dummy.c -L/u01/app/openldap/lib -lldap
-llber -lsocket -lnsl -lpthread -L/usr/local/lib
/usr/local/lib/perl5/5.0050
2/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.00502/sun4-
solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lcrypt -ldl
Undefined first referenced
symbol in file
dn_expand /u01/app/openldap/lib/libldap.so
inet_aton /u01/app/openldap/lib/libldap.so
res_query /u01/app/openldap/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to helpers/dummy
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `dummy'
============= End of Error Report =============
Aborting!
--
Почему так происходит?
Help!!!
--
Андрей.
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =