Trouble making .so (undefined symbols)

Warren Young warren@etr-usa.com
Fri Aug 5 10:39:00 GMT 2005


Brian Dessent wrote:
> http://cygwin.com/ml/cygwin/2004-11/msg00159.html

Okay...that gets the DLL to build.  For the archives, the pthread 
changes are no longer required with current v4.1.x versions.

But the MySQL++ examples still hang when built against a Cygwin MySQL 
client DLL.

>>New problem: example programs link, and run for a short while, then
> 
> This is with a native server?  Or a Cygwin server?

With a native Linux server, on another box.  :)

You might be interested to try it yourself.  Apply the attached patch to 
MySQL++.  Then say "./bootstrap" to re-build all the autoconf stuff, and 
then "make" them.  The very first example you need to run, 
examples/resetdb, exhibits the problem.

But don't bother if you're not personally interested.  I've all but 
given up myself, because of the whole Cygwin GPL issue.  The main point 
of getting shared libraries working is to be able to comply with the 
LGPL (which MySQL++ is licensed under) in a commercial program.  But 
past posts on this list say there are very few commercial Cygwin 
licensees.  How many commercial licensees can there be that also want to 
use MySQL++?

I think efforts are better spent elsewhere, unless there's an easy fix, 
or someone is chasing this problem for reasons not specifically related 
to MySQL++.

Thanks for your help in any case.  You've answered my questions with 
aplomb.  Perhaps the answers will be useful to someone else, in a 
slightly different situation.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mysqlpp-cygwin-dll.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050805/03e14bce/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list