I am having extreme difficulties getting PHP4 to compile with imap support. At compile time the imap libraries are found, but they produce errors saying the there are undefined references in one of the imap files, I beleive it was gss(?).
Does anyone know of a work around, or where I can get a working imap library?
I am running Red hat 6.2, with imap 4.7
Any help would be appreciated.

BTW: PHP compiles fine without imap support.

    Hi Michael,

    I had been facing a similar problem on my RedHat 6.1 system. But, finally I am through with it.

    After spending time figuring out what the problem was, I found that with IMAP 4.7 devel. libraries, it requires kerberos, which I am not sure is there on your RH6.2 system. But try to compile PHP with a lower version of IMAP-devel libraries(I tried IMAP4.1). Its really an old version, and even I want to use the latest but to start with your work, you can use this library.

    Check for my mail. I will give you other details there.

    Bhavin.

      Well I have now sucessfully compiled php with Toels imap-devel-4.7-7noKeberos-i586.rpm, but I'm still getting a call to an unsupported function imap_open().

      At least progress has been made ;o)

        I have fixed the problem with IMAP!!!!!:oD

        After installing everything you should run ldconfig (or Reboot) to reload all the libraries.

          Write a Reply...