[Zope] MySQLDA Won't build

Phil Harris phil.harris@zope.co.uk
Sat, 8 Jul 2000 23:16:33 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0062_01BFE932.8E2FD800
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

What version of MySQL is it?

  ----- Original Message -----=20
  From: Darin Lee=20
  To: zope@zope.org=20
  Sent: 08 July 2000 22:35
  Subject: [Zope] MySQLDA Won't build


  Help,

  I cannot get the MySQL Database Adaptor to build.

  Error:
  gcc -shared  _mysqlmodule.o  -L/usr/local/lib/mysql -o _mysqlmodule.so
  Whoa, couldn't import _mysql: ./_mysqlmodule.so: undefined symbol: =
mysql_store_result
  Probably _mysqlmodule.so didn't compile correctly.
  Or your library paths may be bad. Check the FAQ. =20

  I checked the faq (also downloaded and compiled lastest versions - =
MySQL, Python, and Zope from source) - nada.

  I've set LD_LIBRARY_CONFIG, I've also edited the "Setup.in" file many, =
many times. No joy (My MySQL is in /usr/local).

  System is Redhat 6.1 - Intel...

  Any idea on what could be wrong??

  Thanks,
  -Darin Lee


------=_NextPart_000_0062_01BFE932.8E2FD800
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.3825.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>What version of MySQL is =
it?</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ddlee@usol.com href=3D"mailto:dlee@usol.com">Darin Lee</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dzope@zope.org=20
  href=3D"mailto:zope@zope.org">zope@zope.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> 08 July 2000 22:35</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] MySQLDA Won't =
build</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Help,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I cannot get the MySQL Database =
Adaptor to=20
  build.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Error:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>gcc -shared&nbsp; =
_mysqlmodule.o&nbsp;=20
  -L/usr/local/lib/mysql -o _mysqlmodule.so<BR>Whoa, couldn't import =
_mysql:=20
  ./_mysqlmodule.so: undefined symbol: mysql_store_result<BR>Probably=20
  _mysqlmodule.so didn't compile correctly.<BR>Or your library paths may =
be bad.=20
  Check the FAQ.&nbsp; </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I checked the faq (also downloaded =
and compiled=20
  lastest versions - MySQL, Python, and Zope from source) - =
nada.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've set LD_LIBRARY_CONFIG, I've also =
edited the=20
  "Setup.in" file many, many times. No joy (My MySQL is in=20
  /usr/local).</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>System is Redhat 6.1 - Intel...</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any idea on what could be =
wrong??</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>-Darin Lee</FONT></DIV>
  <DIV>&nbsp;</DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0062_01BFE932.8E2FD800--