Re: PHP with openssl
| From: | Felderi Santiago | Date: | Wed, 30 Apr 2003 18:45:45 +0000 |
| Subject: | Re: PHP with openssl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145840@lists.php.net to get a copy of this message | ||
Thank you Jason for your input, I truly appreciate it. After searching on
the nt and Redhat Bugzilla, I found a bug for this problem.
http://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=84331
It happens to deal with the fact that krb5.h is not being linked correctly
by openssl. Therefore I need to add the directory to C_FLAGS when
compiling.
Now I really don't know how to do that. I have to add this:
-I/usr/kerberos/include into CFLAGS
Can anyone help me please?
Thanks again to all those that have helped me narrow the problems!
Fel.
On Wed, 30 Apr 2003, Jason Wong wrote:
> On Wednesday 30 April 2003 06:54, Felderi Santiago wrote:
> > I am trying to now give openssl support to php and I am having problems.
> >
> >
> > './configure' '--with-mysql' '--with-apxs2=/usr/sbin/apxs'
> > '--enable-track-vars' '--enable-force-cgi-redirect'
> > '--with-gettext'
> > --with-curl --with-ssl --with-xml --with-imap --with-imap-ssl
> > --with-kerberos --with-openssl
> >
> >
> > SSL:
> > openssl-devel-0.9.7a-5
> > openssl-0.9.7a-5
> >
> >
> > Error:
> >
> > In file included from /usr/include/openssl/ssl.h:179,
> > from main/internal_functions.c:35:
> > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
>
> You need to install the kerberos development package as well -- on a RH7.X
> system this would be "krb5-devel".
>
> As I said in a previous post, you need to install all the devel packages
> corresponding to the libraries/packages that you're using.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> There's always free cheese in a mousetrap.
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>