[Zope] MySQLDA Won't build

Darin Lee dlee@usol.com
Sat, 8 Jul 2000 17:35:50 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01BFE902.F581E3C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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_0013_01BFE902.F581E3C0
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.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<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></BODY></HTML>

------=_NextPart_000_0013_01BFE902.F581E3C0--