>On Sun, 20 Oct 2002, [windows-1252] Atle Magnus $BOW(Brebust wrote:
>> But when trying to compile php4 with imap support, I get the following errors:
>>   /usr/bin/ld: cannot find -lc-client
>
>You need to look at the PHP4 build script to find where it is looking for
>c-client.a, and then copy imap-????/c-client/c-client.a to that place.
>
>This is not a problem in IMAP.  PHP4 just doesn't know where you have
>c-client.a
>

Atle, you may try using the "--with-imap=<dir>" option when running
the PHP "config" command.  Or, after you copy the "c-client.a" to the
directory (as Mark suggests), I think all you need to do is create the
symbolic link:

        ln -s c-client.a libc-client.a

as the "-l" option to the C-compiler simply prepends "lib" to the front,
and ".a" to the end, of the specified library name.

- Don Buchholz








Message sent by TrueDisk(tm) Extempo(tm) --
Secure web access to files & mail www.truedisk.com

Reply via email to