Hi,

the only libraries opened via dlopen are from the same source package,
and both have version 0. So, one could replace the extension just with
".so.0" - nothing too good and nice, but it at least works.


Please see below a patch for this, that worked for me. I'm not yet sure
if this isn't too ugly to upload it - and of course, the final fix
should be different. But for that fix, working with upstream is
required, as the real fix will change code at more places.


Cheers,
Andi


diff -ur ../m17n-lib-1.3.1~~/configure ../m17n-lib-1.3.1/configure
--- ../m17n-lib-1.3.1~~/configure       2006-01-16 06:53:28.000000000 +0000
+++ ../m17n-lib-1.3.1/configure 2006-12-01 14:15:00.000000000 +0000
@@ -26635,7 +26635,7 @@
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
 
-SHLIB_EXT=".so"
+SHLIB_EXT=".so.0"
 case $host_os in
 darwin* | rhapsody*)
   SHLIB_EXT=".dylib";;
diff -ur ../m17n-lib-1.3.1~~/configure.ac ../m17n-lib-1.3.1/configure.ac
--- ../m17n-lib-1.3.1~~/configure.ac    2006-01-16 02:11:54.000000000 +0000
+++ ../m17n-lib-1.3.1/configure.ac      2006-12-01 14:15:09.000000000 +0000
@@ -419,7 +419,7 @@
 dnl          [  --enable-xom            build and install XOM library.],
 dnl          XOM="$enableval")
 
-SHLIB_EXT=".so"
+SHLIB_EXT=".so.0"
 case $host_os in
 darwin* | rhapsody*)
   SHLIB_EXT=".dylib";;
diff -ur ../m17n-lib-1.3.1~~/debian/changelog ../m17n-lib-1.3.1/debian/changelog
--- ../m17n-lib-1.3.1~~/debian/changelog        2006-12-01 13:36:03.000000000 
+0000
+++ ../m17n-lib-1.3.1/debian/changelog  2006-12-01 14:16:00.000000000 +0000
@@ -1,3 +1,11 @@
+m17n-lib (1.3.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Hardlink dlopen to use .so.0-files - not too nice, but works for now, and
+    reduces severity of bug #325528 to "only" important. Closes: #325528
+
+ -- Andreas Barth <[EMAIL PROTECTED]>  Fri,  1 Dec 2006 14:15:15 +0000
+
 m17n-lib (1.3.1-1) unstable; urgency=low
 
   * New upstream release.
-- 
  http://home.arcor.de/andreas-barth/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to