Mac Osx Set Library Path

Hi all,


I've been struggling to find a proper way to set up DYLD_LIBRARY_PATH variable on Mountain Lion.


I have to use Perl Modules for work purposes but eveytime I try to install some CPAN Module (DBD::Oracle to be exact),perl complains that it can't find the DYLD_LIBRARY_PATH and can't continiue with the installation.


Mac Osx Set Library Path Diagram

I doubt you need to do anything with DYLDLIBRARYPATH. What you need to do is set ORACLEHOME to the path to your Oracle directory. On Linux, this is something like /pkg/oracle/10.2.0. I'm sure it will be different on your machine. You will have to set that up in your.bashprofile so it gets set before running any scripts that depend on Oracle. How do I set the static library path in OS X Lion? Ask Question Asked 7 years, 9 months ago. Active 3 years, 10 months ago. Viewed 19k times 5. Instead of typing. Terminal returns not found for most commands Mac OSX. Want to remove imagemagick.

Exact error is:


Trying to find an ORACLE_HOME

Your DYLD_LIBRARY_PATH env var is set to '


A lot of Mac tutorials mention the Library folder, which is where your macOS applications store things like settings and caches. Some settings can only be changed by editing files in the Library. But the Library is hidden by default. This is how to locate your library Folder on macOS & Mac OS X Code: /Library. This is how to locate your library Folder on macOS & Mac OS X Code: /Library. The above tricks also work to reveal and show the same user /Library folder in Mac OS X versions El Capitan and Yosemite (10.11.x and 10.10.x), and presumably forward beyond macOS 10.14.x, 10.13.x, and 10.12.x.

Osx


The ORACLE_HOME environment variable is not set and I couldn't guess it.

It must be set to hold the path to an Oracle installation directory

on this machine (or a machine with a compatible architecture).

See the appropriate README file for your OS for more information.

ABORTED!

Macos Set Library Path



I have downloaded the Oracle Instant Client files for Basic,SQLPLUS and SDK but I don't know how to use these?

Mac Osx Set Library Path


When I try the commands:


export PATH='$HOME/.rbenv/bin:$PATH'


and use my directory path of where the instanclient binaries are located for the part '$HOME/.rbenv/bin' and use 'DYLD_LIBRARY_PATH' for '$PATH' but it doesn't helped me at all.

Still the same errors.What should I download in order to set ORACLE_HOME (DYLD_LIBRARY_PATH) and which files I should point the environemt variable to?


Anyone please help me?


Thank a lot

Perl 5.12.4-OTHER, OS X Mountain Lion (10.8.2)

Posted on Mar 7, 2013 5:10 AM