RE: [PHP-INST] PHP4.1.1, Apache-1.3.23 IMAP doesnt work for me...HELP!!!

From: Date: Wed, 30 Jan 2002 08:25:52 +0000
Subject: RE: [PHP-INST] PHP4.1.1, Apache-1.3.23 IMAP doesnt work for me...HELP!!!
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5834@lists.php.net to get a copy of this message
On redhat 7.1, I'm compiling php 4.1.1 with imap support for apache 1.3.19. Inintially I used: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-imap --with-kerberos --with-imap-ssl and it worked fine but i got this error during make: /usr/bin/ld: cannot find -lgssapi_krb5 collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make[1]: Leaving directory `/root/tars/php-4.1.1' make: *** [all-recursive] Error 1 When exporting env vars (export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam") i get: checking whether the C compiler (gcc -L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam) works... no configure: error: installation or configuration problem: C compiler cannot create executables. I solved this problem by installing krb5-develop. This got me through the install without error. Now when I attempt to restart apache I get this: [root@www apache_1.3.23]# /usr/local/apache/bin/apachectl start Syntax error on line 206 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: pam_end /usr/local/apache/bin/apachectl start: httpd could not be started I tried installing pam-develop but that would be too easy. Needless to say, it didn't work. Any Ideas?? Thanks Ben

« previous php.install (#5834) next »