[Zope] DCOracle2 broken due to inability to map library

Bo M. Maryniuck b.maryniuk@forbis.lt
Tue, 26 Nov 2002 10:36:06 +0200


On Monday 25 November 2002 21:19, Webmaster wrote:
> We are trying to implement DCOracle2 (ZOracleDA seemed to require too
> many other products to get it to work) and keeps triping up on the
> inability to map library libclntsh.so.8.0
I think is enough to exaplain:

zope:/opt/zope/lib/python/Products/ZOracleDA/DCOracle2 # ldd dco2.so=20
        libclntsh.so.8.0 =3D> not found
        libc.so.6 =3D> /lib/libc.so.6 (0x40025000)
        /lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000)

zope:/opt/zope/lib/python/Products/ZOracleDA/DCOracle2 # cat=20
/home/dba/oracle_env=20
ORACLE_HOME=3D/oracle
NLS_LANG=3DAMERICAN_LITHUANIA.LT8MSWIN921
ORACLE_SID=3DDVLT
PATH=3D$PATH:/oracle/bin
LD_LIBRARY_PATH=3D/oracle/lib
export ORACLE_HOME
export NLS_LANG
export ORACLE_SID
export PATH
export LD_LIBRARY_PATH
zope:/opt/zope/lib/python/Products/ZOracleDA/DCOracle2 # .=20
/home/dba/oracle_env=20
zope:/opt/zope/lib/python/Products/ZOracleDA/DCOracle2 # ldd dco2.so=20
        libclntsh.so.8.0 =3D> /oracle/lib/libclntsh.so.8.0 (0x40015000)
        libc.so.6 =3D> /lib/libc.so.6 (0x405db000)
        libwtc8.so =3D> /oracle/lib/libwtc8.so (0x40703000)
        libdl.so.2 =3D> /lib/libdl.so.2 (0x40705000)
        libm.so.6 =3D> /lib/libm.so.6 (0x4070a000)
        libpthread.so.0 =3D> /lib/libpthread.so.0 (0x4072d000)
        /lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000)
zope:/opt/zope/lib/python/Products/ZOracleDA/DCOracle2 #=20

> Has anyone had success connecting to an Oracle DB from zope?=20
Yes.

> If so how
> did *you* do it,=20
RTFM.

> and are there any obvious mistakes we are making.
Yes. See below.

> (apart from the obvious one of trying to connect to an Oracle DB in the
> first place). Are there any other product we can use?
For Zope -- probably not. There are mistakes you did:

1. This is crossposting. Use zope-db@zope.org
2. http://www.tuxedo.org/~esr/faqs/smart-questions.html
   a) What kind of Unix you're use: Linux? BSD? Slowlaris? HP-SUX? Macint=
rash?
       Seems that some Linux.
   b) Which Oracle Client you've installed?=20
   c) Have you are configured it?
3. Have you tried to install DCOracle2 from the sources?
4. What Zope version you're use?

--=20
Regards, Bogdan

You have moved the mouse. NT must be restarted for the changes to take ef=
fect.