RE: Library Path Issue
Date: Thu, 1 Jul 2021 18:02:52 -0400
Message-ID: <72f901d76ec4$d72b8d40$8582a7c0$_at_rsiz.com>
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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Scott Canaan
Sent: Thursday, July 01, 2021 12:04 PM
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
Rochester Institute of Technology
srcdco_at_rit.edu | 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_at_freelists.org <oracle-l-bounce_at_freelists.org> On Behalf Of Sayan Malakshinov
Sent: Thursday, July 1, 2021 12:01 PM
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_at_rit.edu> 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 =
(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_at_dbmon06:DBMONITR>ls
syslog.bak3 syslog.o syslog.so syslog.so.bak test.o
To: xt.and.r_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: RE: Library Path Issue
Sr Database Administrator
Information & Technology Services
Finance & Administration
o: (585) 475-7886 | f: (585) 475-7520
To: Scott Canaan <srcdco_at_rit.edu>
Cc: oracle-l_at_freelists.org
Subject: Re: Library Path Issue
(SID_NAME = PLSExtProc)
-- Best regards, Sayan Malakshinov Oracle performance tuning engineer Oracle ACE Associate http://orasql.org -- http://www.freelists.org/webpage/oracle-lReceived on Fri Jul 02 2021 - 00:02:52 CEST