RE: Library Path Issue

  • From: "Mark W. Farnham" <mwf@xxxxxxxx>
  • To: <srcdco@xxxxxxx>, <xt.and.r@xxxxxxxxx>
  • Date: Thu, 1 Jul 2021 18:02:52 -0400

Wouldn’t it be super nice if Oracle puked out some information about where it 
looked on the way to not finding it (and why it looked where it looked)?

 

Those features in a linker were required for undergraduates circa 1977.  Over 
four decades later you still have to be a sleuth to figure out what you did 
wrong. Sigh. That’s what we get for using a lab OS as if it were commercial.

 

I miss DTSS. (But I don’t miss DaTaSyS, it was the first commercially available 
relational database, but it ran at the speed of a research project…)

 

mwf

 

From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On ;
Behalf Of Scott Canaan
Sent: Thursday, July 01, 2021 12:04 PM
To: xt.and.r@xxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: Library Path Issue

 

I believe I figured it out.  I thought I had copied the 
$ORACLE_HOME/hs/admin/extproc.ora from the other server, but apparently I 
hadn’t.  That file needed to have SET EXTPROC_DLLS=ANY added to it.

 

 

Scott Canaan ‘88
Sr Database Administrator 
Information & Technology Services
Finance & Administration 

Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520

srcdco@xxxxxxx | c: (585) 339-8659 

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is 
intended only for the person(s) or entity to which it is addressed and may 
contain confidential and/or privileged material. Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this in error, please contact the sender and 
destroy any copies of this information.

 

From: oracle-l-bounce@xxxxxxxxxxxxx <oracle-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of Sayan Malakshinov
Sent: Thursday, July 1, 2021 12:01 PM
To: Scott Canaan <srcdco@xxxxxxx>
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: Library Path Issue

 

Hi Scott,

 

LD_LIBRARY_PATH=/oracle/data/scripts/lib:$LD_LIBRARY_PATH

 

Have you checked $LD_LIBRARY_PATH in your listener env variables? 

and you haven't shown ls -l /oracle/data/scripts/lib

has oracle permissions to it?

 

On Thu, Jul 1, 2021 at 6:12 PM Scott Canaan <srcdco@xxxxxxx> wrote:

I have a c program that sends audit data to the OS syslog.  I just moved the 
database from a Red Hat 7 server to a Red Hat 8 server.  I had this same 
problem last year after applying the April PSU.

 

The listener.ora contains:

 

    (SID_DESC =

      (SID_NAME = PLSExtProc)

      (ORACLE_HOME = /oracle/app/product/19.0.0.0)

      (PROGRAM = extproc)

#      (ENVS = "EXTPROC_DLLS=ANY:/oracle/data/scripts/lib/syslog.so")

      (ENVS = 
"EXTPROC_DLLS=ANY,LD_LIBRARY_PATH=/oracle/data/scripts/lib:$LD_LIBRARY_PATH")

    )

 

The library is here:

 

/oracle/data/scripts/lib

oracle@dbmon06:DBMONITR>ls

syslog.bak3  syslog.o      syslog.so         syslog.so.bak  test.o

syslog.c     syslog.o.bak  syslog.so.051120  test.c         test.so

 




 

-- 

Best regards,
Sayan Malakshinov

Oracle performance tuning engineer

Oracle ACE Associate
http://orasql.org

Other related posts: