Bug#627929: ntfs-3g: libntfs-3g.so symlink still resides in /usr/lib

2011-05-25 Thread Michael Biebl
Am 26.05.2011 08:49, schrieb Michael Biebl:
> Hi,
> 
> devel files don't belong into /lib and should stay in /usr/lib.
> 
> You simply need to fix up the symlink.
> Something like this:
> 
> override_dh_link:
>   dh_link -plibntfs-3g-dev lib/$$(basename $$(readlink
> debian/tmp/usr/usr/lib/libntfs-3g.so)) usr/lib/libntfs-3g.so
 ^
 one /usr too many.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#627929: ntfs-3g: libntfs-3g.so symlink still resides in /usr/lib

2011-05-25 Thread Michael Biebl
Hi,

devel files don't belong into /lib and should stay in /usr/lib.

You simply need to fix up the symlink.
Something like this:

override_dh_link:
dh_link -plibntfs-3g-dev lib/$$(basename $$(readlink
debian/tmp/usr/usr/lib/libntfs-3g.so)) usr/lib/libntfs-3g.so
dh_link --remaining-packages




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#627929: ntfs-3g: libntfs-3g.so symlink still resides in /usr/lib

2011-05-25 Thread Hilko Bengen
Package: ntfs-3g
Version: 1:2011.1.15AR.4-2
Severity: grave
Tags: patch

While trying to build an application that is linked against libntfs-3g,
the linkter complained about a large number of unresolved symbols that
should have been resolved through libntfs-3g. It turned out that this
happened because the linker tried to access /usr/lib/libntfs-3g.so which
points to the nonexistent libntfs-3g.so.804.0.0 in the same directory.

The attached patch fixes the issue for me.

Thank you for taking over maintainership of the package.

Cheers,
-Hilko

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntfs-3g depends on:
ii  debconf [debconf-2.0]  1.5.39Debian configuration management sy
ii  fuse-utils 2.8.4-1.5 Filesystem in USErspace (utilities
ii  libc6  2.13-4Embedded GNU C Library: Shared lib
ii  libfuse2   2.8.4-1.5 Filesystem in USErspace library
ii  libntfs-3g804  1:2011.1.15AR.4-2 read-write NTFS driver for FUSE (l

ntfs-3g recommends no packages.

ntfs-3g suggests no packages.

-- debconf information:
  ntfs-3g/setuid-root: false
diff --git a/debian/libntfs-3g-dev.install b/debian/libntfs-3g-dev.install
index e65ceda..8e87e1f 100644
--- a/debian/libntfs-3g-dev.install
+++ b/debian/libntfs-3g-dev.install
@@ -1,4 +1,4 @@
 usr/include
 lib/pkgconfig	usr/lib
 lib/*.a		usr/lib
-lib/*.so	usr/lib
+lib/*.so	lib