Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

I'm using Mac OS X 10.3.6, gcc3.3, CodeWarrior 9.0, and installed XCode1.5 too.
I had installed Oracle Database 10g Client for Mac OS X fully.
I'm trying to build the demo of OCCI. I can run the'make -f demo_rdbms.mk occimb1' command
successfully, and generate a 'occimb1' execution file.
But when I build 'occimb1' demo with CodeWarrior, the statement 'Environment::createEnvironment()'
cause a error as below:
Link Error : undefined:
'_ZN6oracle4occi11Environment17createEnvironmentERKSsS4_NS1_4ModeEPvPFS6_S6_mEPFS6_S6_S6_
mEPFvS6_S6_E' (code)
Referenced from 'main' in occimb1.cpp
I had already added these lib: libclntsh.dylib.10.1, libocci.dylib.10.1, libnnz10.dylib, libociei.dylib.
Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

Hi,
The same issue is faced by me when I was migrating my application from forms6i (oracle 8i) to forms 10g(oracle 10g).
Solution:
create a view based on the table on the other database (use db link)
now create a synonym using this view and make it public.
use this synonym in your form.
It looks like something weared but this worked !!
Try it !!

Similar Messages

  • Give me the sql query which calculte the table size in oracle 10g ecc 6.0

    Hi expert,
    Please  give me the sql query which calculte the table size in oracle 10g ecc 6.0.
    Regards

    Orkun Gedik wrote:
    select segment_name, sum(bytes)/(1024*1024) from dba_segments where segment_name = '<TABLE_NAME>' group by segment_name;
    Hi,
    This delivers possibly wrong data in MCOD installations.
    Depending on Oracle Version and Patchlevel dba_segments does not always have the correct data,
    at any time esp. for indexes right after being rebuild parallel (Even in DB02 because it is using USER_SEGMENTS).
    Takes a day to get the data back in line (never found out, who did the correction at night, could be RSCOLL00 ?).
    Use above statement with "OWNER = " in WHERE for MCOD or connect as schema owner and use USER_SEGMENTS.
    Use with
    segment_name LIKE '<TABLE_NAME>%'
    if you like to see the related indexes as well.
    For partitioned objects, a join from dba_tables / dba_indexes to dba_tab_partitions/dba_ind_partitions to dba_segments
    might be needed, esp. for hash partitioned tables, depending on how they have been created ( partition names SYS_xxxx).
    Volker

  • Problem faced when installing oracle 10g

    i faced this problem when intalling oracle 10g in windows xp. this dos prompt opens for 5 min. and then it get closed..after tht nuthing happens.
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be 4.0, 5.0, 5.1 or 5.2. Actual 5.1
    Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 4
    294967296 Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from C:\DOCUME~1\ADMINI~1\LOCALS~
    1\Temp\OraInstall2006-09-02_03-43-19AM. Please wait ...

    Check the directory read-write permission and the space on the C:\ Drive C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\OraInstall2006-09-02_03-43-19AM.
    Actually Oracle Installer might be trying to create log file and due to above two reason not able to proceed.

  • When will Oracle 10g/11g support Windows Server 2008 and AIX6.1

    Hi all
    I'm sorry if I post it in a wrong place... But I really want to know when will Oracle 10g/11g support Windows Server 2008 and AIX 6.1?
    I've searched in metalink but found nothing useful. Is there anybody can give me a link of Oracle's roadmap for platform support?
    Thanks!

    Oracle does not announce release dates and neither
    does any other software company.But Oracle does have a very good track record of supporting their products on new windows releases extremely close to the windows release date. Clearly they can't support on an unreleased platform though. Given that the launch of Server 2008 isn't even complete worldwide yet (19th March in the UK for example) it would seem that this enquiry is a little premature.
    Niall Litchfield
    http://www.orawin.info/

  • How can I solve memory lick, which occurs when operate Oracle 10g DB ?

    I'm using Dell power Edge2850 server(dual CPU, 4GB Ram), RedHat AS 3 and Oracle 10g SE ONE. When I started the server, transaction speed was very fast. But after several day, the system has been getting slower seriously.
    So I monitored my system using 'top'. And I've found that almost 30MB swap memory has been used and CPU usage has been only 23%. But there has been 2GB idle Ram memory. Besides when Oracle don't execute any operation, swap memory is not freed. After I started my server, swap memory allocated has been getting larger and larger. And the speed of my system has been getting slower and slower.
    I think that it is very strange thing not to free swap memory when there is no operation on the server.
    Of course, swapping which rise with large transaction is not problem. But it is a serious problem not to free swap memory when there is no transaction.
    How can I solve this ploblem? Thanks.

    This means the the URL for database control will use the http protocol. To convert to the https protocol (using the included SSL certificate), use the steps documented above. Before doing so, pl review MOS Doc 1222603.1
    HTH
    Srini

  • Error in GetCurrentDir(): 13 when installing oracle 10g software

    Hi Basis Expert,
    We are doing an Mock System Upgrade.
    So now we are installing
    Before upgrade
    BW 3.5 with oracle 10g (10.2.0.4)
    After upgrade
    BI 7.0 with oracle 11g (11.2.0.4)
    When installing the Oracle 10g software we are getting an error
    Error in GetCurrentDir(): 13
    Error in GetCurrentDir(): 13
    Error in GetCurrentDir(): 13
    Starting Oracle Universal Installer...
    Our OS is AIX 5.3
    Please help us in fixing this issue
    Regards,
    Anil Shenoy

    [While Installing Oracle software facing "Error in GetCurrentDir(): 13" [ID 378393.1]|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=378393.1]
    Solution
    In order to get rid of this problem, please check for the following.
    1. You are logged in as the oracle user and group which owns the oraInventory (if this is not the first install on this system)
    2. You have read/execute permissions on the source files/directories (CD-ROMor CD-ROM image)
    3. You have write permissions on the target directory (ORACLE_HOME)
    4. When the target filesystem for ORACLE_HOME is unmounted the directory for the mount point has rwx permissions for the oracle user
    If this is the first Oracle software to be installed on this system you can ignore item 1 as it will create a new oraInventory with the correct permissions. For item 4, unmount the filesystem and "chmod 777" the directory used for the mount point, then remount the filesystem. Item 4 is actually a somewhat frequent issue on AIX.
    If none of the above solves your problem, the only alternative left would be, to copy the Staging directory (Disk1 of Install) to /tmp directory and proceed with the installation.

  • ORA-12157 when installing Oracle 10g on Fedora 5?

    Hi, Im installing Oracle 10g on Fedora 5, I did it once, but when I tried to set it up again I
    got this error on the last part of the install...
    ORA-12157: TNS: internal network communication error
    Anybody know what might cause this?
    I think I have installed all required RPMs and set environment variables, kernel parameters,
    created oracle users and groups as needed, but still get the above error. I searched the error and some claim it is a problem using newer glibc 2.4.4, so I tried installing on Fedora 4 and had the same error even with glibc 2.3???
    Thanks so much,
    Jon

    Oracle Database 10g Release 2 (10.2.0.1) Installation On Fedora Core 5 (FC5 X86) Step by Step
    This is a Server Installation with a minimum of 2G swap, secure Linux disabled and the following package groups installed:
    Editors
    Graphical Internet
    Administration Tools
    Base
    X Window System
    System Tools
    Server Configuration Tools
    GNOME Desktop Environment
    Development Libraries
    Development Tools
    Legacy Development Support
    Legacy Server Support
    Alternative installations may require more packages to be loaded, in addition to the ones listed below.
    Download Software
    Unpack Files
    Hosts File
    Set Kernel Parameters
    Setup
    Installation
    Post Installation
    Download Software
    Download the following software:
    Oracle Database 10g Release 2 (10.2.0.1) Software
    openmotif21-2.1.30-14.i386.rpm
    Unpack Files
    Unzip the files:
    unzip 10201_database_linux32.zipYou should now have a single directory containing installation files. Depending on the age of the download this may either be named "db/Disk1" or "database".
    Hosts File
    The /etc/hosts file must contain a fully qualified name for the server:
    <IP-address> <fully-qualified-machine-name> <machine-name>Set Kernel Parameters
    Add the following lines to the /etc/sysctl.conf file:
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144Run the following command to change the current kernel parameters:
    /sbin/sysctl -pAdd the following lines to the /etc/security/limits.conf file:
    * soft nproc 2047
    * hard nproc 16384
    * soft nofile 1024
    * hard nofile 65536Add the following line to the /etc/pam.d/login file, if it does not already exist:
    session required /lib/security/pam_limits.soDisable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:
    SELINUX=disabledAlternatively, this alteration can be done using the GUI tool (Desktop > System Settings > Security Level). Click on the SELinux tab and disable the feature.
    Setup
    Install the following packages:
    # From Fedora Core 5 DVD
    cd /media/dvd/Fedora/RPMS
    rpm -Uvh setarch-*
    rpm -Uvh --force tcl-*
    rpm -Uvh libXp-*
    rpm -Uvh openmotif-2*
    rpm -Uvh compat-db-*
    rpm -Uvh compat-libstdc++-33*
    rpm -Uvh compat-libf2c-32-*
    rpm -Uvh compat-gcc-32-*
    rpm -Uvh libaio-*
    rpm -Uvh compat-gcc-32-c++-*
    rpm -Uvh compat-libstdc++-296*
    rpm -Uvh compat-libgcc-296*
    # From download
    rpm -Uvh openmotif21-2.1.30-14.i386.rpmCreate the new groups and users:
    groupadd oinstall
    groupadd dba
    groupadd oper
    useradd -g oinstall -G dba oracle
    passwd oracleCreate the directories in which the Oracle software will be installed:
    mkdir -p /u01/app/oracle/product/10.2.0/db_1
    chown -R oracle.oinstall /u01Login as root and issue the following command:
    xhost +<machine-name>Edit the /etc/redhat-release file replacing the current release information (Fedora Core release 5 (Bordeaux)) with the following:
    redhat-4Login as the oracle user and add the following lines at the end of the .bash_profile file:
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=TSH1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fiInstallation
    Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:
    DISPLAY=<machine-name>:0.0; export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following command in the database directory:
    ./runInstallerEnter the appropriate ORACLE_HOME and name then continue with the installation.
    During the installation, before the linking phase, edit the contents of the "$ORACLE_HOME/bin/gennttab" file, amending the following entries:
    # Change this...
    LIB=`$ECHO ${TtoLIB} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    INI=`$ECHO ${TtoINI} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    BAS=`$ECHO ${TtoBAS} | $SED 's/ /\\
    /g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    # To this...
    LIB=`$ECHO ${TtoLIB} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    INI=`$ECHO ${TtoINI} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
    BAS=`$ECHO ${TtoBAS} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`If you don't do this the ntcontab will hang indefinitely during the linking phase.
    Post Installation
    Edit the /etc/redhat-release file restoring the original release information:
    Fedora Core release 5 (Bordeaux)Finally edit the /etc/oratab file setting the restart flag for each instance to 'Y':
    TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
    Ref.: http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnFedora5.php

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • Deleting the flashback recovery area and the files (Oracle 10g on Solaris 8

    Hi,
    We have a dev. db which is small about 3 gb in all (crd files). for this I had enabled flashback and also put it in archivelog mode. then the db_recovery_file_dest_size grew to 3 gb. since space is an issue, I turned off the flashback feature. (by the command: ALTER DATABASE FLASHBACK OFF;)
    Tomorrow I will also make it into noarchivelog mode. My question is: it is having lots of archived logs (may be 3 gb or more) in the flashback recovey area. What is the correct syntax to delete them? There is a warning in alert log which says that use RMAN delete command but I am not aware of exact syntax.
    Thanks
    Nirav

    You can use variations of delete. (As you say there are many files, incude noprompt)
    Once the database goes into noarchivelog mode, the archived redo logs are essentially worthless. They would be useful/necessary if you wanted to restore the database to a point in time prior to going noarchive, but if you don't need that, the two ways you are looking at deleting (depending how you go about it) are at the OS level and within the database (what Oracle knows or remembers about the archived redo logs and where they were sent to via the arch process). The RMAN approach is cleaner, assuming you were using that.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/maint009.htm#sthref776
    Delete unnecessary files from the flash recovery area using the RMAN DELETE command. (Note that if you use host operating system commands to delete files, then the database will not be aware of the resulting free space. You can run the RMAN CROSSCHECK command to have RMAN re-check the contents of the flash recovery area and identify expired files, and then use the DELETE EXPIRED command to remove missing files from the RMAN repository.)

  • What are available patches on Oracle 10g 10.2.0.3

    Hi Guys,
    Just want to know which all patches are available on Oracle 10g 10.2.0.3?
    And how to find which patches are available on which oracle database version?
    Thanks in advance!
    Avinash.

    All patch details are listed on Metalink.
    http://metalink.oracle.com
    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    http://sozaman.blogspot.com

  • Please help me, a problem when install oracle 10g on the solaris 10

    currently, I am installing the oracle 10g on the solaris 10, I am using DHCP and
    my computer has no hostname, the following is copied from the 10g document,
    When you run Oracle Universal Installer, an error may occur if name resolution is not set up. To avoid this error, before you begin installation, you must ensure that host names are resolved only through the /etc/hosts file.
    To ensure that host names are resolved only through the /etc/hosts file:
    1.
    Verify that the /etc/hosts file is used for name resolution. You can do this by checking the hosts file entry in the nsswitch.conf file as follows:
    # cat /etc/nsswitch.conf | grep hosts
    The output of this command should contain an entry for files.
    2.
    Verify that the host name has been set by using the hostname command as follows:
    # hostname
    The output of this command should be similar to the following:
    myhost.mycomputer.com
    currently, when I use hostname command, it is unknown, what should I do to add
    my hostname? thanks

    Since this is related to Solaris, you will most likely get a better/faster response on a Sun Solaris forum rather than here.
    Srini

  • Some Schedule jobs are not running in Oracle 10g

    i have total of 8 Schedules jobs in Oracle 10g test database which were not in sync with prod database . So i re-created all of them again and then enbled them . but some 4 of them didnt ran on their NEXT_RUN_DATE . Showing NULL on LAST_START_DATE and LAST_RUN_DURATION . How to make them Run
    select OWNER,JOB_NAME,START_DATE,STATE,SCHEDULE_NAME,LAST_START_DATE,LAST_RUN_DURATION,NEXT_RUN_DATE from ALL_SCHEDULER_JOBS
    where OWNER='MESH_FOR' and last_start_date is NULL;
    OWNER     JOB_NAME     START_DATE     STATE     SCHEDULE_NAME     LAST_START_DATE     LAST_RUN_DURATION     NEXT_RUN_DATE
    MESH_FOR     REFRESH_TERMINALS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     REFRESH_MN_SERVERS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     REFRESH_EVENT_INFO_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     UPDATE_MV_CHANGES_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00

    Hi,
    Could you please explain, what is OS authentication?
    I created a new user for creating and runing jobs.
    I have given following priveleges to the new User.'
    1)Connect
    2)SELECT_CATALOG_ROLE
    3)Create Job
    Then, I created the job as follows.
    BEGIN
    sys.dbms_scheduler.create_job(
    job_name => 'SMPL_TST_JB',
    job_type => 'PLSQL_BLOCK',
    job_action => 'Declare
    Result Integer;
    begin
    Result:=1;
    /* Other statments */
    Exception
    when others then
    Result:=3;
    end;',
    repeat_interval => 'freq=daily;byhour=10;byminute=00;bysecond=00',
    start_date => systimestamp,
    job_class => 'DEFAULT_JOB_CLASS',
    auto_drop => FALSE,
    enabled => TRUE);
    sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'logging_level', value => DBMS_SCHEDULER.LOGGING_FULL);
    sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'restartable', value => TRUE);
    END;
    Then, I run the job as following.
    SQL> begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
    2 /
    begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
    ORA-03113: end-of-file on communication channel
    Thank you,
    Regards
    Gowtham Sen.

  • Error message when compiling oracle 11g reports

    Hello Team
    When we are trying to compile a oracle 11g report we are getting the below message.
    "Could not read report properties"
    But compile status of the report is Success and we are able to run the report in our environment.
    Could you please advise us how to fix the above error message?
    Thanks ,
    Salaithenagan J

    Hello,
    How do you compile the Reports ? Do you use rwconverter.sh in ORACLE_INSTANCE/config/reports/bin ?
    If yes , could you copy the content of this script in this thread ?
    Regards

  • How to determine which packs are installed on the Oracle Enterprise Edition

    IS there any way to determine which option packs have been installed on 10g oracle enterprise edition . i don't seem to have grid control installed ?
    Is there some easier way to determine this ?
    regards
    Ajay

    No orainventory directory found However, it's the best way to know what are the installed product against your ORACLE_HOME.
    You can run the OUI and look for the installed components if any.
    Nicolas.
    PS : you need to log on your server.

  • Error message when installing Oracle 10g on Windows XP Professional

    Hello,
    I need help installing oracle 10g database. When I attempt to run the installation from the setup.exe icon, I get a message that says
    "Error in writing to directory C:\Documents and Settings\Owner\Local Settings\Temp\OraInstall2007-04-29_01-19-29PM. Please ensure this directory is writable and has atleast 45Mb of disk space. Installation cannot continue."
    When I try to open the installation from the Autorun icon, it points to an innability to find setup.exe and when I go back to Setup.exe, it gives me the above error. Everytime I try to run the installation and it fails, the installation leaves a folder in my Temp folder with the above format. Any help would be appreciated. Thank you.

    I do have administrative privilege on my computer and I have plenty of space. I have 80gb of free space. What do I do to successfully install the software without incurring those messages I displayed in my first thread?

Maybe you are looking for

  • Jabber iPad - Voice Mail Pilot Number

    Hi All, We are testing with Jabber ipad & logged in Presence Account.We have logged in the Voice & Video account as well. i couldn't get any number in " Call Voicemail " option. Voicemail configured & profile subscribed for this user in CUCM & CUPS.

  • What is personal hotspot? How much does it cost monthly?

    I would like to know what personal hotspot is and how much does it cost monthly and how does it work!

  • Itunes sync stopped working a while back

    Itunes Sync with my iphone stopped working properly ever since I upgraded to my IPHONE5... way back.  At the time I had to do the steps below in order to get all my music to sync over. Backup and then Restore to factory settings restore my phone from

  • Error when attempting to download pl/sql script in Editor

    Greetings, I'm getting the following error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small when clicking the download button located within the script editor. and ... while i've got your attention, why dont the cut and p

  • Trying to install gcc with Command Line Tools - Mountain Lion

    I am trying to update the CUDA driver for an NVIDIA GeForce GTX 570 card. To do that, I need gcc installed. It appears I have not been able to install gcc, and I need help doing this. I am a newbie to both Terminal commands and to updating CUDA drive