On Thu, 21 Mar 2002, Amish Mehta wrote:
Can I sell a program written by me which uses GNU-libc? Because GPL says if I use any of programs licensed by GPL I must not charge for it. Cant I legally charge reasonable price for whatever I have written?
First, libc is distributed under the LGPL, which means you can do anything with code that uses it - even sell it as closed source.
Second, the GPL does not say that you must not charge for your software. You can charge anything for it as long as you provide the sourcecode at NO ADDITIONAL cost. ie, if you sell your software for Rs500/-, then anyone who has bought your software should get the source code free. Anyone who has not bought your software, is not entitled to your sourcecode. When someone `buys' your software, they are buying the right to the source code as well. Also the other rights (modification and redistribution).
This is only for GPL'ed software, not for LGPL'ed software.