[Pkg-haskell-maintainers] Bug#649518: Bug#649518: Bug#649518: haskell-dpkg: FTBFS against latest libdpkg-dev

Clint Adams clint at debian.org
Tue Nov 22 23:30:19 UTC 2011

On Tue, Nov 22, 2011 at 08:59:34PM +0000, Iain Lane wrote:
> haskell-dpkg builds with this but doesn't work (as I said on IRC).

I must have missed this discussion.

> | for: dpkg (libdpkg.so: cannot open shared object file: No such file or
> | directory)

This is a consequence of libdpkg being static-only.  I think this is
impossible to address it before dpkg starts shipping a shared
library, but i think you can work around it with something like

ghci -lbz2 -lz /tmp/libdpkg-extracted/*.o dist/build/Debian/Dpkg/*.hs

(/tmp/libdpkg-extracted containing the result of `ar x /usr/lib/libdpkg.a`)

> The version in sid has this too. Any ideas?

No, but you should have fewer problems with runhaskell or ghc.

> Anyway, I'd appreciate it if you could take a look at the patch.

Looks reasonable enough.

More information about the Pkg-haskell-maintainers mailing list