Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SAS error connecting to ORACLE on Unix

SAS error connecting to ORACLE on Unix

SAS error connecting to ORACLE on Unix

Hi, am not a SAS expert, but have been given the unenviable task of working out why our business users cannot connect to our oracle database when running SAS via unix (not via the PC). We receive this error.....

ERROR:  The SAS/ACCESS Interface to ORACLE cannot be loaded.  The SASORA code appendage could not be loaded.
ERROR:  Error in libname statement.

I suspect it has something to do with a unix environment variable called LD_LIBRARY_PATH, but am not sure.

Anyone help ??

RE: SAS error connecting to ORACLE on Unix

    And you are probably right. You can check http://support.sas.com/techsup/unotes/SN/001/001361.html
if you have not done this yet. I said you were probaly right because there can be few other causes for this type of error.
But let's start from the simplest solution. Correct the unix user's .profile you use to connect Oracle via SAS Server.
Add lines:


Of course ORACLE_HOME environment variable must be set too.
In my profile it looks like:


but it may differ at your site. You'd better contact your Oracle admin and he/she will tell you where ORACLE_HOME is placed.

I hope this will help but as I said there may be other reasons your SAS/ACCESS to ORACLE can't connect Oracle.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close