Shared object access problems

Tim Johnson tim at johnsons-web.com
Mon Jul 5 20:44:17 EDT 2010


John Nagle wrote:

> On 7/4/2010 6:36 PM, Philip Semanchuk wrote:
>> hi Tim,
>> This seems more likely to be a MySQLdb problem than a Python one. 
Have
>> you considered asking in the MySQLdb forums?
>>
>> On Jul 4, 2010, at 7:46 PM, Tim Johnson wrote:
>>
>>> Using python 2.6.4 on slackware 13.1
>>> I have MySQLdb 'by hand', that is: by
>>> 1)downloading MySQL-python-1.2.3c1.tar.gz
>>> 2)unzipping tarfile
>>> 3)running python setup.py build
>>> 4)running python setup.py install
>>>
>>> The build and install seemed to proceded without error,
>>> but upon invoking the interpreter and running
>>>>>> import MySQLdb
>>> I get the following ImportError:
>>> ##############################################################
>>> Traceback (most recent call last):
>>> File "<stdin>", line 1, in <module>
>>> File "build/bdist.linux-i686/egg/MySQLdb/__init__.py",
>>> line 19, in <module>
>>> 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
> 
>     Did you install the development libraries for MySQL first?
> Those are needed to build MySQLdb yourself.
> 
> John Nagle
By that I think you mean libmysqlclient_r.so* and so forth, if so, 
yes.
The question has become moot, as I recently did an upgrade from
slack 13.0 to 13.1, and I've decided to procede with a clean install.
So I'm dropping this inquiry and I'll keep my development on ubuntu
for the time being. 
thanks for the help




More information about the Python-list mailing list