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



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to