Bug #72371 [Opn]: Problem installing oci8-2.0.11
| From: | sixd@php.net | Date: | Thu, 16 Jun 2016 05:57:55 +0000 |
| Subject: | Bug #72371 [Opn]: Problem installing oci8-2.0.11 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201671@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72371&edit=1
ID: 72371
Updated by: sixd@php.net
Reported by: miguel dot molina at statistik dot rlp dot de
Summary: Problem installing oci8-2.0.11
Status: Open
Type: Bug
Package: OCI8 related
Operating System: OS X El Capitan 10.11.5
PHP Version: 5.6.19
-Assigned To:
+Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
Your configure command would be a useful item to know.
Building works fine for me with the new 12.1 Instant Client, e.g. with
'/Users/cjones/php-5.6/configure' \
'--enable-debug' \
'--prefix=/Users/cjones/p/php56-ic121' \
'--with-apxs2=/Users/cjones/opt/apache24/bin/apxs' \
'--enable-fpm' \
'--disable-cgi' \
'--with-zlib' \
'--enable-pdo' \
'--with-pdo-oci=instantclient,/Users/cjones/instantclient_12_1,12.1' \
'--with-oci8=shared,instantclient,/Users/cjones/instantclient_12_1' \
'--with-pdo-mysql=mysqlnd' \
'--with-mysqli=mysqlnd' \
'--with-mysql=mysqlnd' \
'--with-mysql-sock=/var/lib/mysql/mysql.sock' \
'--enable-opcache' \
'--enable-mbstring' \
'--with-gd' \
'--with-jpeg-dir' \
'--with-png-dir' \
'--enable-gd-native-ttf' \
"$@"
There is no ORACLE_HOME with Instant Client.
Previous Comments:
------------------------------------------------------------------------
[2016-06-09 15:19:58] miguel dot molina at statistik dot rlp dot de
I´m using (php -v):
PHP 5.6.19 (cli) (built: Mar 14 2016 11:55:51)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
------------------------------------------------------------------------
[2016-06-09 15:16:56] cmb@php.net
Which PHP version are you using? It seems to me that this might be relevant.
------------------------------------------------------------------------
[2016-06-09 14:27:49] miguel dot molina at statistik dot rlp dot de
Description:
------------
Hello,
I'm trying to install the oci8-2.0.11 (I tried the version 2.0.10, 2.0.9, 2.0.8...) driver for
Oracle Instant Client 12.1.0.2 (I tried the version 11.2.0.4.0 too) in my iMac (x64, Intel Core i5,
O.S OS X El Capitan 10.11.5). I get always the same error:
ld: file not found: @rpath/libnnz12.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [oci8.la] Error 1
ERROR: `make' failed
The file exits in the ORACLE_HOME folder, and I tried it with the another versions, I need this
driver on my distribution. Do you know how to solve this problem?
Best Regards
Miguel Molina
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72371&edit=1