Why are you compiling mysql and python and mysqldb from scratch? You are
using SUSE are you not? Get the binary rpm packages.

Dave

On Jan 9, 2008 12:13 PM, rob_mazur <[EMAIL PROTECTED]> wrote:

>
> Python 2.5.1
> MySQL 5.0.51
> MySQL-python-1.2.2
> gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
> SUSE 10.0 (i586)
> ---------------------------------------------------------------
>
> I have been struggling with this for a full day.  Bascially when I
> try:
> >>>import MySQLdb
>
> ... I get:
> >>> import MySQLdb
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "MySQLdb/__init__.py", line 19, in <module>
>    import _mysql
>  File "build/bdist.linux-i686/egg/_mysql.py", line 7, in <module>
>  File "build/bdist.linux-i686/egg/_mysql.py", line 6, in
> __bootstrap__
> ImportError: libmysqlclient_r.so.15: cannot open shared object file:
> No such file or directory
> >>>
>
>
> I have downloaded MySQL and Python and compiled with the same
> compiler.  I successfully ran the build/install of MySQLdb
> (mysql_config is in the PATH).  I have assured that
> libmysqlclient_r.so.15 resides in MySQL as a result of the install (it
> is at $MYSQL_HOME/lib/mysql/libmysqlclient_r.so.15).
>
> Where does Python expect this file to be?  Because, it doesn't seem
> that the current location is sufficient.
>
> Thanks,
> Rob
> >
>


-- 
David Grant
http://www.davidgrant.ca

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to