Installation DBD oracle

Hi everybody I want to install DBD oracle but every time give me a differente error.
somebody can help me please
last error is:
make [test dynamic] erreur 2
please help me

Too bad your typing is lacking while CUT & PASTE seems broken for you.
It works for me many times & for others.
Please correct problem & try again, again.

Similar Messages

  • Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client

    Hi
    I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error -
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1Here are the complete details of my attempt of installation of the perl module -
    [root@tch1testuview1 DBD-Oracle-1.50]# perl Makefile.PL
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
    Remember to actually *READ* the README file! Especially if you have any problems.
    Installing on a linux, Ver#2.6
    Using Oracle in /app/utiba/oracle/client
    DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
    Oracle version 11.2.0.3 (11.2)
    Found /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Using /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Your LD_LIBRARY_PATH env var is set to '/app/utiba/oracle/client/lib:/lib:/usr/lib'
    Reading /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Reading /app/utiba/oracle/client/rdbms/lib/env_rdbms.mk
    WARNING: Oracle /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.
    WARNING: I will now try to guess how to build and link DBD::Oracle for you.
             This kind of guess work is very error prone and Oracle-version sensitive.
             It is possible that it won't be supported in future versions of DBD::Oracle.
             *PLEASE* notify dbi-users about exactly _why_ you had to build it this way.
    Found header files in /app/utiba/oracle/client/rdbms/public.
    client_version=11.2
    DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112
    Checking for functioning wait.ph
    System: perl5.008008 linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux
    Compiler:   gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
    Linker:     /usr/bin/ld
    Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo
    Oracle makefiles would have used these definitions but we override them:
      CC:       $(GCC)
      CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
            $(SHARED_CFLAG) $(USRFLAGS)
               [$(GFLAG) -O2 $(CDEBUG) $(CCFLAGS) -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
      LDFLAGS:  -o $@ $(LDOBJSZ) $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/ $(LDPATHFLAG)$(LIBHOME) $(LLIBIRC)
               [-o $@ -m32 -L/app/utiba/oracle/client/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/ -L$(LIBHOME) -lirc -lipgo ]
    Linking with  -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm  [from $(OCISHAREDLIBS)]
    LD_RUN_PATH=/app/utiba/oracle/client/lib
    Using DBD::Oracle 1.50.
    Using DBD::Oracle 1.50.
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::Oracle
    ***  If you have problems...
         read all the log printed above, and the README and README.help.txt files.
         (Of course, you have read README by now anyway, haven't you?)
    [root@tch1testuview1 DBD-Oracle-1.50]# make
    Skip blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod (unchanged)
    Skip blib/lib/DBD/Oracle.pm (unchanged)
    Skip blib/lib/oraperl.ph (unchanged)
    Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Vms.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Linux.pod (unchanged)
    Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Hpux.pm (unchanged)
    Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
    Skip blib/lib/Oraperl.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Sun.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Macos.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Aix.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win64.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win32.pod (unchanged)
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
    dbdimp.c: In function ‘fb_ary_cb_alloc’:
    dbdimp.c:324: warning: comparison is always false due to limited range of data type
    dbdimp.c:325: warning: comparison is always false due to limited range of data type
    dbdimp.c:326: warning: comparison is always false due to limited range of data type
    dbdimp.c:327: warning: comparison is always false due to limited range of data type
    dbdimp.c:328: warning: comparison is always false due to limited range of data type
    dbdimp.c: In function ‘fb_ary_alloc’:
    dbdimp.c:344: warning: comparison is always false due to limited range of data type
    dbdimp.c:345: warning: comparison is always false due to limited range of data type
    dbdimp.c:346: warning: comparison is always false due to limited range of data type
    dbdimp.c:347: warning: comparison is always false due to limited range of data type
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
    oci8.c: In function ‘ora_blob_read_mb_piece’:
    oci8.c:1804: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘describe_obj_by_tdo’:
    oci8.c:3256: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_describe’:
    oci8.c:3480: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_st_fetch’:
    oci8.c:3953: warning: unused variable ‘imp_xxh’
    Running Mkbootstrap for DBD::Oracle ()
    chmod 644 Oracle.bs
    rm -f blib/arch/auto/DBD/Oracle/Oracle.so
    LD_RUN_PATH="/app/utiba/oracle/client/lib" gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so  \
               -L/app/utiba/oracle/client/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm      \
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1I am sure that installing a previous(older) version of oracle client will fix this issue i.e. either 11.2.0.1 or older (that is tested) but I want to know if it is possible to resolve the above issue with a work around and not having to install a previous version.
    Fyi.. I've tried to install DBD::Oracle version 1.24 and 1.50 but that doesn't seem to make any difference. I couldn't find any related thread either for this error so I desperately need a solution to the same(if any).
    If anyone can help here, would really appreciate it or else, I will have no choice but to install previous version of oracle client.
    Thanks
    Edited by: 956308 on Aug 31, 2012 6:55 AM
    Edited by: 956308 on Aug 31, 2012 6:57 AM

    Contents of the response file:
    oracle.install.responseFileVersion=http://www.oracle.com/2007/install/rspfmt_clientinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=slc00caz
    UNIX_GROUP_NAME=oracle
    INVENTORY_LOCATION=/home/psadm1/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/opt/oracle/psft/pt/oracle-client/11.2.0.x
    ORACLE_BASE=/opt/oracle/psft/pt/oracle-client
    oracle.install.client.installType=Custom
    oracle.install.client.upgrading=false
    oracle.install.client.customComponents=oracle.rdbms.util:11.2.0.3.0,oracle.javavm.client:11.2.0.3.0,oracle.sqlplus:11.2.0.3.0,oracle.dbjava.jdbc:11.2.0.3.0,oracle.rdbms.oci:11.2.0.3.0,oracle.xdk:11.2.0.3.0,oracle.network.aso:11.2.0.3.0,oracle.assistants.oemlt:11.2.0.3.0,oracle.network.client:11.2.0.3.0,oracle.odbc:11.2.0.3.0,oracle.dbdev:11.2.0.3.0
    oracle.install.client.schedulerAgentHostName=
    oracle.install.client.schedulerAgentPortNumber=
    oracle.installer.autoupdates.option=SKIP_UPDATES
    oracle.installer.autoupdates.downloadUpdatesLoc=
    AUTOUPDATES_MYORACLESUPPORT_USERNAME=
    AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
    PROXY_HOST=
    PROXY_PORT=0
    PROXY_USER=
    PROXY_PWD=
    PROXY_REALM=

  • How can I get CPAN  DBD::Oracle to install with XE?

    It can't find oracle.mk so it dies. I'm also going to contact the DBD::Oracle module author, but just in case someone on these forums has already solved this, I'm also posting here. The output from the install was:
    CPAN.pm: Going to build T/TI/TIMB/DBD-Oracle-1.16.tar.gz
    Using DBI 1.48 (for perl 5.008005 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle ...
    Remember to actually READ the README file!Especially if you have any problems.
    Using Oracle in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    Oracle version 10.2.0.1 (10.2)
    Unable to locate an oracle.mk, proc.mk or other suitable *.mk
    file in your Oracle installation. (I looked in
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
    The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
    RDBMS product. The proc.mk (or demo_proc.mk) file is part of
    the Oracle Pro*C product. You need to build DBD::Oracle on a
    system which has one of these Oracle components installed.
    (Other *.mk files such as the env_*.mk files will not work.)
    In the unlikely event that a suitable *.mk file is installed
    somewhere non-standard you can specify where it is using the -m option:
    perl Makefile.PL -m /path/to/your.mk
    See README.clients for more information and some alternatives.
    at Makefile.PL line 922.
    So is there a different *.mk file that can be specified per the above?

    As an FYI I tried demo_xe.mk on my Fedora Core 4 box (Perl 5.8.6) and got this.
    Using DBI 1.48 (for perl 5.008006 on i386-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle ...
    Remember to actually READ the README file!Especially if you have any problems.
    Using Oracle in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    Oracle version 10.2.0.1 (10.2)
    Found /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    Using /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    Reading /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
    ERROR parsing /opt/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk: Unable to determine what to link with.

  • Just trying to build DBD-Oracle

    here is the setup Oracle 8i on NT and I want to connect to the DB from Linux using perl. I tried to build DBD-Oracle but this fails b/c I need to have the client portion of oracle installed to build this. So I started fooling around trying to install Oracle on Linux and I get a whole bunch of errors saying
    "Warning: translation table syntax error: Unknown keysym name: osfSelect
    Warning: ... found while parsing ':<Key>osfSelect: set-anchor()'
    Then this is followed by a long list of java errors. The question is: Do I have have to install all fight this installation battle to build DBD-Oracle or is there an easier way to do it that I don't know about.
    Thank you
    Vincent Toms
    [email protected]

    see at: http://www.perl.com/CPAN-local/modules/by-module/DBD/DBD-Oracle-1.03.readme
    I installed client and programmer (Pro*C)
    8iR2 on RH6.2 and it's all ok.
    Bye,
    Gianluca

  • DBD::Oracle & Instant client - don't find tnsnames.ora

    Hello,
    I'm trying to use tns names in Perl scripts to connect with Instant client. I always get the ORA-12154 error when connecting with Perl :
    ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach).
    The perl command that raise the error is :
    +$dbh = DBI->connect("dbi:Oracle:MYDB","user","password") or die $DBI::errstr."\n";+
    I checked my Oracle installation and everything seems fine. Connection with sqlplus work without problem using the same connection string (sqlplus user/passowrd@MYDB).
    I stat'ed my tnsnames.ora file to check if it's accessed : it is with sqlplus, but not with my perl script.
    Instant Client has been installed with the zip files made available by Oracle (not RPM). ORACLE_HOME points to the installation directory and tnsnames.ora is located in $ORACLE_HOME//network/admin/. Server is a Red Hat Entreprise 5.
    In my knowledge DBD::Oracle use OCI so there should not have difference between sqlplus and DBD::Oracle. Am I wrong ? Anyone have had this problem before ?
    Thanks for your help
    Florent

    Hi,
    Environment variables was correctly defined, but your comment put me on the right track.
    I printed the %ENV content to check ORACLE_HOME which was OK.
    I check the directory and remind I put a sqlnet.ora file in the same directory than tnsnames.ora with the followin content :
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    I removed this file and everything is ok now. I don't really know what this file is used for, but if I keep it online and change MYDB in the connection name to MYDB.world, it worked. I think I have to learn more about names...
    Thanks for your help anyway !
    Regards,
    Florent

  • Problem to install DBD-Oracle-1.15

    hello
    when I execute perl makefile.pl I 've this message :
    Configuring DBD::Oracle ...
    Remember to actually READ the README file!Especially if you have any problems.
    Using Oracle in /soft/oracle/9.2.0
    Oracle version 9.2.0 (9.200)
    Found /soft/oracle/9.2.0/precomp/demo/proc/demo_proc.mk
    Using /soft/oracle/9.2.0/precomp/demo/proc/demo_proc.mk
    Reading /soft/oracle/9.2.0/precomp/demo/proc/demo_proc.mk
    Reading /soft/oracle/9.2.0/precomp/lib/env_precomp.mk
    Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
    because it is not already set in the environment
    and it can cause ORA-01019 errors.
    Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
    because it is not already set in the environment
    and it can cause ORA-01019 errors.
    Attempting to discover Oracle OCI build rules
    gcc -c -I. -I/soft/oracle/9.2.0/precomp/public -I/soft/oracle/9.2.0/rdbms/public -I/soft/oracle/9.2.0/rdbms/demo -I/soft/oracle/9.2.0/plsql/public -I/soft/oracle/9.2.0/network/public -I/soft/oracle/9.2.0/rdbms/demo -I/soft/oracle/9.2.0/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DUTF8_SUPPORT DBD_ORA_OBJ.c
    by executing: [make -f /soft/oracle/9.2.0/precomp/demo/proc/demo_proc.mk build ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=echo OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o]
    Oracle oci build command:
    [-o DBD_ORA_EXE DBD_ORA_OBJ.o -L/soft/oracle/9.2.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -ldl -lm -lpthread -lnsl -ldl -lm]
    Found header files in rdbms/demo.
    I can't find the header files I need in your Oracle installation.
    You probably need to install some more Oracle components.
    I'll keep going, but the compile will probably fail.
    See README.clients for more information.
    Checking for functioning wait.ph
    System: perl5.006001 linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 10:30:48 est 2002 i686 unknown
    Compiler: gcc -O2 -march=i386 -mcpu=i686 -fno-strict-aliasing -I/usr/local/include
    Linker: /usr/bin/ld
    Sysliblist: -ldl -lm -lpthread -lnsl
    Oracle makefiles would have used these definitions but we override them:
    CC: cc
    CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
    $(SHARED_CFLAG) $(USRFLAGS)
    [$(GFLAG) -O3 $(CDEBUG) -trigraphs -fPIC -DPRECOMP -I. -I/soft/oracle/9.2.0/precomp/public -I/soft/oracle/9.2.0/rdbms/public -I/soft/oracle/9.2.0/rdbms/demo -I/soft/oracle/9.2.0/plsql/public -I/soft/oracle/9.2.0/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS $(LPFLAGS) $(USRFLAGS)]
    LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/
    [-o $@ -L/soft/oracle/9.2.0/precomp/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/]
    Linking with OTHERLDFLAGS = -L/soft/oracle/9.2.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -ldl -lm -lpthread -lnsl -ldl -lm [from 'build' rule]
    Warning: If you have problems you may need to rebuild perl with threading enabled.
    LD_RUN_PATH=/soft/oracle/9.2.0/lib:/soft/oracle/9.2.0/rdbms/lib
    Using DBD::Oracle 1.15.
    Using DBI 1.40 (for perl 5.006001 on i386-linux) installed in /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI
    Writing Makefile for DBD::Oracle
    *** If you have problems...
    read all the log printed above, and the README and README.help files.
    (Of course, you have read README by now anyway, haven't you?)
    and when I execute make I've the error :
    /bin/sh -c true
    /bin/sh -c true
    gcc -c -I. -I/soft/oracle/9.2.0/precomp/public -I/soft/oracle/9.2.0/rdbms/public -I/soft/oracle/9.2.0/rdbms/demo -I/soft/oracle/9.2.0/plsql/public -I/soft/oracle/9.2.0/network/public -I/soft/oracle/9.2.0/rdbms/demo -I/soft/oracle/9.2.0/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DUTF8_SUPPORT Oracle.c
    In file included from Oracle.h:20,
    from Oracle.xs:1:
    dbdimp.h:44:20: ocidfn.h: No such file or directory
    dbdimp.h:57:21: ociapr.h: No such file or directory
    make: *** [Oracle.o] Error 1
    what is the problem ?
    think

    64bit Oracle server or 32bit?
    Did you use 32bit or 64 bit Perl libs?
    Check for those.
    If you have 64bit Oracle, 32bit libs are under $ORACLE_HOME/lib32 instead of $O_H/lib/
    There may be some missing headers under lib32. I can't remember on top of my head but you can copy over some of the header files from lib. Hope this helps.

  • Can't install perl modul DBD::Oracle with XE

    Hello,
    I have installed oracle 10.2.0.1 XE and want now install the perl modul DBD::Oracle.
    After running
    perl Makefile.PL
    I get the message:
    Unable to locate an oracle.mk, proc.mk or other suitable *.mkfile in your Oracle installation. (I looked in
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
    And the program is right!!
    I do not have any of this files on my Computer.
    I also looked in the files
    oracle-instantclient-basic-10.2.0.1-1.i386.rpm
    oracle-instantclient-devel-10.2.0.1-1.i386.rpm
    where I also can't find these files.
    Could you please help and tell me, where I can get these files?
    Thank you,
    Marc

    See the thread on Perl with XE in Re: How can I get CPAN  DBD::Oracle to install with XE?
    -- cj

  • DBD Oracle Problem: Can't load Oracle.so

    Hello,
    I've successfully installed Oracle (EAP release)
    and DBI 1.06, everything works fine so far.
    Unfortunately, the DBD Oracle Installation fails
    I've tried all version from 0.55 to 0.59.
    perl Makefile.PL and make is ok, but "make test"
    fails most tests and says,
    "Can't load blib/arch/auto/DBD/Oracle/Oracle.so
    in (path)Dynaloader.PM line 168."
    Oracle.so is there and readable.
    In Dynaloader.pm before line 168 there's an interesting
    comment:
    Many dynamic extension loading problems will
    appear to come from this section of code: XYZ failed
    at line 123 of DynaLoader.pm (...)
    But that doesn't help very much.
    Any suggestions?
    Heiko Dobrick
    null

    Hello Khusta,
    1. This is the Swing forum - definitely not the right place for your question. ( Suggestion )
    2. If everything worked fine and you now made two modifications (abstract class and jar file), test if only one modification is responsible for the problem.
    3. >And I know that it [the database settings file] is in the jar file.
    If your settings are stored in the jar file, you must read it from the jar file. This is a little bit different from reading the settings file at its original location.

  • Problem Building DBD::Oracle

    I've tried to build this module using Oracle 10 for solaris 64 bit. The problem is that the perl I have is 32 bit, so it does not like 64 bit shared libraries. I could not find 32 bit libraries in the Oracle distribution. There are some, but not all. To be honest, I have not installed Oracle, I just perused the cpio file I downloaded and extracted files needed to build the module.
    I find it odd, that in order to build the module I need to install the whole thing. I only need to access a DB from the host in question, not use the DB on the host.
    Am I doing something wrong? Do I need to build 64 bit perl?

    Yuri,
    1. you need to have Oracle installed for compilation of DBD::Oracle (Oracle client will be enough) because libraries are built during installation.
    2. If you have Oracle SW installed you may find libraries in:
    $ORACLE_HOME/lib
    and
    $ORACLE_HOME/lib32 (here are the 32bit libraries if you have 64bit installation)

  • DBD:Oracle

    How is it possible to compile DBD:Oracle if you don't have an Oracle installation on the same machine? I want to use a Linux client to connect to a remote machine where Oracle is installed on. One machine has Solaris7. I tried to copy everything what the DBD wanted from the Solaris machine to my Linux client,
    the compiling worked, but the result was that "make test" failed. May be the reason is that the object files from Solaris and Linux are not binary compatible.
    I tried to install oracletool from www.oracletool.com but it also wants an installed DBD:Oracle.
    One possibility would be to download the whole 288MB big Oracle-Linux distribution and install this first.
    My question is: is it really necessary to install this huge package just to use the set up a client?

    To build DBD:Oracle, you need Oracle client
    software installed. You need to download
    the 288MB file, but you only need to install
    the client software. In the installer,
    look for something about "8i Client software"
    and then "Programmer". That ought to install
    the pieces you need.
    -Mark

  • Oas install.sh MIA??? and DBD::Oracle

    I've downloaded all 181MB of the WAS, and when I untared it into
    the $ORACLE_HOME directory, the install.sh script mentioned in
    the README wasn't there....
    Curious.
    Anyone else had this experience?
    BTW, my DBD::Oracle install keeps blowing up during make test
    step? What's wierd is I had DBD/DBI all workgin beautifully last
    week, but an ill-timed SCSI failure and inadequate backups sent
    me past Go without collecting $200....
    Oh, I'm running RH5.1 with the new, much discussed glibc
    installed. The DB is up and running...
    So in summary:
    Where's the OAS installer...
    What's up with DBD::Oracle....
    TIA
    Matt
    null

    Instant Client works (and works well) with DBD::Oracle on Linux. The only
    issue I've noticed is one that seems to always be present in DBD::Oracle
    (can't insert/update a CLOB via a synonym, need to use the full name).
    Instant Client with DBD::Oracle on Solaris can be made to work but it is very,
    very dodgy. You have to force it to link with some C++ libaries which the
    Oracle libraries reference symbols in (why they do that I don't know).
    But perl isn't a C++ application. It will often segfault or hang on program
    termination (among other issues). If you want to find the libraries you can
    grep for the required symbols through /usr/lib and you should find them.
    If you're using DBD::Oracle on Solaris, use a proper Oracle client install.

  • Help needed on installation of Oracle 9i on Sun Solaris 8

    Hey,
    Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
    Simon

    I have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
    Edited by: 916438 on Mar 31, 2012 5:55 PM

  • Help needed on installation of Oracle 9i EE on Sun Solaris 8

    Hey,
    Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
    Simon

    I have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
    Edited by: 916438 on Mar 31, 2012 5:55 PM

  • Installation of Oracle 11gR2 in suse 12.1

    Hi,
    I recently installed the the linux Open suse 12.1, I have only one os in my pc. Now i want to install Oracle, can any one help me how to install and what are the packages to install before installation of oracle and where can i get those package.
    One more point is I am newly to the linux, I dont know anything about this linux, Just 2 days before i installed the os. Can any one help me for this query
    Thanks and regards,
    G.Manikanta

    How many PC's and OS's do you have ;-) Installation of oracle 11gR2 in fedora 16
    Supported OS versions are listed in the Install Doc - http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD
    If you insist on using an unsupported OS, you are on your own.
    HTH
    Srini

  • Root.sh script at the end of installation of Oracle Clusteware software

    When i run the root.sh script at the end of installation of Oracle Clusteware software i receive the following message:.
    Any ideas on how to fix this?
    ====================================================================
    *[root@rac1 cdata]# /ora_dba/crs/oracle/product/10.2.0/db_1/root.sh*
    WARNING: directory '/ora_dba/crs/oracle/product/10.2.0' is not owned by root
    WARNING: directory '/ora_dba/crs/oracle/product' is not owned by root
    WARNING: directory '/ora_dba/crs/oracle' is not owned by root
    WARNING: directory '/ora_dba/crs' is not owned by root
    WARNING: directory '/ora_dba' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    PROT-3: Failed to create export file
    Failed to upgrade Oracle Cluster Registry configuration
    ===================================================================
    OS verssion is :
    Linux rac1.localdomain 2.6.18-194.el5PAE #1 SMP Mon Mar 29 20:19:03 EDT 2010 i686 i686 i386 GNU/Linux ( rhel5 32 bit)
    Cluster verssion =11g
    Vmware
    =================================================================================================
    Log file output ----
    [root@rac1 client]# cat $CRS_HOME/log/rac1/client/ocrconfig_10171.log
    Oracle Database 11g CRS Release 11.1.0.6.0 - Production Copyright 1996, 2007 Oracle. All rights reserved.
    2010-12-20 13:37:16.649: [ OCRCONF][3086510576]ocrconfig starts...
    2010-12-20 13:37:16.650: [ OCRCONF][3086510576]Upgrading OCR data
    2010-12-20 13:37:16.672: [ OCRCONF][3086510576]OCR already in current version.
    2010-12-20 13:37:16.780: [ OCRCONF][3086510576]Exporting OCR data to [ora_dba/crs/oracle/product/10.2.0/db_1/cdata/crs/ocr10.1.0.2.0]
    2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Error encountered during opening export file [ora_dba/crs/oracle/product/10.2.0/db_1/cdata/crs/ocr10.1.0.2.0] [-1]
    2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Failed to call export OCR (-1)
    2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Failed to make a backup copy of OCR
    2010-12-20 13:37:16.803: [ OCRCONF][3086510576]Exiting [status=failed]...
    =======================
    ./runcluvfy.sh out put :
    [oracle@rac1 clusterware]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "rac1"
    Destination Node Reachable?
    rac2 yes
    rac1 yes
    Result: Node reachability check passed from node "rac1".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    rac2 passed
    rac1 passed
    Result: User equivalence check passed for user "oracle".
    Checking administrative privileges...
    Check: Existence of user "oracle"
    Node Name User Exists Comment
    rac2 yes passed
    rac1 yes passed
    Result: User existence check passed for "oracle".
    Check: Existence of group "oinstall"
    Node Name Status Group ID
    rac2 exists 54321
    rac1 exists 54321
    Result: Group existence check passed for "oinstall".
    Check: Membership of user "oracle" in group "oinstall" [as Primary]
    Node Name User Exists Group Exists User in Group Primary Comment
    rac2 yes yes yes yes passed
    rac1 yes yes yes yes passed
    Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.
    Administrative privileges check passed.
    Checking node connectivity...
    Interface information for node "rac2"
    Interface Name IP Address Subnet Subnet Gateway Default Gateway Hardware Address
    eth0 10.10.0.67 10.10.0.0 0.0.0.0 10.10.0.1 00:0C:29:82:EB:64
    eth1 10.10.2.102 10.10.2.0 0.0.0.0 10.10.0.1 00:0C:29:82:EB:6E
    Interface information for node "rac1"
    Interface Name IP Address Subnet Subnet Gateway Default Gateway Hardware Address
    eth0 10.10.0.66 10.10.0.0 0.0.0.0 10.10.0.1 00:0C:29:C4:E6:1D
    eth1 10.10.2.101 10.10.2.0 0.0.0.0 10.10.0.1 00:0C:29:C4:E6:27
    Check: Node connectivity of subnet "10.10.0.0"
    Source Destination Connected?
    rac2:eth0 rac1:eth0 yes
    Result: Node connectivity check passed for subnet "10.10.0.0" with node(s) rac2,rac1.
    Check: Node connectivity of subnet "10.10.2.0"
    Source Destination Connected?
    rac2:eth1 rac1:eth1 yes
    Result: Node connectivity check passed for subnet "10.10.2.0" with node(s) rac2,rac1.
    Interfaces found on subnet "10.10.0.0" that are likely candidates for a private interconnect:
    rac2 eth0:10.10.0.67
    rac1 eth0:10.10.0.66
    Interfaces found on subnet "10.10.2.0" that are likely candidates for a private interconnect:
    rac2 eth1:10.10.2.102
    rac1 eth1:10.10.2.101
    WARNING:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check passed.
    Checking system requirements for 'crs'...
    Check: Total memory
    Node Name Available Required Comment
    rac2 1.11GB (1161108KB) 1GB (1048576KB) passed
    rac1 1.09GB (1144852KB) 1GB (1048576KB) passed
    Result: Total memory check passed.
    Check: Free disk space in "/tmp" dir
    Node Name Available Required Comment
    rac2 570.36MB (584044KB) 400MB (409600KB) passed
    rac1 461.97MB (473056KB) 400MB (409600KB) passed
    Result: Free disk space check passed.
    Check: Swap space
    Node Name Available Required Comment
    rac2 2.93GB (3068404KB) 1.5GB (1572864KB) passed
    rac1 2.93GB (3068404KB) 1.5GB (1572864KB) passed
    Result: Swap space check passed.
    Check: System architecture
    Node Name Available Required Comment
    rac2 i686 i686 passed
    rac1 i686 i686 passed
    Result: System architecture check passed.
    Check: Kernel version
    Node Name Available Required Comment
    rac2 2.6.18-194.el5PAE 2.6.9 passed
    rac1 2.6.18-194.el5PAE 2.6.9 passed
    Result: Kernel version check passed.
    Check: Package existence for "make-3.81"
    Node Name Status Comment
    rac2 make-3.81-3.el5 passed
    rac1 make-3.81-3.el5 passed
    Result: Package existence check passed for "make-3.81".
    Check: Package existence for "binutils-2.17.50.0.6"
    Node Name Status Comment
    rac2 binutils-2.17.50.0.6-14.el5 passed
    rac1 binutils-2.17.50.0.6-14.el5 passed
    Result: Package existence check passed for "binutils-2.17.50.0.6".
    Check: Package existence for "gcc-4.1.1"
    Node Name Status Comment
    rac2 gcc-4.1.2-48.el5 passed
    rac1 gcc-4.1.2-48.el5 passed
    Result: Package existence check passed for "gcc-4.1.1".
    Check: Package existence for "libaio-0.3.106"
    Node Name Status Comment
    rac2 libaio-0.3.106-5 passed
    rac1 libaio-0.3.106-5 passed
    Result: Package existence check passed for "libaio-0.3.106".
    Check: Package existence for "libaio-devel-0.3.106"
    Node Name Status Comment
    rac2 libaio-devel-0.3.106-5 passed
    rac1 libaio-devel-0.3.106-5 passed
    Result: Package existence check passed for "libaio-devel-0.3.106".
    Check: Package existence for "libstdc++-4.1.1"
    Node Name Status Comment
    rac2 libstdc++-4.1.2-48.el5 passed
    rac1 libstdc++-4.1.2-48.el5 passed
    Result: Package existence check passed for "libstdc++-4.1.1".
    Check: Package existence for "elfutils-libelf-devel-0.125"
    Node Name Status Comment
    rac2 elfutils-libelf-devel-0.137-3.el5 passed
    rac1 elfutils-libelf-devel-0.137-3.el5 passed
    Result: Package existence check passed for "elfutils-libelf-devel-0.125".
    Check: Package existence for "sysstat-7.0.0"
    Node Name Status Comment
    rac2 sysstat-7.0.2-3.el5 passed
    rac1 sysstat-7.0.2-3.el5 passed
    Result: Package existence check passed for "sysstat-7.0.0".
    Check: Package existence for "compat-libstdc++-33-3.2.3"
    Node Name Status Comment
    rac2 compat-libstdc++-33-3.2.3-61 passed
    rac1 compat-libstdc++-33-3.2.3-61 passed
    Result: Package existence check passed for "compat-libstdc++-33-3.2.3".
    Check: Package existence for "libgcc-4.1.1"
    Node Name Status Comment
    rac2 libgcc-4.1.2-48.el5 passed
    rac1 libgcc-4.1.2-48.el5 passed
    Result: Package existence check passed for "libgcc-4.1.1".
    Check: Package existence for "libstdc++-devel-4.1.1"
    Node Name Status Comment
    rac2 libstdc++-devel-4.1.2-48.el5 passed
    rac1 libstdc++-devel-4.1.2-48.el5 passed
    Result: Package existence check passed for "libstdc++-devel-4.1.1".
    Check: Package existence for "unixODBC-2.2.11"
    Node Name Status Comment
    rac2 unixODBC-2.2.11-7.1 passed
    rac1 unixODBC-2.2.11-7.1 passed
    Result: Package existence check passed for "unixODBC-2.2.11".
    Check: Package existence for "unixODBC-devel-2.2.11"
    Node Name Status Comment
    rac2 unixODBC-devel-2.2.11-7.1 passed
    rac1 unixODBC-devel-2.2.11-7.1 passed
    Result: Package existence check passed for "unixODBC-devel-2.2.11".
    Check: Package existence for "glibc-2.5-12"
    Node Name Status Comment
    rac2 glibc-2.5-49 passed
    rac1 glibc-2.5-49 passed
    Result: Package existence check passed for "glibc-2.5-12".
    Check: Group existence for "dba"
    Node Name Status Comment
    rac2 exists passed
    rac1 exists passed
    Result: Group existence check passed for "dba".
    Check: Group existence for "oinstall"
    Node Name Status Comment
    rac2 exists passed
    rac1 exists passed
    Result: Group existence check passed for "oinstall".
    Check: User existence for "nobody"
    Node Name Status Comment
    rac2 exists passed
    rac1 exists passed
    Result: User existence check passed for "nobody".
    System requirement passed for 'crs'
    Pre-check for cluster services setup was successful.
    =========================================================================
    [root@rac1 client]# ps -ef |grep d.bin
    root 10699 7654 0 13:54 pts/3 00:00:00 grep d.bin
    ===================================================================================
    Many thanks for help

    Thank you Helios . As per oracle we need to contract OS team .
    It's My home system can any one help me to fine root cause ?.
    many thanks .

Maybe you are looking for

  • How can I determine if my Creative Suite 5 is Premium or Standard?

    Will my serial number tell me the answer? Thanks!!

  • Runtime error R6034 c:\program files\itunes\itunes.exe.

    On january 25, 2014 I installed new version of itunes 11.1.4 and error occured:  itunes was not installed correctly. Please reintall itunes. Error 7 (windows error) 1114. Runtime Error:  program c:\files\itunes\itunes.exe.  R6034 An application has m

  • Wi-fi problem in europe

    Will there every be some update for european owners of sony mobile phones ? Sony designed the firmware based on the laws of the USA, which means that it does not support wifi channels 12,13. But these are normally used in Europe so im often unable to

  • 'Resampling' images

    I'm using Photoshop Starter Edition 3.0 on Windows XP and I want to resize images (or 'resample') so that the image takes up less bandwidth when I upload it to a website. But I can't find any drop-down menus or links in the programme to resize. How d

  • Char to date converstion

    Hi Gurus, how to convert to below mentioned format to date datatype cast (col1 as char)|| col2 col1-times(datatype-timestamp col2-(datatype -char) thanks Edited by: user1124854 on Nov 23, 2010 3:08 AM