Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by paulasmuth on Friday June 26, 2015 @10:18AM
(#9784502)
Ah turns out this binary actually isn't statically linked at all. It's just the UPX packer that you mentioned that adds a trampoline/stub (the decompression routine I suppose) around the actual binary [and that trampoline code is what's completely static]:
So using NSS shouldn't be an issue; and the binary actually does use it
[ Parent
| on HN ]
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by jpollock on Friday June 26, 2015 @11:07AM
(#9784961)
libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007ff182e5d000)
libreadline is GPL'ed, not LGPLed, Kerf is therefore in violation.https://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
Edit: The GPL doesn't allow any linking into non-GPL compatible software, dynamic or static. Readline has this license for exactly this reason, and they have forced software into the public with it before (ncftp comes to mind)
http://www.gnu.org/licenses/gpl-faq.en.html#GPLStaticVsDynam...
Edit2: https://en.wikipedia.org/wiki/GNU_Readline#Implications_of_G...
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by paulasmuth on Friday June 26, 2015 @11:13AM
(#9785033)
It is not statically linked but loaded dynamically at runtime (see my comment above). And I think the .so is not bundled by UPX/shipped with the binary either. I believe this usecase is explicitly allowed by the GPL, but IANAL, so happy to be corrected.
EDIT: Looks like I stand corrected and this is NOT the case even if you are just dynamically linking a GPLed .so; check parent's links/ask a proper lawyer/please don't sue me ;)
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by dkhenry on Friday June 26, 2015 @11:44AM
(#9785337)
Even though its dynamically linked the GPL still applies. The LGPL is designed to allow you to link to the software without requiring you to use the GPL license. Also since you have made your binary available you are required to make the source code you have used to make this release publicly available.
I don't think anyone cares enough to sue you, however you are clearly in violation.
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by paulasmuth on Friday June 26, 2015 @11:46AM
(#9785347)
I am not the author of kerf/the linked software ;)
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by kcl on Friday June 26, 2015 @11:50AM
(#9785411)
The OSX version links against libedit. The Linux version is supposed to as well so if it isn't that's an oversight. Let me take a look.
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by kcl on Friday June 26, 2015 @12:35PM
(#9785849)
I've committed a Linux version that for sure uses libedit. It is decidedly not my intention to use libreadline.
Re:Kerf: a columnar tick database for Linux, OS X, BSD, iOS,...
by vezzy-fnord on Friday June 26, 2015 @10:25AM
(#9784544)
Right, the reference to ld-linux(8) should have been a giveaway.