Hi,

On Wed, 01 Sep 2010, Simon Richter wrote:
> Hi,
> 
> I just converted a package to multiarch, and dh_makeshlibs complains
> about the library being gone. The library has moved to the multiarch
> subdir appropriate for $(DEB_HOST_ARCH), and can be found there.

dpkg-gensymbols relies on /etc/ld.so.conf and /etc/ld.so.conf.d/ to know
supplementary directories to look up. multi-arch directories are listed
there but only for the build architecture. The directory for the
target architecture can't be found in this way but we already have a
special case for cross-compiling in the code... but it adds
/triplet/lib and /usr/triplet/lib, and not /lib/triplet/ + /usr/lib/triplet/
I guess we need to extend that. (See Dpkg::Shlibs, maybe you can try it
for yourself to see if it's enough)

What's the precise dpkg-gensymbols invocation that fails? (Set DH_VERBOSE
to 1)

What debhelper compatibility level are you using?

dh_makeshlibs gives an explicit list of files to scan in v8 and that could
make it work despite the lack of knowledge of those directories.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



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

Reply via email to