Oracle 10g on AMD64 - libclntsh.so.10.1 in lib32 not build

Hello,
I tried to install the AMD64 build of Oracle 10g on my gentoo system without success. There were several warnings at the linking stage and it seems that none of the client tools are working. dbca gives me this:
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
I assume that the supplied java is a 32bit product, so I checked the dependencies of libnjni10:
oracle@gentoo ~/OraHome_1/lib32 $ ldd libnjni10.so
ldd: warning: you do not have execution permission for `./libnjni10.so'
linux-gate.so.1 => (0xffffe000)
libclntsh.so.10.1 => not found
libnnz10.so => ./libnnz10.so (0x55589000)
libdl.so.2 => /lib32/libdl.so.2 (0x55718000)
libm.so.6 => /lib32/libm.so.6 (0x5571b000)
libpthread.so.0 => /lib32/libpthread.so.0 (0x5573e000)
libnsl.so.1 => /lib32/libnsl.so.1 (0x55791000)
libc.so.6 => /lib32/libc.so.6 (0x557a5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x56555000)
In fact there is an empty .so file:
oracle@gentoo ~/OraHome_1/lib32 $ ll libclnts*
-rw-r--r-- 1 oracle oinstall 0 Jan 30 01:24 libclntsh.so
-rw-r--r-- 1 oracle oinstall 20491452 Jan 30 02:44 libclntst10.a
The same .so exists in the lib directory, so I assume that I also need the 32bit version in the lib32 directory. When I try "relink client_sharedlib" I get those error messages:
racle@gentoo ~/OraHome_1/lib32 $ relink client_sharedlib
/home/oracle/OraHome_1/bin/genclntsh
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc_nonshared.a when searching for /usr/lib/libc_nonshared.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
cp: cannot stat `/DISCARD/': No such file or directory
ar: creating /home/oracle/OraHome_1/lib/libclntst10.a
Created /home/oracle/OraHome_1/lib/libclntst10.a
ar: creating /home/oracle/OraHome_1/lib32/libclntst10.a
Created /home/oracle/OraHome_1/lib32/libclntst10.a
/home/oracle/OraHome_1/bin/genagtsh /home/oracle/OraHome_1/lib/libagtsh.so 1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc_nonshared.a when searching for /usr/lib/libc_nonshared.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
Did anyone have similar problems and was able to solve them?
Thanks,
Rainer

Well, there was another problem in the genclntsh script.
Under gentoo we got it fixed like this:
edit genclntsh in $ORACLE_HOME/bin. Go to the line that reads:
LD="gcc ${CF} -shared -Wl,-relax -L${OLIB}"
Delete that line and add:
if [ "$1" = "lib32" ]
then
LD="gcc ${CF} -shared -Wl,-relax -L${OLIB} -L/usr/lib32"
else
LD="gcc ${CF} -shared -Wl,-relax -L${OLIB}"
fi
Now run that script in order to get the libclntsh.so built.
After that dbca seems to work. Maybe this trick (adding lib32 to your path) needs to be applied to other scripts as well, since libagtsh.so seems to have the same problems.
/home/oracle/OraHome_1/bin/genagtsh /home/oracle/OraHome_1/lib/libagtsh.so 1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc_nonshared.a when searching for /usr/lib/libc_nonshared.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/libc_nonshared.a

