|  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: 2021-06-08 15:26 UTC
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
31 + 3 = ?
Subscribe to this entry?

 [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.
 [2021-06-08 14:51 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-06-08 14:51 UTC]
Is this still an issue with latest PDO_INFORMIX (1.3.4)?
 [2021-06-08 15:12 UTC] david_beach at mab dot uscourts dot gov
-Status: Feedback +Status: Assigned
 [2021-06-08 15:12 UTC] david_beach at mab dot uscourts dot gov
Switching to Informix Client SDK 4.x allowed a successful PDO build. I have since moved on to major revision upgrades of Centos and PHP. I reported this problem three years ago. I have no interest in whether or not Informix Client SDK 3.x can be used to create a PDO. Never worked for me, ever.
 [2021-06-08 15:26 UTC]
-Status: Assigned +Status: Open -Assigned To: cmb +Assigned To:
 [2021-06-08 15:26 UTC]
Hmm, interestingly, the linked git repo of the source code[1] had
it's latest commit in 2014; however, the latest version of the
package is from 2021.  I'm not interested in working on such …

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 09:01:29 2024 UTC