Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 aix 5.2 help

v1.0 (example)
closed
nobody
5
2005-07-15
2005-05-25
Fuad
No

i think thisis a small issue but i dont know what i'm
doing wrong
i get this error during the configure
checking for OCIErrorGet in -lclntsh... no
configure: error: function OCIErrorGet not found in clntsh

how do i determine what the problem is i have
ld_library_path set to $ORACLE_HOME/lib
thisis 64 bit oracle
any help would be appreciated

Discussion

1 2 > >> (Page 1 of 2)
  • Logged In: YES
    user_id=763776

    it's seems to be not a big issue, but the weird thing is it
    seems to find libclntsh, but not the ocierrorget fucntion in
    it's symbol table.
    question: what version of oracle are you configuring against?

     
  • Logged In: YES
    user_id=763776

    the ORACLE_HOME is set, the configure script would halt on
    that.
    if i set the ORACLE_HOME to a valid directory, which is not
    a valid oracle home, then i get this error.
    my guess is the ORACLE_HOME points to a wrong place (but a
    valid directory), or the ORACLE_HOME you are configuring
    against is older dan 8.0.5 (see INSTALL). Note that you can
    connect to oracle7 databases with opr, as long as you run it
    as an oracle8 client.

     
  • Fuad
    Fuad
    2005-05-27

    Logged In: YES
    user_id=486912

    well the oracleversion is either 9.2 or 10.1
    echo $ORACLE_HOME
    /usr/local/oracle/product/10.1
    i've tried this in all my environments and have had the same
    issue.
    herei s the log this is the same error on all systems 9.2 or
    10.1
    checking for unistd.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking whether ORACLE_HOME is set... yes
    checking whether oci.h is present... yes
    checking for OCIErrorGet in -lclntsh... no
    configure: error: function OCIErrorGet not found in clntsh

     
  • Fuad
    Fuad
    2005-05-27

    Logged In: YES
    user_id=486912

    checking build system type... rs6000-ibm-aix
    checking host system type... rs6000-ibm-aix
    checking target system type... rs6000-ibm-aix
    checking for a BSD-compatible install... ./install-sh -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether gcc and cc understand -c and -o together...
    yes
    checking for a BSD-compatible install... ./install-sh -c
    checking whether make sets $(MAKE)... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking whether ORACLE_HOME is set... yes
    checking whether oci.h is present... yes
    checking for OCIErrorGet in -lclntsh... no
    configure: error: function OCIErrorGet not found in clntsh

     
  • Logged In: YES
    user_id=763776

    ah, wait a minute. on my oracle 10.1 on linux if have
    $ cd $ORACLE_HOME/lib
    $ ls -l libclntsh*
    lrwxrwxrwx 1 oracle dba 49 Apr 20 2004 libclntsh.so
    -> /home/oracle/product/10.1.0/lib/libclntsh.so.10.1
    -rwxr-xr-x 1 oracle dba 13348640 Apr 20 2004 libclntsh.so.10.1
    in other words, world can read the lib, which is needed for
    the linking stage. However, on an AIX 5.1 box with oracle9
    the acces rights are
    $ ls -l *libclntsh*
    -rw-r----- 1 oracle dba 15679796 Jan 03 15:47
    libclntsh.a
    so in this case, when you are trying to configure as a world
    user (not oracle and not member of dba), the link test (and
    the link) would fail. This is not an AIX issue of course but
    a choice in umask at oracle installation time (or a chmod
    later on). Could it be that you configuring as a user
    without read acces on libclntsh?

     
  • Fuad
    Fuad
    2005-05-28

    Logged In: YES
    user_id=486912

    am logged in as oracle. or in one siutation su'ed to oracle.
    both cases have the problem

     
  • Logged In: YES
    user_id=763776

    By now it looks like an issue with the library test command
    in the configure script. This command seems to fail on 64bit
    libs when it should not. We are still looking for a solution.

     
  • Jasper
    Jasper
    2005-06-01

    Patched configure script

     
    Attachments
  • Jasper
    Jasper
    2005-06-01

    Logged In: YES
    user_id=1089144

    Hi,

    Can you please replace the configure script that comes with
    the opr package with the one I've attached below ? Then try
    to run it and let me know the result ?

    Thanks.

     
  • Fuad
    Fuad
    2005-06-01

    Logged In: YES
    user_id=486912

    Was able to run a configure on 5.2 and a make
    successfulyl .
    will update after testing on 5.3

     
1 2 > >> (Page 1 of 2)