[EMAIL PROTECTED] wrote: > Fredrik Lundh wrote: > > [EMAIL PROTECTED] wrote: > > > > > I have googled hard, and did see someone asking the same question, but > > > haven't found a good solution to this problem. Could anyone give me a > > > hint? Thanks a lot! > > > > googling for "undefined symbol: __pure_virtual" brings up hundreds of > > posts on this topic, and the answer is *always* to make sure that you're > > linking with a version of the C++ libraries that matches your compiler. > > > > </F> > > Hi, thanks. I followed the strategy provided at the following url > > http://www.mail-archive.com/dbi-users@perl.org/msg27851.html > > by adding "-lmygcc" to the end of the librarys to link. I added it to > the end of this line in the mysql_config script like so: > > libs=" $ldflags -L$pkglibdir -lmysqlclient -lz -lcrypt -lnsl -lm > -lmygcc " > > And then I recompiled the MySQL-python-1.2.1 package, but the same > problem remains.
I tried using -lgcc as some people suggested in some forum, but it does not resolve the problem. It looks like many people are having this problem, but no solution has been offered so far. Anybody has a clue? Thanks. -- http://mail.python.org/mailman/listinfo/python-list