Fedora29 error installing Oracle12c, prompt'no oraInstaller in java.library.path'

problem description

due to the needs of the course, I want to install Oracle12c in Fedora . Now I have completed the preliminary configuration verification. When I run runInstaller , the Oracle installation interface can appear, but there is an error before entering the first step. The error prompt box indicates that OraInstaller is not in java.library.path (for more error information, see the error code below).

platform version in which the problem occurs

system version: Fedora29
Oracle version: Oracle12c (the installation package is downloaded from the official website, and I download the first one in download link )

error code

after I switch to the unzipped package of Oracle12c, after running the command . / runInstaller , the following error message is displayed:

-  - Oracle    -[INS-10012]  -no oraInstaller in java.library.path  Stacktrace
oracle.install.commons.base.driver.common.InstallerException: [INS-10102] 
    at oracle.install.commons.base.driver.common.Installer.run(Installer.java:534)
    at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:133)
    at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:139)
    at oracle.install.commons.util.Application.startup(Application.java:1072)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:566)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:127)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:165)
Caused by: oracle.install.commons.base.driver.common.SetupDriverException: [INS-10012] 
    at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:431)
    at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:289)
    at oracle.install.commons.base.driver.common.Installer.run(Installer.java:516)
    ... 8 more
Caused by: java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:380)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps. (OiipuUnixOps.java:128)
    at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreamsForLog(OiicPullSession.java:5382)
    at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreams(OiicPullSession.java:5482)
    at oracle.sysman.oii.oiic.OiicAPIInstaller.initInstallEnvironment(OiicAPIInstaller.java:506)
    at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:422)
    ... 10 more

what methods have you tried

  1. at first I thought I might need the OraInstaller.jar file, so I looked through the directory of the Oracle12c extracted folder and noticed that the built-in java, was used. So I really didn"t see the file in the $DIR/stage/ext/jlib directory, so I copied the file ( OraInstaller.jar and OraInstallerNet.jar ) from another Oracle11g package, but ran runInstaller to no avail
  2. .
  3. later, I tried to use the java, that comes with the system, so I added the parameter runInstaller-jreLoc / usr/lib/jvm/jre at run time, and even the Oracle installation interface could not be opened, so I quit
  4. .

look forward to

I hope the expert can take a look at the problem and advice on how to solve it. If you don"t understand anything about my problem, please feel free to ask me, or send me an email (MailTo:1063932362@qq.com). I will be very grateful!

Oct.25,2021
Menu