SMIGS714 Posted June 6, 2013 Share Posted June 6, 2013 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 valuecollect2: ld returned 1 exit statusmake: *** [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 Quote Link to comment https://forums.phpfreaks.com/topic/278872-php-imap-compile-fails/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.