dbTalk Databases Forums  

static linking mysqlpp

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss static linking mysqlpp in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vincent David
 
Posts: n/a

Default static linking mysqlpp - 02-08-2006 , 06:13 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 (AT) chaos (DOT) gwdg.de

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


Reply With Quote
  #2  
Old   
Vincent David
 
Posts: n/a

Default Re: static linking mysqlpp - 02-08-2006 , 06:35 AM






Hi again,

On Wednesday 08 February 2006 13:14, Vincent David wrote:
Quote:
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
Quote:
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 (AT) chaos (DOT) 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 (AT) chaos (DOT) gwdg.de

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



Reply With Quote
  #3  
Old   
Warren Young
 
Posts: n/a

Default Re: static linking mysqlpp - 02-09-2006 , 01:48 AM



Vincent David wrote:
Quote:
Is there a simple option to configure/make the mysqlpp libraries statically.
$ ./configure --enable-static --disable-dynamic
$ make clean
$ make

Quote:
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?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.