tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing 32-bit packages on 64-bit systems



Robert Swindells <rjs%fdy2.co.uk@localhost> writes:

> Do we have an easy way to install a 32-bit NetBSD binary package
> on a 64-bit NetBSD system ?
>
> As an example, I would like to be able to pkg_add a i386 build of
> x11/motif on an amd64 machine and have it end up under
> /usr/pkg/lib/i386 along with i386 builds of any other libraries it
> needs like png and jpeg.

I don't think that will work.

An emul chroot might, as Ottavio suggests.

The problem with mixing i386/amd64 in the same /usr/pkg is that each
wants to link with dependencies from pkgsrc, so you end up needing i386
dependencies as well.   So I think you really need too trees.

An exception would be a package with no (pkgsrc) dependencies.  That
will probably work if you just pkg_add -f to override the arch check.

Attachment: pgpUeD3AOSnzk.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index