Running Fedora Core 3.
Hey guys, im compiling PHP5.0.4 with these options,
Code:
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-mysql-sock=/tmp/mysql.sock \
--with-sqlite \
--enable-sqlite-utf8 \
--with-zlib \
--with-zlib-dir \
--with-bz2 \
--with-gd \
--enable-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-ttf \
--with-freetype-dir=/usr/local \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--enable-track-vars \
--with-gettext \
--with-config-file-path=/usr/local/apache2/conf \
--enable-trans-id \
--enable-ftp \
--with-cpdflib=/usr/local \
--enable-mbstring
Everything is setup correctly for those. The configure goes great, but the make is where I run into trouble... This is where I get hung up, and I am lost as of what to do, it says recompile with -fPIC, but im not sure what that means.
Code:
/usr/bin/ld: /usr/local/lib/libcpdf.a(cpdfInit.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libcpdf.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
[root@bellevueben php-4.3.11]#
Thanks,
Terroth.