ID: 38708 Updated by: [EMAIL PROTECTED] Reported By: anonthai at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: freebsd amd64 PHP Version: 5.1.6 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Seems like a problem with the static libpq library, not a php bug. Previous Comments: ------------------------------------------------------------------------ [2006-09-04 09:56:11] anonthai at gmail dot com Description: ------------ I configure with this config apache 2 php 5.1.6 mysql 5.0 postgresql 8.1.3 OS freebsd AMD64 ./configure \ --with-apxs2=/data/apache/bin/apxs \ --with-mysql=/data/mysql \ --with-pgsql=/data/pgsql \ --with-zlib-dir=/usr/lib/ \ --enable-versioning \ --enable-track-vars=yes \ --enable-sysvshm=yes \ --enable-sysvsem=yes \ --enable-ftp \ --with-config-file-path=/etc \ --with-gd \ --enable-sockets \ --with-jpeg-dir=/usr/local/lib \ --with-png \ --with-tiff-dir=/usr/local/lib \ --with-freetype-dir=/usr/local/lib \ --enable-gd-native-ttf \ --with-gdbm \ --with-gettext \ --with-iconv \ --with-curl \ --with-mhash \ --enable-bcmath \ --enable-calendar \ --enable-magic-quotes \ --enable-discard-path on making return error : /usr/bin/ld: /usr/local/pgsql/lib/libpq.a(fe-lobj.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/pgsql/lib/libpq.a: could not read symbols: Bad value *** Error code 1 Reproduce code: --------------- /usr/bin/ld: /usr/local/pgsql/lib/libpq.a(fe-lobj.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/pgsql/lib/libpq.a: could not read symbols: Bad value *** Error code 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38708&edit=1