cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
- From: Asheesh Laroia <asheesh AT creativecommons.org>
- To: cc-devel AT lists.ibiblio.org
- Subject: [cc-devel] liblicense 0.7.0
- Date: Fri, 16 May 2008 12:23:57 -0700 (PDT)
I just released liblicense 0.7.0 on SourceForge. It fixes the Python bindings. They've been broken since the 0.6 release, it seems. Some functionality in them probably worked between 0.6 and 0.7, but (read on for more)...
LL_LICENSE and other constants were "extern const char" arrays before. Now they're just lousy old #defines. This way, even though the strings might appear more than once in memory, it's very simple for the IO modules like exempi.so to refer to those constants.
Before, due to dynamic linker loading order issues, if liblicense.so were added to a process's memory memory map at runtime, if liblicense then tried to dlopen() its modules, the modules wouldn't be able to find those constants. What a drag! That broke the Python bindings' ability to use the modules.
Now, I guess that's still true, but the modules don't need actual symbols from liblicense anymore.
I noticed this issue in the process of creating and testing RPMs for Fedora. I had to bump the SONAME because this removes symbols from the library.
You can grab it on SourceForge, and perhaps soon in Fedora Rawhide.
https://sourceforge.net/project/showfiles.php?group_id=80503&package_id=238700
-- Asheesh.
--
Health nuts are going to feel stupid someday, lying in hospitals dying
of nothing.
-- Redd Foxx
- [cc-devel] liblicense 0.7.0, Asheesh Laroia, 05/16/2008
Archive powered by MHonArc 2.6.24.