From:             anonthai at gmail dot com
Operating system: freebsd amd64
PHP version:      5.1.6
PHP Bug Type:     Compile Failure
Bug description:  /usr/local/pgsql/lib/libpq.a: could not read symbols: Bad 
value

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 bug report at http://bugs.php.net/?id=38708&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38708&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38708&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38708&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38708&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38708&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38708&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38708&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38708&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38708&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38708&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38708&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38708&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38708&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38708&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38708&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38708&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38708&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38708&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38708&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38708&r=mysqlcfg

Reply via email to