BookmarkSubscribeRSS Feed
Fluorite | Level 6

I am going to preface this by saying that I am still trying to understand this whole issue, so please forgive me if my comments and questions below don't make any sense.

We recently upgraded to Sybase 16.  In the process, a new environment variable name LD_LIBRARY_PATH_64 was created on our SAS BI server.  I was previously unaware that SAS strongly warns against setting this variable (see 34579 - Errors occur when the LD_LIBRARY_PATH_64 environment variable is defined on Solaris systems ).  Now we are receiving errors with our SAS/Access to Oracle connection and our Java Virtual Machine calls.  Our Sybase DBA says that he has an easy fix.  The link SAS note above says they have two possible fixes.  I am not sure if any of the solutions will fix the issue without causing other issues.  So I started to do what a good SAS administrator should do and research the issue to understand what EXACTLY is not working.

During my research, I found multiple sites that basically say "do not use/modify LD_LIBRARY_PATH for your applications".  I even read places that describe commercial products (ex. SAS?) that use this variable described as "lazy programmers" and "bad programming"... two descriptions I generally do not associate with SAS.  They suggest that using a localized variable is a much better approach.  My understanding is that both LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 are lists of shared directories that are used by ld.  So why does SAS use these variables?  Why do they not create a SAS specific variable?

In addition to still trying to understand this better, I am now curious if it is possible to unravel SAS from the LD_LIBRARY_PATH variables.  Has anyone had to do this, or are there any good discussions on this topic?

Thank you for your help!


Barite | Level 11

"I even read places that describe commercial products (ex. SAS?) that use this variable described as "lazy programmers" and "bad programming"... two descriptions I generally do not associate with SAS."  SAS is nice at the fron-end going into the OS system internals the are not the nice. Enough troubles seen to classify SAS als lazy and bad programmers on that area.  ( And you find the LD_library_path as standard approach.  Although most systems these days are 64-bit programmed there is still a lot of 32-bit (and less) history.

Oracle documented the LD_Library_Paht_64 It is working as you described.


This is at OS level and guess what, most middleware tools liike all those database interfaces are middelware and following the OS conventions. Only a middleware tool like SAS is rather stubborn not following those guidelines. (getting the trouble). Is the SAS system an application, The SAS applications are the sas-programs build in your environment your business and are not the COTS ones by sas-institute.



---->-- ja karman --<-----



Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.


Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation