php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38708 /usr/local/pgsql/lib/libpq.a: could not read symbols: Bad value
Submitted: 2006-09-04 09:56 UTC Modified: 2006-09-04 14:53 UTC
From: anonthai at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.6 OS: freebsd amd64
Private report: No CVE-ID: None
 [2006-09-04 09:56 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-04 14:53 UTC] iliaa@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 14:01:30 2024 UTC