Skip navigation

How to set DYLD_LIBRARY_PATH on Mac OS X Mountain Lion?

3331 Views 7 Replies Latest reply: Aug 28, 2013 12:09 AM by Philippe Causse RSS
mdurukan Calculating status...
Currently Being Moderated
Mar 8, 2013 5:04 AM

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.

 

Exact error is:

 

Trying to find an ORACLE_HOME

Your DYLD_LIBRARY_PATH env var is set to ''

 

 

      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!

 

 

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

 

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, OS X Mountain Lion (10.8.2)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.