RE: [PHP-INSTALL] php make error for (imap support)
| From: | priou alexandre | Date: | Wed, 22 Mar 2006 15:47:51 +0000 |
| Subject: | RE: [PHP-INSTALL] php make error for (imap support) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17221@lists.php.net to get a copy of this message | ||
hi
normaly you can compile your php distrib with =
--enable-imap
when i compile php, i get this option :
--enable-so --apxs=.... --with-gd
my imap is compliled before php, with :
--with-ld --enable-so ( or --disable-static )
try to compile with so lib ( dynamic lib option of
your distrib imap and php )
alex
--- GajendranA <gajena@mail.lankabell.com> a écrit :
>
> Hi
>
> I trying to compile php-imap support and installed
> c-client (imap-2001). Php
> make gives this error. Can anybody help plz?
>
>
> usr/bin/ld:
>
/usr/local/include/php-imap/imap-2001/lib/libc-client.a(mail.o):
> relocation R_X86_64_32 against `a local symbol' can
> not be used when making
> a shared object; recompile with -fPIC
>
/usr/local/include/php-imap/imap-2001/lib/libc-client.a:
> could not read
> symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libphp5.la] Error 1
>
>
>
>
> This e-mail may contain confidential and/or
> privileged information.
> If you are not the intended recipient or have
> received this e-mail in error,
> please notify the sender immediately and destroy
> this e-mail. Any
> unauthorised copying, disclosure or distribution of
> the material in this
> e-mail is strictly forbidden.
>
>
>
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour
appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com