Re: Use libcddb in my Cocoa App
Re: Use libcddb in my Cocoa App
- Subject: Re: Use libcddb in my Cocoa App
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sun, 22 Jun 2003 23:22:56 +0100
On Friday, June 20, 2003, at 10:07 pm, Sherm Pendley wrote:
>
BTW, are you aware of the implications of statically linking a LGPL'd
>
library into your app? You have to GPL your app if you do that, where
>
if you linked it against a shared copy of the library, you wouldn't
>
have to.
I don't think Sherm was quite right here. As I understand it, the FSF
take the viewpoint that there is no distinction in law between dynamic
and static linking. The actual state of affairs is that you can freely
use LGPL'd code in your application without the application being under
the terms of the GPL, however you cannot use GPL'd code. That's the
difference between the two, and it applies whether the linking is
static or dynamic.
You will still need to distribute the sources of the library if you are
distributing a binary though, along with any patches you made to the
sources, so that is certainly a factor.
One thing I would be interested in myself are some hints on turning
third-party dynamic libraries into frameworks, especially those built
by GNU libtool (which seem to contain hard-coded paths to e.g.
/usr/local [or wherever you set "prefix" to when you configured them],
clearly no good if you want to use them in a framework). I can make a
framework that PB can link against, but when I try to run the resultant
executable, I get an error because of the hard-coded path to
/usr/local, which isn't where the shared library is (it's now in the
relevant framework directory instead). I haven't had a great deal of
time to investigate this yet; if nobody jumps in with a "you need to do
xyz", I'll post again when I've figured it out.
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.