I just uploaded the Debian package for GLPK 4.31 [1]. This version fixes
the assertion bug reported by a Debian user [2], thanks.
[1] http://lists.debian.org/debian-devel-changes/2008/09/msg00167.html
[2] http://bugs.debian.org/490288
In version 4.30-1 of the Debian package, I started using dpkg-gensymbols, a
nifty Debian tool to check changes in the list of symbols exported by shared
libraries. Its execution failed for the glpk package because there was
substantial changes in the list of symbols between 4.30 and 4.31, all of
them due to the suppression of _glp_* symbols.
I think we talked in the past about the problem of exporting internal
symbols in the shared library file. Digging a little around, I noticed that
there is an option in libtool to restrict the list of exporting symbols. The
patch attached below seems to fix the problem by restricting the list to
symbols respecting the regular expression "^glp_.*".
Cheers,
--
Rafael
--- glpk-4.31.orig/src/Makefile.am
+++ glpk-4.31/src/Makefile.am
@@ -4,7 +4,7 @@
lib_LTLIBRARIES = libglpk.la
-libglpk_la_LDFLAGS = -version-info 16:0:16
+libglpk_la_LDFLAGS = -version-info 16:0:16 -export-symbols-regex '^glp_.*'
libglpk_la_SOURCES = \
glpapi01.c \
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk