Re: Bug#623484: dpkg-cross doesn't detect libs not directly under /usr/lib

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
tag 623484 + moreinfo
notfound 623484 2.5.8
quit

On Wed, 20 Apr 2011 10:02:26 -0700
Andre Kostur <[email protected]> wrote:

> Certain packages have libraries that exist in a subdirectory under /usr/lib.

Those, according to the FHS, are for plugins which - by definition -
are not useful to a cross-build because third party code cannot link
directly against plugins.

> dpkg-cross fails to detect these as valid libs to include.  A specific example

This is correct.

> is libaxis2c0_1.6.0-1_amd64.deb.   I'm trying to repackage this for use on
> an i686 machine.  This package supplies a set of shared
> objects under /usr/lib/axis2/lib.  However, running dpkg-cross against this

Those directories are for plugins. If those files are actually used when
building against that package, this is a bug in the package NOT
dpkg-cross.

> package results in "package libaxis2c0 doesn't provide any useful files.
> Skipping."
> 
> Perhaps dpkg-cross should either be able to find libraries in subdirectories
> of /usr/lib, or the user could supply additional paths to look for libs?

No. dpkg-cross is correctly ignoring plugins. Please confirm that this
is either a bug in the libaxis package or that these files are actually
not necessary for the build.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2v3+EACgkQiAEJSii8s+Nu+QCgjhlrOXQz3/HyUL2QcM5/Zp2Q
i3EAoIoXOwaBl7+W1c4mPyxWj6b4xqX4
=n1Jg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.