[MacPorts] #38626: oracle-instantclient: set rpath instead of advising users to set DYLD_LIBRARY_PATH
MacPorts
noreply at macports.org
Mon Apr 1 18:31:07 PDT 2013
#38626: oracle-instantclient: set rpath instead of advising users to set
DYLD_LIBRARY_PATH
-----------------------------------+--------------------------
Reporter: dluke@… | Owner: ryandesign@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: oracle-instantclient |
-----------------------------------+--------------------------
Comment (by ryandesign@…):
Replying to [comment:2 ryandesign@…]:
> But I may have just messed up my usage of `string match`.
Yes, I did. Fixed version attached. It seems to work using oracle instant
client 11 on Intel on Mountain Lion. But it fails as follows using oracle
instant client 10 on PowerPC on Tiger:
{{{
$ php55 -r 'oci_connect("username", "password");'
PHP Warning: PHP Startup: Unable to load dynamic library
'/Volumes/Data/macports/tiger/lib/php55/extensions/no-debug-non-
zts-20121212/oci8.so' -
dlopen(/Volumes/Data/macports/tiger/lib/php55/extensions/no-debug-non-
zts-20121212/oci8.so, 9): Library not loaded:
/Volumes/Data/macports/tiger/lib/oracle/libclntsh.dylib.10.1
Referenced from: /Volumes/Data/macports/tiger/lib/php55/extensions/no-
debug-non-zts-20121212/oci8.so
Reason: no suitable image found. Did find:
/Volumes/Data/macports/tiger/lib/oracle/libclntsh.dylib.10.1:
unknown required load command 0x8000001C in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/Volumes/Data/macports/tiger/lib/php55/extensions/no-debug-non-
zts-20121212/pdo_oci.so' -
dlopen(/Volumes/Data/macports/tiger/lib/php55/extensions/no-debug-non-
zts-20121212/pdo_oci.so, 9): Library not loaded:
/Volumes/Data/macports/tiger/lib/oracle/libclntsh.dylib.10.1
Referenced from: /Volumes/Data/macports/tiger/lib/php55/extensions/no-
debug-non-zts-20121212/pdo_oci.so
Reason: no suitable image found. Did find:
/Volumes/Data/macports/tiger/lib/oracle/libclntsh.dylib.10.1:
unknown required load command 0x8000001C in Unknown on line 0
Fatal error: Call to undefined function oci_connect() in Command line code
on line 1
}}}
Replying to [comment:3 dluke@…]:
> I can try the patch, but if you have output from the build log on what
command is actually run, that might be easier.
MacPorts does not log anything for commands run with `system`.
--
Ticket URL: <https://trac.macports.org/ticket/38626#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list