Error while loading shared libraries: libjvm.so: cannot open shared object

Hello,
I'm trying to compile/link a simple c code that uses the jni invocation API, but when trying to execute it I get this error. My platform is Linux 64 bit. I read in Sun website that jre is not available yet for Linux 64 bit. Is this error related to this? If not, could somebody steer me in the right direction? I'm new to the JNI world BTW.
Thanks!
Message was edited by:
Yanet

Did you run f90gem.sh? The shell script sets the LD_LIBRARY_PATH etc before running the actual f90genm executable.
so set the ORACLE_HOME to the Home containing iAS first, then run the shell script.

Similar Messages

  • Oracleoracle: error while loading shared libraries: libodm9.so: cannot open shared ob

    Hi,
    I'm installing Oracle 9i on IA 64, OS linux. I keep getting the following error when I run sqlplus
    oracleoracle: error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or directory
    ERROR:
    ORA-24314: service handle not initialized
    the LD_LIBRARY_PATH=$ORACLE_HOME/lib
    is set in the environment. After this error it prompts me for a user name?
    Regards

    Hi Ruben
    Before starting please make sure you have maintained all env for sidadm
    commands may vary depending on os in case
    Whenever I start SAPINST I set following before hand
    TMPDIR=/usr/sap/install/SRA_CI : just a log directory
    export TMPDIR
    LD_LIBRARY_PATH=/usr/sap/sapmnt/SRA/exe
    export LD_LIBRARY_PATH
    umask 022
    JAVA_HOME=/usr/sap/java
    export JAVA_HOME
    PATH=$/bin:$
    export PATH
    SAPINST_JRE_HOME=/usr/sap/java
    export SAPINST_JRE_HOME
    Hope this helps
    success!!

  • Libjvm.so: cannot open shared object file

    Hi, I hope I am posting to right forums. I am trying to install tomcat on my linux box and running into an issue ?libjvm.so: cannot open shared object file: Permission denied?
    Here is what I have:
    Linux = Red Hat Linux release 9 (Shrike)
    SDK = java_app_platform_sdk-5_02-linux.bin
    Tomcat = apache-tomcat-6.0.10
    I built jsvc this morning and running following command to get tomcat daemon up,
    ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap
    I am seeing following error message in Catalina.err file,
    06/03/2007 10:49:24 21247 jsvc.exec error: Cannot dynamically link to /home/rsah/SDK/jdk/jre/lib/i386/client/libjvm.so
    06/03/2007 10:49:24 21247 jsvc.exec error: /home/rsah/SDK/jdk/jre/lib/i386/client/libjvm.so: cannot open shared object file: Permission denied
    06/03/2007 10:49:24 21246 jsvc.exec error: Service exit with a return value of 1
    I looked at the permission for libjvm.so and it appears to be fine. When I run ldconfig ?p I don?t see libjvm.so loaded so definitely there is something going on. I edited /etc/ld.so.conf and added following line
    /home/rsah/SDK/jdk/jre/lib
    But still I don?t see libjvm.so being loaded. I am wondering if one could provide me some pointers.
    libjvm.so located at,
    /home/rsah/SDK/jdk/jre/lib/i386/client
    -rwxrwxrwx 1 root root 5310375 Mar 5 18:20 libjvm.so
    I have set JAVA_HOME = ?/home/rsah/SDK/jdk?
    PS: I tried all above stuffs with sudo permission.
    Thanks!

    I found problem, it was in a configuration file located at bin/jsvc-src/native//Tomcat.sh.
    Thanks

  • Error while loading JS libraries for UI5 and I5 Grid together

    Hello Experts,
    I am trying to load JavaScript libaries for UI5 (OpenUI5 SDK) and I5 Grid (from bootstrap.js).
    My requirement is to create UI5 as well as I5 Chart/Grid components in the IRPT pages.
    Development environment is MII 14.0 sp04 .
    I have added a JS link for my UI5 library as follows, in my IRPT page.
      <script src="/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m, sap.ui.table, sap.ui.commons"
      data-sap-ui-theme="sap_bluecrystal">
      <script>
       sap.ui.localResources("/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources");
      </script>
    Afer this Include, I have loaded the I5 component JS library like this:
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>
    However, I get an error on the console as follows   
    Failed to load resource: the server responded with a status of 404 (Not Found)                                            
    <MII Server Host>:50000/XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/JSONListBinding.js
    Uncaught Error: found in negative cache: 'sap/ui/model/json/JSONModel.js' from /XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/sap/ui/core/library-preload.json/sap/ui/model/json/JSONModel.js: Error: failed to load 'JSONListBinding.js' from /XMII/CM/DCMS_Master/UI5Library-1.22.8/resources/JSONListBinding.js: 404 - Not Found                                    sap-ui-core.js:80
    Uncaught Error: "Element sap.ui.commons.layout.MatrixLayout#matrix4" is not valid for aggregation "content" of ManagedObject sap.ui.core.UIArea#headerSelection                                                                                                                         sap-ui-core.js:134
    Does that mean that I5 JS libs and UI5 libs cannot be imported together?
    Any help will be appreciated.
    Best,
    Arihant Kothari

    Hi Arihant,
    The i5component JS library internally loads the SAP UI5 library that you are trying to load explicitly. If you intend to use both MII i5 components and SAP UI5 components together then you can just use the following:
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"></SCRIPT>
    And for sure you would have deployed SAP UI5 library on your MII server right.. ? In that case you load the UI5 library with the following script tag:
    <script src="/sapui5/resources/sap-ui-core.js" id="sap-ui-bootstrap"data-sap-ui-libs="sap.m, sap.ui.table, sap.ui.commons" data-sap-ui-theme="sap_bluecrystal">
    <script>
    In case you choose to use only SAP UI5 components/controls then you can use only the above script tag so that the MII i5 components don't get loaded.
    To check if SAP UI5 is deployed on your server you can try to access the following link:
    http|s://<host>:<port>//sapui5/resources/sap-ui-core.js
    And to check the SAP UI5 version you can type the following in browser console: sap.ui.version
    Hope this helps!
    Thanks and Best Regards,
    Ria

  • Error while loading shared libraries: libjvm.so

    Hi,
    Hopefully, this is the right list for this problem. I am working on a computer that has Linux 2.6.20-1.2952.fc6. I am trying to deploy a program to a Sun SPOT using over-the-air functionality; however, I get the following message:
    -pre-suite:
    -do-suite:
         [exec] /usr/java/SunSPOT/sdk/bin/squawk: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
    BUILD FAILED
    /usr/java/SunSPOT/sdk/ant/suite.xml:38: exec returned: 127When I try to locate this file, I can see it in in the following locations:
    /usr/java/jdk1.6.0_02/jre/lib/i386/client/libjvm.so
    /usr/java/jdk1.6.0_02/jre/lib/i386/server/libjvm.so
    How can I resolve this error?
    Thanks,
    Daniel

    make sure to include one of those two directories in your LD_LIBRARY_PATH environment variable. Probably the client directory one. And only the directoy (i.e. that path minus the libjvm.so part).

  • Sqlplus: Error while loading shared libraries: libsqlplus.so:

    Hi
    The Error is as follows:
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    Installed R12 with RUP2.
    User Oracle already exists.
    I tried to create a user appsdev as follows:
    #adduser appsdev
    #passwd appsdev
    #cd /home
    #chmod 500 appsdev
    login as user appsdev/appsdev
    run the env file from $ORACLE_HOME
    $sqlplus
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.
    what should i do to execute sqlplus successfully from appsdev user.
    regards,
    charan

    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.Is the "appsdev" user the owner of the application tier? If so, source the env file under %APPL_TOP% and check then.
    Did you specify the dba group as the primary group for "appsdev" user?

  • Proc: error while loading shared libraries: libwtc9.so

    Hi,
    I have a server with RHAS 3.0, and installed 10g database and 10g Forms and Reports.
    Now, I try to compile my ProC but I receive the following error:
    "[sustore@teste01 src]$ ./comp_all
    conv_scci.pc
    conv_scci.pc
    proc: error while loading shared libraries: libwtc9.so: cannot open shared object file: No such file or directory
    make: *** [conv_scci] Error 127
    COMPILE_ERROR IN conv_scci.pc
    COMPILE_ERROR IN conv_scci.pc
    help_eaf.pc
    " etc...
    Can anyone help me?
    Thanks,
    Carlos

    ry to do this:
    find / -name libwtc9.so
    will be appear path where is placed this library
    and/or without firts step define following ENV var:
    if already declared LD_LIBRARY_PATH
    export source LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<path where is placed you library>
    if not declared LD_LIBRARY_PATH
    export source LD_LIBRARY_PATH=/usr/lib:/user/sbin/lib:<path where is placed you library>

  • Error sqlplus: error while loading shared libraries:

    Hi
    i installed centos 5.4 in my laptop, i installed 11g R1. it installed properly, but when i start
    sqlplus it gives me the folloing error.
    [oracle@localhost bin]$ sqlplus
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
    [oracle@localhost bin]$
    Regards
    Saqib

    Saqib Alam wrote:
    Hi
    i installed centos 5.4 in my laptop, i installed 11g R1. it installed properly, but when i start
    sqlplus it gives me the folloing error.
    [oracle@localhost bin]$ sqlplus
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
    [oracle@localhost bin]$
    Regards
    Saqibid
    echo $ORACLE_HOME
    ls -l $ORACLE_HOME/bin/ora*

  • Error while loading shared libraries: libsapu16.so

    Dear All
    For SAP NetWeaver 2004s - TestDrive as user n4sadm
    I am trying to get my hardware key by executing /usr/sap/N4S/SYS/exe/run/saplicense -get
    as soon as I execute the command /usr/sap/N4S/SYS/exe/run/saplicense -get
    It thrown an error
    /usr/sap/N4S/SYS/exe/run/saplicense: error while loading shared libraries: libsapu16.so: cannot open shared object file: No such file or directory
    I am installing on Fedora C10 and the kernel version is 2.6.27.9-159.fc10.x86_64
    Any help is highly appreciated
    Regards
    Sunil

    Hi Pankaj
    Tx for the reply, Its been resolved.
    I had installed csh shell, that is missing in my Linux
    Thanks
    Sunil

  • Error while loading shared libraries libnnz10.so with brconnect

    Hi
    I am experiencing some problems within an installation, brconnect seems to be looking for oracle 10 libraries? while my oracle is a 9.2 !
    these are the logs:
    ERROR CJS-00288  Could not update database statistics.<br>DIAGNOSIS: Command brconnect -u / -c -f crsyn -o SAPXID returned 127.<br>SOLUTION: See brconnect.log for details.
    brconnect.log:
    Execution of the command "/sapmnt/XIE/exe/brconnect -u / -c -f crsyn -o SAPXID" finished with return code 127. Output:
    /sapmnt/XIE/exe/brconnect: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory
    Yes, that's true, libnnz10.so does not exist, it happened something similar with the library libclntsh.so.10.1, I only have a libclntsh.so, with a softlink from libclntsh.so.9.
    maybe the brtools imagine I have an oracle 10?
    I specified a 9.2 Oracle during the installation!
    Many thanks, Mario.

    >
    Tecnica de Sistemas wrote:
    > I am experiencing some problems within an installation, brconnect seems to be looking for oracle 10 libraries? while my oracle is a 9.2 !
    > [...]
    > I specified a 9.2 Oracle during the installation!
    Installation of what?
    Clearly the BRTOOLS are version 700, so, even when you specified that Oracle 9i was to be installed the BRTOOLS delivered are the mentioned version and you
    must install the oracle 10g instant client or
    replace the version 700 by version 640
    Regards

  • Error while loading shared libraries: libsqlplus.so

    Hi
    After upgrading from 11.1.0.6 to 11.1.0.7 on linux.
    I get the below error:
    cd $ORACLE_HOME/bin
    ./sqlplus
    ./sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
    There was no error message before, I also gave chmod 777 to oracle home.I checked the metalink and couldnt find anything useful
    Any suggestion?

    not I got some warnings. I dont remember them.( most probably about links)not I got some warnings. I dont remember them.( most probably about links)
    This is the reason.
    now check and post here upgrade log file.
    Search on your system "*.log" and find upgrade log file and post the content here.
    Regards,
    Taj

  • ./biserverxmlgen: error while loading shared libraries: libnqsclusterapi64.

    I want to make use of the biserverxmlgen api.
    So my first step is to run ./bi-init.sh...so far so good I guess.
    Now when i want to run the biserverxmlgen command...I receive the following error
    *./biserverxmlgen: error while loading shared libraries: libnqsclusterapi64.so: cannot open shared object file: No such file or directory*
    Anyone can help me with this?
    Kr,
    A

    resolved...opened different sessions instead of doing all commands in one...stupid me...

  • Niping: error while loading shared libraries: libsapu16.so

    Hi SAP gurus,
    when trying to implement note # 500235, I got this error message on a Linux system:
    ./niping: error while loading shared libraries: libsapu16.so: cannot open shared object file: No such file or directory
    I know I have to add the library's path to LD_LIBRARY_PATH environment variable, but where is the path?
    I'm using SuSE Linux 9
    Thanks,
    Antonio

    ok... that solved the library problem.. thank you..
    now I'm having a connection refused error message:
    ***LOG Q0I=> NiPConnect2: SiPeekPendConn (111: Connection refused) [nixxi.cpp 8724]
    ERROR => NiTClientLoop: NiConnect (rc=-10) [nixxtst.cpp  2632]
    ERROR       partner not reached (host 10.1.206.20, service 3298)
    TIME        Mon Mar 12 12:18:22 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi.cpp
    LINE        8724
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       111
    ERRNO TEXT  Connection refused
    COUNTER     1

  • Saplicense -get: error while loading shared libraries: libsapu16.so

    Hi,
    I installed the SAP NetWeaver04s test drive on a 64bit Linux.
    After the command /usr/sap/N4S/SYS/exe/run/saplicense -get I got the error:
    /usr/sap/N4S/SYS/exe/run/saplicense: error while loading shared libraries:
    libsapu16.so: cannot open shared object file: No such file or directory
    The library libsapu16.so is in /usr/sap/N4S/SYS/exe/run/. I checked also the user rights of n4sadm and the $PATH variable. I think its all okay. What is the problem?
    Thanks,
    Roland

    Hi Markus,
    Itu2019s a really stupid mistake. I changed the shell of n4sadm to bash, because the csh wasnu2019t installed. In the ~.bashrc the LD_LIBRARY_PATH is not included but in the ~.cshrc. After installing csh and changing the shell of n4sadm to csh the problem is solved.
    Thanks,
    Roland

  • ARTADM: libcobrts64.so : cannot open shared object file

    While doing the Tuxedo server startup i am getting error message:
    ARTADM: error while loading shared libraries: libcobrts64.so: cannot open shared object file: No such file or directory.
    Getting the same error message for ARTCNX, ARTSTRN.
    I did verify one of the forum where its mentioned that MF Cobol Server Express need to be present on the linux, which i don't have. However, as per the Tuxedo documentation i have installed Cobol-IT compiler which is also compatible with the Tuxedo. Your inputs would be great help to resolve the issue.

    Please verify your installation as following,
    After installing ART Runtime with Cobol-IT option,
    1) In the ART installation directory you should see directory Cics_RT_CIT and symbolic link Cics_RT pointing to this directory, i.e.
    ls -l /testarea/xcao/art11gR1/Cics_RT
    lrwxrwxrwx 1 xcao units 35 Apr 27 11:04 /testarea/xcao/art11gR1/Cics_RT -> /testarea/xcao/art11gR1/Cics_RT_CIT
    2) All servers should depend on Cobol-IT libraries, e.g.
    ldd /testarea/xcao/art11gR1/Cics_RT/bin/ARTSTRN |grep cob
    libcobit.so.4 => /opt/cobol-it-64/lib/libcobit.so.4 (0x00002b0965f28000)
    libvbisam.so.3 => /opt/cobol-it-64/lib/libvbisam.so.3 (0x00002b096609b000)
    libiconv.so.2 => /opt/cobol-it-64/lib/libiconv.so.2 (0x00002b09661b3000)
    libgmp.so.10 => /opt/cobol-it-64/lib/libgmp.so.10 (0x00002b09663bc000)
    libcitextfh.so.4 => /opt/cobol-it-64/lib/libcitextfh.so.4 (0x00002b0966527000)
    libcobatmis.so => /testarea/xcao/tuxedo11gR1/lib/libcobatmis.so (0x00002b096abfc000)
    In addition, as Mark said, Cobol-IT Enterprise Edition 2.7 or later is required, Cobol-IT Standard Edition is not enough for ART.
    Regards,
    Xin Cao

Maybe you are looking for