Jump to content

PHP IMAP compile fails


Recommended Posts

when performing a make on php I get the following. ive recompiled IMAP with EXTRAFLAGS=-fPIC but still get the following error

 

/usr/bin/ld: /usr/local/imap-2007f/c-client/libc-client.a(osdep.o): relocation R_X86_64_32 against `server_input_wait' can not be used when making a shared object; recompile with -fPIC
/usr/local/imap-2007f/c-client/libc-client.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
 

below is the code I used to configure PHP

./configure --with-apxs2=/usr/sbin/apxs --with-mysql --enable-mbstring --with-ldap --with-pdo-mysql --with-zlib --with-openssl --prefix=/usr/local/php5 --with-imap=/usr/local/imap-2007f --enable-pic  --with-imap-ssl=/usr/local/imap-2007f --with-libdir=lib64

any help would be great. I've spent the past 5 hours searching the interwebs and used the following guide to help me

http://forum.directadmin.com/showthread.php?t=41879

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.