Similar Messages

  • Error installing Oracle 10g on AMD64 WinXP-32bit

    I got the following error message half way through the setting up of "Oracle Remote Configuration Agent" during the installation of Oracle 10g.
    "OLE initialization or OCX load error while registering OCX"
    My system specs are as follows:
    AMD64 3500
    Asus A8N-SLI Deluxe
    1GB RAM on dual-channel
    NV6600GT PCI-E
    WindowsXP Pro 32bit SP2
    I've tried to ignore the error and continue but installation would stall while starting up listener. I've also tried to bypass the startup of listener during install and went ahead to try to startup and configure the listener, but I still cant get Oracle to work.
    The most fustrating thing is that I cant find any information concerning OLE and OCX errors. Can someone please help?

    When screen show:
    Product-Specific Prerequisite Checks.
    In the first pane show: Check for proper system clean-up
    78%
    In second pane show: Check for proper system clean-up

  • Oracle 10g AS 10.1.3 cluster : Topic MDB does not receive messages

    Dear experts,
    We have the latest Oracle 10g AS 10.1.3 cluster, which consists of two nodes.
    Background: Our application is a J2EE app extensively using JMS for communicating notifications between cluster nodes. It does work fine in standalone OC4J, clustered WebLogic and clustered SAP WebAS.
    Application is deployed without any errors to Oracle AS. It works fine with 1 cluster node, it 'half' works when second node is added.
    The cluster does recognize both nodes - we can administer and see them fine from the console.
    The problem application experiences is this:
    1. The application MDBs do not seem to receive any messages sent from another node. Only messages submitted from the same JVM are ever seen. This leads to incosistency in server caches.
    2. JNDI tree updates made from one node are also not visible on the other and vice versa.
    We tried it on a single physical server with 2 App Server instances and on 2 physical servers.
    I followed standard instructions on how to configure clustered environment - basically all we could do after we installed two instances was we turned on the PEER clustering for our application.
    Firewalls are also turned off on both servers.
    I would really appreciate any piece of advice because we're really stuck at this point!
    Thank you!
    -Yuri Sokolovski
    SCEA

    Hi Peter,
    Can you just install 10.1.3 on top of another AS installation?You can't install an Oracle Application Server on top of another version. The 10.1.3 install needs to have its own Oracle Home. However, you can configure a 10.1.3 install to use OHS 10.1.2 and to use OID 10.1.2 as its identity management store.
    Can you install 10.1.3 standalone?Absolutely. You can download it from:
    http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
    Serouj

  • Oracle 10g over Windows 7 - ORA-12514 TNS:listener does not currently know

    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well.
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    Khaldoun

    user1941003 wrote:
    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well. The only 10g software certified/supported on Win 7 (Professional or higher) is 10.2.0.5. Win Home versions are not supported.
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
    Other versions may or may not work - so fixing any errors that result from unsupported/uncertified combinations is up to you.
    >
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    KhaldounSrini

  • Oracle 10g RAC installation on HP-UX 11.31 for SAP ERP 6.04

    Dear experts,
    We are trying to install SAP ERP 6.0 EHP4 with Oracle 10g RAC on HP-UX 11.31. Please note that, We are using VERITAS cluster filesystem (CFS) for this purpose and not HP-UX ServiceGuard ClusterFileSystem.
    *As per SAP procedure, we have installaed plain plain SAP system with single instance Oracle (ref: Configuration of SAP NetWeaver for Oracle Database 10gRAC guide). Now we are first trying to install Oracle Clusterware (CRS) and then we will install Oracle RAC software. Is this procedure right?*
    Which file (and its path) we have to use for CRS installation and its patch? Is it runInstaller under /oracle/stage/102_64/clusterware? With this file we can install CRS 10.2.0.1. Similarly for Oracle RAC, which files we are supposed to use, i.e for installation and patch upgrade?
    Also can we use clusterware package available from Oracle directly in the SAP environment?
    We tried to install CRS with runInstaller while running Configuration Assistant after root.sh script.
    The following commands are failing in Configuration Assistant:
    /oracle/CRS/102_64/bin/racgons add_config erpprdd1:4948 erpprdd2:4948
    /oracle/CRS/102_64/bin/oifcfg setif -global  lan1/20.20.20.0:cluster_interconnect lan0/192.168.3.0:public
    /oracle/CRS/102_64/bin/cluvfy stage -post crsinst -n erpprdd1,erpprdd2
    1st command does not give any output if run manually.
    2nd commands o/p: PRIF-12: failed to initialize cluster support services
    3rd commands fails in every check
    Please suggest the solution and expecting answers to the above mentioned questions.
    Thanks & Regards,
    Tejas

    >
    Charles Yu wrote:
    > Q1:  Oracle RAC with 9.2.x on HP-UX?
    > A:   For HA environment, cluster software is: MC/SG on HP-UX 11.31; there are  optional components of MC/SG  for supporting Oracle RAC and SAP application.  I was confused that I could not find the installation guide regarding 4.6C on MC/SG HA environment of HP-UX.
    > Charles
    Relevant docs for Service Guard (SG) cluster are available at http://docs.hp.com. Hope you have checked for the suport of oracle 92x on HP-UX 11.31
    >
    Charles Yu wrote:
    > Q2: Any reason why you don't use a supported database version?
    > A:   Actually, in order to avoiding the the risk of database upgrade and minimizing the migration risk,  top level has decided that keeping the same Oracle version. Indeed, we don't plan the migration of application. On the other hand, it is complicated to do the assessment for application migration.
    > Charles
    You can go for combined os migration and db release upgrade also at a stretch with the same downtime.

  • Installing Oracle 10g Express Edition on x86_64

    Hi,
    I tried installing Oracle 10g express edition on Arch Linux X86_64 but could not get it running.
    I followed guide here http://alodib.com/?q=node/32.
    Installation went well. Then I configured it, apparently went well. But could not get it running.
    I have following output
    $>sudo /etc/rc.d/oracle-xe restart
    :: Stopping Oracle Database                                              [FAIL]
    :: Starting Oracle Database                                              [DONE]
    $>sudo /etc/rc.d/oracle-xe restart
    :: Stopping Oracle Database                                              [FAIL]
    :: Starting Oracle Database                                              [DONE]
    $>sudo /etc/rc.d/oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-DEC-2011 12:58:24
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                26-DEC-2011 12:17:16
    Uptime                    0 days 0 hr. 41 min. 7 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    $> sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 26 13:17:43 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: system
    Enter password:
    oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact

    1) which Linux(freeware) flavor should I install ?Ordinarily, I'd recommend getting Oracle Linux (http://eDelivery.oracle.com/linux) because the default install includes all the prerequisite RPM packages you will need. And failing that, also offers another RPM package "oracle-validated" which will cause the installation of the necessary prerequisites.
    But... you mentioned customer: if this is a revenue-producing situation and customer money is at stake, I strongly recommend they obtain commercial O/S support with either Oracle, Red Hat, or maybe SuSE/Novell. Compared to the cost of a downed business, an O/S support arrangement is cheap, cheap, cheap.
    2) is there any virtual enviornment available for Linux Os on which I can install 10g Express Edition database ?Sure. You can run Oracle VirtualBox on most Linux, Windows, or Solaris boxes. http://VirtualBox.org for info.
    3) If available, is there any difference in using the Linux Os in Virtual enviornment and actual installing Linux ? will there be any difference in installing database and configuration for both the cases?No real differences in either environment.
    4) need download link for latest version of Red Hat Linux setupWhat, you didn't try http://eDelivery.oracle.com/linux yet?

  • Problem storing Russian Characters in Oracle 10g

    We are facing an issue in one of our sites which is in Russian Language. Whenever data is submitted with Russian Characters it saves it as Question mark(upside down) in the database. Database is not supporting these characters.The character encoding is done in UTF-8 format from the front end.
    This code use to work fine with Oracle 9i database but after the upgradation to Oracle 10g this problem has started occuring. We have not made any changes to the code after the upgradation of the database.
    How can we resolve this and what are the settings that we can do to make this work fine?

    What is your database character set and national character set?
    SELECT *
      FROM v$nls_parameters
    WHERE parameter like '%CHARACTERSET';Are you storing the data in CHAR/ VARCHAR2/ CLOB columns? Or NCHAR/ NVARCHAR2/ NCLOB?
    Justin

  • Private interconnect of an Oracle 10g cluster

    Can you please answer below questions?
    Is a direct connection between two nodes supported on the private interconnect of an Oracle 10g cluster?
    We know that crossover cables are not supported, but what about a Gigabit network with a straight cable?”

    Hi,
    I really wouldn't suggest that approach, It is definitely not efficient and not flexible
    - If you have 4 nodes, and nodes 1 want to send message to node 4, the package must go through node 2 and 3? Is it efficient? NO absolutely
    - If you have e.g 2 nodes, if one of the link down in one of the nodes, the other nodes link will also down, this will most likely evicting both nodes instead of one node
    - your clusterware nodes iis limited by the cable which is not efficient
    - etc etc etc more disadvantages than advantages
    Cheers
    FZheng

  • Oracle forms & reports support on oracle 10g lite

    Currently our oracle forms & reports 6i application works on oracle 8i database with oracle 9i lite.
    We upgraded our database to oracle 9i r2 and lite to 10gr2.
    After publishing the application when i try to open the application the forms screen disappears for ever.
    I wanted to know whether oracle forms and reports 6i is supported on
    oracle 10g lite r2?
    Thanks,
    Ashok Kumar.G

    No. Not only it isn't certified, but it is also impossible to run forms compiled with the 11g compiler with the 10g runtime. For 11g there is a install bundle for the developer suite / application server.
    cheers

  • Import oracle 11g database into oracle 10g Server -

    Hi guys,
    We have a oracle db running on Oracle 11g. Now, we would like to export from oracle 11g into Oracle 10g XE for important demo. Is it possible??
    When i try to import into Oracle 10g XE, the following Error msg appears :
    IMP-00010: Not a valid export file, header failed verification
    Pls help soonest possible...
    tx
    Rama

    A BIG thank you to both of you, Managed to import succesfully. appreciate your help.
    Just for others who would be using this forum.
    Steps involved
    1. connect with Oracle 10g Export utility to the source db.
    2. export the db from source to target server
    3. create DDL & schema of the source db.... ( i used toad dba )
    4. run the DDL & schema of the target db (oracle 10g) .. ( i used toad dba )
    5. import the dump to target server.
    6. done...
    thanks.

  • ORACLE 10G group by sorting Suggestion rqd

    Hai friends,
    recently we migrated from Oracle 9i to oracle 10g. We are instructed that Group by will not sort the records in Oracle 10g, so we are asked to add Order By Clause in wherever applicable in the package.
    But after migration i inserted 100 records in 10g database and tested. I am getting correct sorting of records based on Group by column. Can any one explain me why it is? I heard the news sorting will difer on Oracle 10g versions. I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0. if it automaticallly sorts, then no need to change the package for sortiing right?
    Give me your valuable suggestions..
    S

    And here's a simple example on 10.2.0.4 that clearly shows the results are not sorted.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> select object_type, count(*) from all_objects group by object_type;
    OBJECT_TYPE                     COUNT(*)
    CONSUMER GROUP                         2
    INDEX PARTITION                      718
    TABLE SUBPARTITION                    14
    SEQUENCE                             228
    SCHEDULE                               1
    TABLE PARTITION                      301
    PROCEDURE                             21
    ...Like everyone else has already said, Oracle does not guarantee the order from a group by clause with no order by.
    If you need the results in order you must use an order by clause.
    Pretty simple really.

  • Oracle 10G error - while installing 4.6C

    Dear all,
    I have tried installing 4.6c directly in oracle 10g in a HPUXIA64 server.
    I followed the note 946141 and did the central instance and also installed Oracle and upgrade it to 10.2.0.2 then applied the interim patches.
    After applying the interim patches I started the DATABASE.R3S file and it has loaded the data successfully and also statistics update was done successfully.
    But it fails to start the database. when I checked the alert log it says.
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Wed Dec  5 21:54:29 2007
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Can anyone help me to solve this issue
    Regards
    Senthil

    Thank you very much for your help Markus.
    The installation was complete and was able to start sap.
    But I got an error in the last step. mentioned below.
    Enter CONT to continue with R3SETUP now.
    Enter EXIT to exit R3SETUP, update the MNLS tables and afterwards restart
    R3SETUP to continue the installation procedure.
          (1) Continue installation
       -> (2) Exit
    Please select one of the options by entering the preceding number
    or confirm default [2]: 1
    INFO 2007-12-07 20:05:01
        Starting the SAP system on the central instance
    INFO 2007-12-07 20:05:01
        Starting up the SAP System
    Starting SAP-Collector Daemon
    This is Saposcol Version COLL 20.79 03/08/22 46D -  hpxOscol 07/2003
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    Starting collector (create new process)
    could not move /usr/sap/tmp/dev_coll to /usr/sap/tmp/dev_coll.old
    saposcol on host cpchpsap started
    Checking SAP R/3 DV2 Database
    Database is running
    Starting SAP R/3 Instance
    Startup-Log is written to /home/dv2adm/startsap_cpchpsap_00.log
    Instance on host cpchpsap started
    INFO 2007-12-07 20:05:39
        Initializing the Workbench Organizer with RFC
    INFO 2007-12-07 20:06:18
        Creating Database-Specific Objects with RFC
    ERROR 2007-12-07 20:06:50 RFCRADDBDIF_IND_IND InstallationDo:0
        Phase failed.
    ERROR 2007-12-07 20:06:50 Main
        Installation aborted.
    Not sure what this step does?
    How do I proceed?
    Thanks & Regards
    Senthil

  • How to install Oracle 10g on zone

    Hi,
    I'm new in zone technology.
    I have a problem with installing Oracle 10g R2 on previously created zone.
    I am not able to run Oracle installer.
    Is it possible to install Oracle 10g using OUI GUI?
    I have exported DISPLAY variable but I there is not available xhost + command.
    Normal installing Oracle 10g on Solaris I use xhost + to run installer.
    But in zone this command is not available.
    Could you please tell me the solution to install Oracle 10g on zone?
    Kind regards,
    Daniel

    xhost appears not to work if you are zlogin.
    What you may want to try is creating a Unix user inside the zone and then ssh into the zone as if it was a regular machine.
    Rich

  • Infomix 9.7.4 to Oracle 10g

    Looking for a migration workbench to move from Informix 9.7.4 to Oracle 10g database. Is there one available?

    Hmm, not at this time, tho you could try the offline capture with the 10.1.0.4 workbench. If it comes out in the same format, you may by in luck.
    Barry

  • Free download of Oracle 10g & JDeveloper 10g(10.1.2.1)

    I am a new user of Oracle 10g.After downloading oracle10g from ur site,i was not able to access it on my desktop.The message i see on screen is 'to open this file windows needs to know what programme created it.'
    I run Microsoft Windows Xp 2002 version on my system.I thought i should download JDeveloper 10g(10.1.2.2) maybe it might open the file but whot i see on my screen after i have completed the download & i try to open is 'fail to load main-class manifest attribute from c:\documents & settings\....(name of file).'
    Pls tell me the procedures/tools that i need to enable Oracle 10g to successfully run on my system.
    Thanks for your anticipated assistance.

    The files you download from OTN are zip files, so you'll need to unzip them. One thing to make sure is that you unzip keeping the sub-directory structure.
    If you are just starting out with JDeveloper - start with JDeveloper 10.1.3 - there is no reason to start with an older version of JDeveloper.

Maybe you are looking for

  • Coaxial to Ethernet to Apple TV

    I'm getting my first ever widescreen / HD TV next week. I'd like to get the Apple TV too and go straight from my coaxial outlet into it and avoid wireless altogether. What will I need to accomplish this? I found this Netgear MCAB1001 MoCA Coax-Ethern

  • Add Profit center in F.01 output

    Hi, Our client wants a display of the profit center in the output in f.01 report, In f.01 profit center is present in the dynamic selection option only. and only business area's summation option is available.R I'm not finding any suitable enhancement

  • Installer failed to intialize

    Tried to install adobe cloud several times and keep getting ''installer failed to intialize" I have reinstalled Java and Flash.

  • Can I merge two iTunes libraries?

    Can I merge two iTunes libraries, one on a Dell PC, the other on an attached external hard drive? If so, step-by-step instructions would be appreciated. There is too much work involved to allow a mistake! - jazzeas

  • Configurator for home use?

    I have replaced my wife's and my iPad 1 with the new iPads.  Can I use configurator to setup the old iPads for the Grandkids to use when they visit? I would be using mostly free apps for toddlers.  Do I still need codes for these apps? Is the configu