#3 Oracle support

closed
nobody
None
5
2014-07-31
2001-07-30
Anonymous
No

Hi! We have just installed the latest version of XSB
(version 2.4) here and we would also like to configure
the Oracle support for it. Your documentation in the
manual seems to be geared mainly towards version
7.1.3. We here have the Oracle version 8.1.7 running.
As you have also noted in your manual, the libraries
to be included are different - and so we have so far
been tinkering around with the Oracle libraries to
figure out which ones exactly XSB needs. So far, we
haven't had much success and we have never been
getting past this exact point -

pamina2 (55) % setenv LDFLAGS "-libclntsh8 -
libcommon8 -libcore8 -libnls8"
pamina2 (56) % ./configure --with-oracle --site-static-
libraries=/usr/.../oracle/product/8.1.7/lib

Building XSB Version 2.4 (Bavaria) of 2001-07-13

- You did not tell me what kind of host system you
want to configure.
- I will attempt to guess the kind of system this is.

checking host system type... sparc-sun-solaris2.7

Checking installation directories...
***If any directory is missing, I will try to create
it.
***If this fails, YOU MUST create that directory
manually,
***then run `configure' again!!!
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/bin... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-solaris2.7/bin... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-solaris2.7/lib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-
solaris2.7/saved.o... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/site/lib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/site/config/sparc-sun-
solaris2.7/lib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/emu... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/lib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/syslib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/cmplib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/bin... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/build... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-solaris2.7/bin... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-solaris2.7/lib... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/config/sparc-sun-
solaris2.7/saved.o... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/etc... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/packages... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/packages/xmc... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/examples... OK
checking /scratch/slocal/apache/cgi-
bin/XSB2.4new/XSB/prolog_includes... OK
Checking installation directories ... Done
checking for gcc... gcc
checking whether the C compiler (gcc -libclntsh8 -
libcommon8 -libcore8 -libnls8) works... no
configure: error: installation or configuration
problem: C compiler cannot create executables.

We assume the problem is with the flags, but we aren't
sure. Even changing the compiler from 'gcc' to 'cc'
didn't do the trick. Can you give us some idea on how
do we get around the problem? Below is a list of all
the Oracle libraries we have as part of version 8.1.7.
Please go through it highlight which ones we need.

SC4.2/ libldapclnt8.a
libocijdbc8.so naedhs.o
aurora_client.jar libmm.a
libocijdbc8_g.so naedhs.o.bak
classgen.jar libn8.a
libowm2.so naedhsd.o
clntsh.map libnbeq8.a
libplc8.a naeet.o
clntst.lis libncrypt8.a
libplp8.a naeet.o.bak
http_client.jar libnent8.a
libpls8.a naeetr.o
jdev-rt.zip libnhost8.a
libpsa8.a nautab.o
lclasses11.zip libnidx8.a
libserver8.a nigcon.o
lclasses12.zip libnjni8.so
libskgxp8.so nigtab.o
ldflags libnjssl8.so
libskgxpd.so nnfgt.o
ldflagsO libnk58.a
libslax8.a ntcontab.o
libJNLSLib3.so libnl8.a
libsql8.a oraclexsql.jar
libJNLSTool.so libnldap8.a
libsqlplus.a osntabst.o
libWizOSD.so libnls8.a
libtrace8.a s0main.o
libagent8.a libnoname8.a
libtracefe8.a scorept.o
libagtsh.so* libnrad8.a
libtracept8.a sscoreed.o
libclient8.a libnro8.a
libvsn8.a sysliblist
libclntsh.so@ libnsgr8.a
libwtc8.a vbjapp.jar
libclntsh.so.8.0* libnsid8.a
libwtc8.so vbjgk.jar
libclntst8.a libnsslb8.a
libxml8.a vbjorb.jar
libcommon8.a libntcp8.a
libxmlg8.a vbjtools.jar
libcore8.a libntcps8.a
mts.jar xmlcomp.jar
libcorejava.so libntns8.a
naect.o xmlparserv2.jar
libdbicx8.a libnus8.a
naect.o.bak xmlplsql.jar
libgeneric8.a libnzjs8.a naectr.o

This interfacing between the XSB system and our
current Oracle version is something that we really
want working and so we would appreciate a really quick
response. Thanks,

Shriram Bharath

Discussion

  • Les Klimczak

    Les Klimczak - 2001-08-09

    Logged In: YES
    user_id=293096

    checking whether the C
    compiler (gcc -libclntsh8 -
    libcommon8 -libcore8
    -libnls8) works... no

    You can trace this problem manually by running:
    gcc -libclntsh8 -libcommon8 -libcore8 -libnls8
    at the shell prompt.
    You'll get:
    /usr/bin/ld: cannot find -libclntsh8
    and to correct you must specify the path to the libraries:
    gcc -L/u01/app/oracle/product/8.1.7/lib -lclntsh -lcommon8
    -lcore8 -lnls8 -lwtc8

    To fix this for XSB build:
    export LDFLAGS="-L/u01/app/oracle/product/8.1.7/lib
    -lclntsh -lcommon8 -lcore8 -lnls8 -lwtc8"
    (The extra libraries will come up as dependencies).

    I've gone through this and ended up farther downstream. See
    my bug
    report.

    Les Klimczak

     
  • David S. Warren

    David S. Warren - 2004-08-18

    Logged In: YES
    user_id=13069

    Close a very old request.

     
  • David S. Warren

    David S. Warren - 2004-08-18
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks