ID: 39312 User updated by: andrew dot nagy at villanova dot edu Reported By: andrew dot nagy at villanova dot edu -Status: No Feedback +Status: Open Bug Type: PDO related Operating System: Linux PHP Version: 5.1.6 New Comment:
I just did an install of php 5.2.4 on a brand new RHEL server. The only way I could get this to work is by using the zip files provided by Oracle, not the RPMs. Both the Basic and SDK are need (well I am assuming the Basic is needed). Once I unzip the files, I needed to create 2 symbolic links -- both libclntsh.so and libocci.so. Could this be fixed in the configure script to look for the original files instead of the renamed files? For now - I have created a patch that makes the language a bit more intuitive if this helps at all. It is diff'ed against the 5.2.4 release. 1305,1306c1305,1306 < Use --with-pdo-oci=instantclient,/path/to/instantclient,version < for an Oracle Instant Client SDK install. --- > Use --with-pdo-oci=instantclient,prefix,version > for an Oracle Instant Client SDK. 73096c73096 < { echo "configure: error: I'm too dumb to figure out where the include dir is in your Instant Client install" 1>&2; exit 1; } --- > { echo "configure: error: Cannot find the Instant Client SDK in your Instant Client install" 1>&2; exit 1; } 73105c73105 < { echo "configure: error: I'm too dumb to figure out where the libraries are in your Instant Client install" 1>&2; exit 1; } --- > { echo "configure: error: Cannot find the libclntsh.so file. Try making a symbolic link in your Instant Client SDK install" 1>&2; exit 1; } Previous Comments: ------------------------------------------------------------------------ [2006-11-16 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-11-08 21:37:15] [EMAIL PROTECTED] If you know how exactly to make it more verbose and clear - we would gladly accept your patch for ext/pdo_oci/config.m4. See here: http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_oci/config.m4?revision=1.14.2.5&view=markup ------------------------------------------------------------------------ [2006-11-08 21:21:48] andrew dot nagy at villanova dot edu I guess I am saying that the error checking should be more verbose. Instead of reporting "Im too dumb to find your missing files". The most important part is adding the installation procedure to the doc page for PDO_OCI, but that hasn't been written yet it appears. ------------------------------------------------------------------------ [2006-11-08 20:39:51] [EMAIL PROTECTED] >Is their anyway this checking can be added to the configure script? What do you mean? ------------------------------------------------------------------------ [2006-11-08 20:01:52] andrew dot nagy at villanova dot edu Okay, that solved it. I added the other symlink that you have and I added the version number back into my configure statement and I was able to pass the configure. Is their anyway this checking can be added to the configure script? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39312 -- Edit this bug report at http://bugs.php.net/?id=39312&edit=1