php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6530 undefined symbol: gss_mech_krb5
Submitted: 2000-09-04 10:08 UTC Modified: 2000-09-05 03:13 UTC
From: flavour at partyvibe dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.2 OS: RedHat Linux 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: flavour at partyvibe dot com
New email:
PHP Version: OS:

 

 [2000-09-04 10:08 UTC] flavour at partyvibe dot com
./configure --with-apxs=/usr/sbin/apxs --enable-debug=no --enable-track-vars=yes --enable-magic-quotes --enable-bcmath=yes --enable-memory-limit=yes --with-mysql=/usr --with-imap --without-kerberos --with-ldap=/usr --with-ttf --with-zlib --with-gd --with-gdbm

Configure works fine
Loading fails on --with-imap (I've tested around this)
I've tried to enable & disable kerberos, it fails either way.
RedHat Linux v6.2
Apache-1.3.12
imap-4.7-7
krb5-configs-1.1.1-9
krb5-devel-1.1.1-9
krb5-libs-1.1.1-9

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-04 11:15 UTC] sniper@php.net
So --with-kerberos doesn't help?

--Jani
 [2000-09-04 11:33 UTC] eriksson@php.net
This error is caused by kerberos dependeny in the imap rpm:s.

It is possible to get rid of this dependency by downloading the source rpm and modifying this line in /usr/src/redhat/SPECS/imap.spec:
  %define gssapi %(test -r /usr/kerberos/lib/libkrb5.a && echo 1 || echo 0)
to this line
  %define gssapi %(echo 0)
Then creating the rpms:
  rpm -bb /usr/src/redhat/SPECS/imap.spec
Uninstall old rpms:
  rpm -e imap imap-devel
Install new rpms:
  rpm -ivh /usr/src/redhat/RPMS/i386/imap*.rpm

 [2000-09-04 11:40 UTC] rasmus@php.net
The confusion here was simply that the bug reporter used --without-kerberos instead of --with-kerberos.  But you are right, removing the need for kerberos from the imap libs is another solution.
 [2000-09-05 03:13 UTC] flavour at partyvibe dot com
I tried --with-kerberos & --without-kerberos & with neither:
both gave the same error...

Anyway: the editing of the imap.spec did the trick
- thanks eriksson :)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 16:01:33 2025 UTC