|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76121 PDO_INFORMIX make fails
Submitted: 2018-03-20 20:17 UTC Modified: -
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: david_beach at mab dot uscourts dot gov Assigned:
Status: Open Package: PDO_INFORMIX (PECL)
PHP Version: 5.6.34 OS: Centos 6.9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-03-20 20:17 UTC] david_beach at mab dot uscourts dot gov
Using Centos 6.9 CentOS-6.9-x86_64-minimal.ISO
Installed using yum: gcc php-devel libxml2-devel

PHP 5.6.34 installed from php-5.6.34.tar.gz

IBM Informix Client SDK 3.70.FC9 installed from CSDK_3.70.FC9_LIN-x86_64_Fixpack.tar.gz

PDO_INFORMIX processed using PDO_INFORMIX-1.3.3.tgz

Test script:
tar -xvzf PDO_INFORMIX-1.3.3.tgz

Expected result:
Successful generation of extension.

Actual result:
make fails with these errors:

/usr/bin/ld: /opt/IBM/informix/lib/cli/libifcli.a(odconnct.o): relocation R_X86_64_32 against `.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC
/opt/IBM/informix/lib/cli/libifcli.a: could not read symbols: Bad value


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-25 18:27 UTC] David_Beach at mab dot uscourts dot gov
Extracted from the Client SDK library libifcli.a, inspecting odconnct.o with this command returns nothing:

readelf --relocs odconnct.o | egrep '(GOT|PLT|JU?MP_SLOT)'

Since nothing was returned I think that suggests the object is not compiled with position independent code, just as the error message states.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 28 16:01:29 2020 UTC