PHP and Apache compilation trouble !

PHP and Apache compilation trouble !

Post by Cyril Abd » Sun, 15 Mar 1998 04:00:00

I have (i think) a link problem by compiling Apache (1.2.5) with PHP/FI 2.0
as a module ...

I created my lib_php's fine , then by compiling Apache, I get a :

./libphp.a(crypt.o) : In function Crypt :
crypt.o : undefined  reference to crypt

Someone told me this comes from the libc6 but didn't gimme hints to resolve
this !
Please help !

Best Regards
Cyril Abdi


1. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK


        I've been assigned the task of building an Apache server with
support for Sybase, PHP4, OpenSSL 0.9.6/mod_ssl ?, and apache 1.3.14.

I followed Israel Denis Jr/Eugene Otto's "The Soothingly Seamless
Setup of Apache, SSL, MySQL, and PHP" at DevShed, but compilation of
apache fails if I add PHP.  The same procedure w/out PHP works OK
(either port 80 or port 443.) As a non-developper, I'm totally in the

[/home/samba/temp/Apache/apache_1.3.14]# SSL_BASE=../openssl-0.9.6
/configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4

Configuring for Apache, Version 1.3.14
-L/home/samba/temp/Apache/openssl-0.9.6  -o helpers/dummy
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv   -lm -lcrypt  -lssl -lcrypto
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

Any idea?


2. resolving two executables to one.

3. failed compilation apache & php on Tru64 5.1

4. Need help with a Gnome problem

5. Apache PHP MySQL and mod_auth_mysql compilation error

6. How Much Swap Space is Needed?

7. Apache+mod_ssl+php+mod_perl compilation

8. dynamic libs

9. Having trouble running ./configure when trying to install PHP for Apache 2.0

10. Trouble building Apache/PHP/MySQL on IRIX 5.3

11. troubles compiling PHP into Apache

12. Apache Rewrite>index.php>index2.php

13. Solaris - PHP- Apache- Oracle : Problem getting PHP installed