Re: Library loading

Richard Gibson <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi

Thanks for the reply. Am I right with the following then regarding LGPL and
not having to release any program I write using the library?:
1. Static linking at compile time is NOT permitted
2. Dynamic linking at compile time IS permitted
3. Runtime loading IS permitted
4. GCC compilation using
    -dynamic -l<libraryname>
performs a dynamic linking
5. GCC compilation using
    -static -l<libraryname>
performs a static link (essentially bundling the other library into the
final executable)
6. LGPL permits usage of a library as long as it is NOT statically linked,
else it is considered a derived work

Thanks again
Rich

On 30 July 2010 15:00, Frediano Ziglio <[email protected]> wrote:

> Hi,
>  before you spend other time... in LGPL license dynamic loading is
> against static loading, do not confuse with runtime linking
> (dlopen/dlsym and so on). That is use -l linker option or import
> library, the important thing is that FreeTDS code is in a separate
> file (like .so, .sl or .dll file).
>
> bye
>  freddy77
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.