Home > Archive > MySQL PlusPlus > February 2006 > static linking mysqlpp









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author static linking mysqlpp
Vincent David

2006-02-08, 7:23 am

Hi.

I was just considering linking mysqlpp statically in my recent project. The=
=20
reason why I'm thinking about this, is because I'd like my project to be=20
portabel to other machines (i.e. our compute cluster) without having to=20
recompile and drag the libraries along.

Would that be a wise thing to do?

Is there a simple option to configure/make the mysqlpp libraries statically=
=2E=20
(As far I understand I just get a dynamic library after compiling mysqlpp)?

Do I violate the GPL in any way by doing so (w/o publishing my project)?

Is this the wrong forum to ask such stuff and/or did I oversee former threa=
ds=20
discussing this topic?

thanks

Vincent David
=2D-=20
MPI fuer Dynamik und Selbstorganisation =A0 =A0 =A0 phone: =A0+49-551-5176-=
428
Dept. of Nonlinear Dynamics =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fax: =A0 =
=A0+49-551-5176-428
Bunsenstr. 10, D 37073 Goettingen =A0e-mail: vincent@chaos.gwdg.de

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?uns...sie.nctu.edu.tw

Vincent David

2006-02-08, 7:23 am

Hi again,

On Wednesday 08 February 2006 13:14, Vincent David wrote:
> Hi.
>
> I was just considering linking mysqlpp statically in my recent project. T=

he
> reason why I'm thinking about this, is because I'd like my project to be
> portabel to other machines (i.e. our compute cluster) without having to
> recompile and drag the libraries along.
>
> Would that be a wise thing to do?
>
> Is there a simple option to configure/make the mysqlpp libraries
> statically. (As far I understand I just get a dynamic library after
> compiling mysqlpp)?

I might add that I'm running this project under linux (kernelversion=20
2.6.13-15 ) with mysql++-2.0.7.=20
>
> Do I violate the GPL in any way by doing so (w/o publishing my project)?
>
> Is this the wrong forum to ask such stuff and/or did I oversee former
> threads discussing this topic?
>
> thanks
>
> Vincent David
> --
> MPI fuer Dynamik und Selbstorganisation =A0 =A0 =A0 phone: =A0+49-551-517=

6-428
> Dept. of Nonlinear Dynamics =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fax: =A0 =

=A0+49-551-5176-428
> Bunsenstr. 10, D 37073 Goettingen =A0e-mail: vincent@chaos.gwdg.de


=2D-=20
MPI fuer Dynamik und Selbstorganisation =A0 =A0 =A0 phone: =A0+49-551-5176-=
428
Dept. of Nonlinear Dynamics =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 fax: =A0 =
=A0+49-551-5176-428
Bunsenstr. 10, D 37073 Goettingen =A0e-mail: vincent@chaos.gwdg.de

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?uns...sie.nctu.edu.tw

Warren Young

2006-02-09, 3:23 am

Vincent David wrote:
>
> Is there a simple option to configure/make the mysqlpp libraries statically.


$ ./configure --enable-static --disable-dynamic
$ make clean
$ make

> Do I violate the GPL in any way by doing so (w/o publishing my project)?


Your program would fall under the LGPL due to MySQL++, and under GPL due
to the MySQL C API. The GPL says that if you distribute the binary, you
must also distribute the source code to anyone who received the binary.
It's my sense that if the binary is distributed within your
organization, that stricture does not apply, because the organization
does have the source code.

But why are you asking for legal advice from a bunch of programmers?
Ask your organization's legal department if you want an answer you can
trust.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?uns...sie.nctu.edu.tw

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com