php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5639 unable to locate imap client library?
Submitted: 2000-07-17 09:12 UTC Modified: 2002-04-01 19:06 UTC
From: ora dot et dot labora at web dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Release Candidate 2 OS: redhat 6.2 - intel
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: ora dot et dot labora at web dot de
New email:
PHP Version: OS:

 

 [2000-07-17 09:12 UTC] ora dot et dot labora at web dot de
This is the exact php version I'm goint to report about: "php-4.0.1pl2".

Problem:
I tried to configure php with support for IMAP but the "./configure" script
reported that no imap library could be found -- although I installed 
"imap-devel-4.7.5.rpm".

Discussion:
RedHat forgot (?) to put the "lib" prefix  in front of the imap client library
/usr/lib/c-imap.a -- as part of the rpm packet mentioned above. The
configure script is aware of this and tries to solve this by establishing a
softlink /usr/lib/libc-client.a to /usr/lib/c-client.a 

This will only work if we have permission to do so. Because  I don't like
such scripts to modify my system I'll never  run ./configure  as "root" --
which the script assumes. The script assumes,  that creating the softlink 
never fails and consequently ignores every possible error - which took
me some time to figure out what happend.

I suggest that the ./configure script shall instead report the problem and
make some hints how the problem can be fixed "manually". 

I also want to mention again that it is not true that the superuser configures
the package nor that the superuser does a "make". All what we can assume is that the superuser does a supervised "make install".




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-12 01:55 UTC] sniper@php.net
Re-classified to Feature/Change Request.

--Jani
 [2002-04-01 19:06 UTC] sniper@php.net
Added 'libc_client.a' text to the error message in case
the correct lib is not found.

Anyways, all libraries should have the 'lib' prefix.
So this is more c-client bug than any other.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 07:00:01 2025 UTC