Hi,
  I founded better solution, use: /$LIB/snoopy.so in /etc/ld.so.preload
See attached patch.

With regards
-- 
Marek Veber

Dne 7.7.2015 v 17:48 Debian Bug Tracking System napsal(a):
> Thank you for filing a new Bug report with Debian.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> As you requested using X-Debbugs-CC, your message was also forwarded to
>   petr.jura...@solnet.cz
> (after having been given a Bug report number, if it did not have one).
>
> Your message has been sent to the package maintainer(s):
>  Zed Pobre <z...@debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 791...@bugs.debian.org.
>
> Please do not send mail to ow...@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>

Index: snoopy-1.8.0/debian/control
===================================================================
--- snoopy-1.8.0.orig/debian/control	2012-08-20 23:31:13.000000000 +0200
+++ snoopy-1.8.0/debian/control	2015-07-07 17:11:33.655565801 +0200
@@ -10,6 +10,7 @@
 
 Package: snoopy
 Architecture: any
+Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: execve() wrapper and logger
  snoopy is merely a shared library that is used as a wrapper
Index: snoopy-1.8.0/debian/postinst
===================================================================
--- snoopy-1.8.0.orig/debian/postinst	2012-08-20 23:31:13.000000000 +0200
+++ snoopy-1.8.0/debian/postinst	2015-07-07 22:37:57.571364466 +0200
@@ -8,7 +8,7 @@
 set -e
 
 PRELOAD="/etc/ld.so.preload"
-LIBNAME="/lib/snoopy.so"
+LIBNAME="/\$LIB/snoopy.so"
 
 if [ "$1" = "configure" ]; then
     # is snoopy already in $PRELOADFILE?
Index: snoopy-1.8.0/debian/rules
===================================================================
--- snoopy-1.8.0.orig/debian/rules	2012-08-20 23:31:13.000000000 +0200
+++ snoopy-1.8.0/debian/rules	2015-07-07 17:11:41.049044998 +0200
@@ -4,7 +4,7 @@
 
 override_dh_auto_configure:
 	autoconf
-	dh_auto_configure -- --libdir=/lib
+	dh_auto_configure -s -- --libdir=/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_clean:
 	dh_clean

Reply via email to