[Zope] Fw: gvib kinterbasdb firebird linux

W. Robert Kellock sales@creditscore.co.nz
Sat, 25 Aug 2001 22:50:41 +1200


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C12DB8.5DCF8CC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello again,

Linux newbie problem resolved now (why are the Linux newbie books so =
silent about shell programming?) means I have successfully compiled =
gvibBase.so under Python 1.5.2.  However this hasn't got me out of the =
woods yet, since Zope 2.4.1b uses Python2.1 and gvibBase.c code contains =
Py_Realloc which I think has become PyMem_Realloc.  Unless somebody has =
already rewritten gvibBase.c to compile under Python 2.1 and would care =
to share it, I will Bash on and post the result when I am done.

Cheers.
-------------------------------------------------------------------------=
------------------------------------
W.Robert Kellock                                    Ph:                  =
 +64 3 326 6115
Sales Manager                                        Fax:                =
  +64 3 326 6115
Credit Systems Control Ltd                      Web:       =
www.creditscore.co.nz
                                              "making decisions easy"
-------------------------------------------------------------------------=
------------------------------------

----- Original Message -----=20
From: W. Robert Kellock=20
To: zope@zope.org=20
Sent: Friday, 24 August 2001 20:02
Subject: gvib kinterbasdb firebird linux


I have for some months now been utilising, very successfully, gvibDA on =
Windows 2000 with Zope 2.3.2 and Firebird.  Unfortunately I cannot say =
the same for RedHat 7.1 (very much a Linux newbie so be gentle ;- ).

I have installed the latest Zope 2.4.1b (which uses Python2.1) and =
Firebird binaries and they are working fine.  However when I compile =
gviBase.so and attempt to use it within Zope or Python (both 1.5 rpm and =
2.1.1 compiled from source) I get

Import error: undefined symbol isc_dsql_execute

I assume this means that the compile process cannot see the Firebird =
shared library libgds.so, but I can't see why.  I have tryed to edit the =
Setup.in file to import /usr/lib/libgds.so instead of the more usual =
-lgds but it makes no difference.  Can anybody help me out?

I have also tryed kinterbasdb, but when I import it I get

Import error: undefined symbol crypt

I know I'm supposed to editing kinterbasdb's Makefile to include -lcrypt =
but I'm not sure where.

gvib is my main priority, but a copy of an appropriate Makefile for =
kinterbasdb would also be much appreciated.

Thanks.
-------------------------------------------------------------------------=
------------------------------------
W.Robert Kellock                                    Ph:                  =
 +64 3 326 6115
Sales Manager                                        Fax:                =
  +64 3 326 6115
Credit Systems Control Ltd                      Web:       =
www.creditscore.co.nz
                                              "making decisions easy"
-------------------------------------------------------------------------=
------------------------------------


------=_NextPart_000_000A_01C12DB8.5DCF8CC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello again,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Linux newbie problem resolved now (why are the=20
Linux&nbsp;newbie books so silent about shell programming?) means I have =

successfully compiled gvibBase.so under Python 1.5.2.&nbsp; However this =
hasn't=20
got me out of the woods yet, since Zope 2.4.1b uses Python2.1 and =
gvibBase.c=20
code contains Py_Realloc which I think has become PyMem_Realloc.&nbsp; =
Unless=20
somebody has already rewritten gvibBase.c to compile under Python 2.1 =
and would=20
care to share it, I will Bash on and post the result when I am=20
done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Cheers.</FONT></DIV>
<DIV>--------------------------------------------------------------------=
-----------------------------------------<BR>W.Robert=20
Kellock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Ph:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
+64 3 326 6115<BR>Sales=20
Manager&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
+64 3 326 6115<BR>Credit Systems Control=20
Ltd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.creditscore.co.nz">www.creditscore.co.nz</A><BR>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
"making decisions=20
easy"<BR>----------------------------------------------------------------=
---------------------------------------------<BR></DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:sales@creditscore.co.nz" =
title=3Dsales@creditscore.co.nz>W. Robert=20
Kellock</A> </DIV>
<DIV><B>To:</B> <A href=3D"mailto:zope@zope.org"=20
title=3Dzope@zope.org>zope@zope.org</A> </DIV>
<DIV><B>Sent:</B> Friday, 24 August 2001 20:02</DIV>
<DIV><B>Subject:</B> gvib kinterbasdb firebird linux</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2>I have for some months now been utilising, very =
successfully,=20
gvibDA on Windows 2000 with Zope 2.3.2 and Firebird.&nbsp; Unfortunately =
I=20
cannot say the same for RedHat 7.1 (very much a Linux newbie so be =
gentle ;-=20
).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have installed the latest Zope 2.4.1b (which uses =
Python2.1)=20
and Firebird binaries and they are working fine.&nbsp; However when I =
compile=20
gviBase.so and attempt to use it within Zope or Python (both 1.5 rpm and =
2.1.1=20
compiled from source)&nbsp;I get</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Import error: undefined symbol =
isc_dsql_execute</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I assume this means that the compile process cannot =
see=20
the&nbsp;Firebird shared library libgds.so, but I can't see why.&nbsp; I =
have=20
tryed to edit the Setup.in file to import /usr/lib/libgds.so instead of =
the more=20
usual -lgds but it makes no difference.&nbsp; Can anybody help me=20
out?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have also tryed kinterbasdb, but when I import it =
I=20
get</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Import error: undefined symbol crypt</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I know I'm supposed to editing kinterbasdb's =
Makefile to=20
include -lcrypt but I'm not sure where.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>gvib is my main priority, but a copy of an =
appropriate=20
Makefile for kinterbasdb would also be much appreciated.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks.</FONT></DIV>
<DIV><FONT=20
size=3D2>----------------------------------------------------------------=
---------------------------------------------<BR>W.Robert=20
Kellock&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Ph:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
+64 3 326 6115<BR>Sales=20
Manager&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
+64 3 326 6115<BR>Credit Systems Control=20
Ltd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.creditscore.co.nz">www.creditscore.co.nz</A><BR>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
"making decisions=20
easy"<BR>----------------------------------------------------------------=
---------------------------------------------<BR></FONT></DIV></BODY></HT=
ML>

------=_NextPart_000_000A_01C12DB8.5DCF8CC0--