Though admittedly a clever concept it did not work.
I moved the libmysqlpp.so library to Godaddy, and my binary .cgi "script" indeed found and
linked the library. It all looked good until ... the routines in the libmysqlpp.so
library use routines in other shared libraires! I got dyanmic link errors all over the
place. And even worse, the absolute paths to those other libraries are embedded in the
libmysqlpp.so. I would have to create a whole mini development environmnt in my web
directory. STUPID. MySQL copyrighting things is STUPID. We should be flooding over to
postgresSQL. Don't know why more ISPs are not supporting it.
Sooo back to the question. Someone have a binary for libmsqlpp.a I can have (x86 linux).
I gather that I may not even be breaking the license for using it, as I'm not distributing
> Date: Thu, 13 Aug 2009 21:38:04 +0100
> Subject: Re: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer exists
> From: mysql@stripped
> To: lynchcr@stripped
> 2009/8/13 Tom Lynch:
> > Are you saying I could upload the libmysqlpp.so library into the same
> > directory with the ap in the web directory with the rest of the html files
> > ..? why not .. I'll try it. A library search path of -L. hmm?
> You don't want to put it where the html files are, as it doesn't need
> to be served by the webserver. But if you have some other space where
> you can put files you could put the .so there. In order for your app
> to find it you could tell the linker to set an ELF RPATH in the
> executable, so that the dynamic linker can find the .so
> e.g. if you can put the .so in your home dir, and that path is
> /home/xyz/ you could link with -Wl,-R/home/xyz (assuming you're using
> g++ to link). That will tell the dynamic linker to look in that dir
> for libraries it needs, and so it should find the libmysqlpp.so if
> it's there.
> > Godaddy does not have libmysqlpp.so on their servers. Frankly I don't think
> > customer service understands. They seem to think I want a library full of
> > books or something. They say they won't put any stinking libraries on
> > *their* servers. I tried to esculate the question but that aint working
> > either. They expect that the cgi 'script' is statically linked. MySQL says
> I'm not very surprised they won't install arbitrary packages on the
> servers, and yes, statically linking the cgi app would be the usual
> > that static linking breaks the license agreement and the static library is
> > not longer included in the linux dist packages. There is a discussion on
> > this topic on the mailing list already.
> Indeed. But if you're not distributing your application to users then
> you're not necessarily bound by the GPL (you're only putting it on a
> server where it runs, not giving copies of the executable to clients).
> This covers a similar case:
> I don't know if putting the application on godaddy's webserver
> qualifies as distributing the binary to godaddy - ask a lawyer.
> So if it's legal, one option would be to modify the makefiles to build
> a static library, and linking your app to it statically, then
> uploading that.
> Putting the .so in a directory specified by RPATH in the executable
> would avoid any problems using a static library. I have no idea if
> this breaks the godaddy terms of service, I'm only saying it should be
> technically possible to make the binary find the shared library.
> >> Date: Thu, 13 Aug 2009 20:42:39 +0100
> >> Subject: Re: 2.1.1 -> 2.3.2 ... libmysqlpp.a no longer exists
> >> From: mysql@stripped
> >> To: lynchcr@stripped
> >> CC: plusplus@stripped
> >> 2009/8/13 Tom Lynch:
> >> >
> >> > Godaddy has refused to support libmysqlpp.so, I hope they change their
> >> > mind, but in the meantime my site is broken. Can someone point me at
> >> > linux x86 version of libmysqlpp.a so that I can be unbroken? Perhaps
> >> > someday in the future Godaddy will have libmysqlpp.so.
> >> What do you mean "support" ?
> >> Have you read the info about the static library on the mysql++ homepage?
> >> What exactly is the problem? Have you built a program that links to
> >> libmysqlpp.so but godaddy won't let you put that library on their
> >> servers?
> >> --
> >> MySQL++ Mailing List
> >> For list archives: http://lists.mysql.com/plusplus
> >> To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
> > ________________________________
> > See all the ways you can stay connected to friends and family
With Windows Live, you can organize, edit, and share your photos.