Re: Re: /usr/bin/ld: cannot find -lgssapi_krb5
| From: | Brett Simpson | Date: | Sat, 02 Mar 2002 19:04:32 +0000 |
| Subject: | Re: Re: /usr/bin/ld: cannot find -lgssapi_krb5 | ||
| References: | 1 2 3 4 5 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6229@lists.php.net to get a copy of this message | ||
I'm having a similar problem. My main goal is to get imap & mysql support.
I've tried it without the kerberos & imap ssl lines but it seems imap
requires it. Here's the error I get.
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
Here's my configure line.
./configure 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-bz2' '--with-db3'
'--with-dom'
'--with-exec-dir=/usr/bin' '--with-gd' '--with-gdbm'
'--with-gettext' '--with-jpeg-dir=/usr' '--with-mm'
'--with-png'
'--with-regex=system' '--with-ttf' '--with-zlib'
'--with-layout=GNU'
'--enable-debugger' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-track-vars' '--enable-yp'
'--enable-wddx'
'--without-unixODBC' '--without-oracle' '--without-oci8'
'--with-pspell'
'--with-xml' '--with-mysql' '--with-imap=/usr'
'--with-mcrypt'
'--with-pgsql' '--with-imap-ssl=/usr/include/openssl'
'--with-kerberos'
'--with-openssl=/usr'
Yasuo Ohgaki wrote:
> Shena Delian O'Brien wrote:
>> Yasuo Ohgaki wrote:
>>
>>>No. There should not be any output.
>>>Try to rebuild PHP again, it may work now.
>>>
>>
>> No, it's not going to. You see, I did not execute ldconfig when I
>> replied to you. I executed it last several days ago, and several days
>> before that. The entry for kerberos was already in ld.so.conf the last
>> several times I executed ldconfig to make sure *new* entries were
>> properly installed.
>>
>> Therefore, this is not the problem. There is something else causing this
>> error.
>>
>
> Is libgssapi_krb5 shared versoin?
> There should be shared one.
>