Running i386 programs on amd64

iirc amd64 freebsd ships with compat for i386 by default, you'd have to go out of your way to remove it, but i'm not sure about the jail bit.
 
Yes you can do both.

The i386 subsystem is an optional component during install. I don't think that it is selected by default.

If you don't have

/usr/lib32/libc.so.7 and
/libexec/ld-elf32.so.1

then it isn't installed.
 
Yes you can do both.

The i386 subsystem is an optional component during install. I don't think that it is selected by default.

If you don't have

/usr/lib32/libc.so.7 and
/libexec/ld-elf32.so.1

then it isn't installed.
I have the second but not the first. Where should I get it from?

Can I create a jail by populating it with an i386 release of FreeBSD such as 14.3 i386 ?
 
Can I create a jail by populating it with an i386 release of FreeBSD such as 14.3 i386 ?
Yes. Then you don't need 32 bit libraries on the host (the jail has them). The only thing to watch out for is COMPAT_FREEBSD32 in the kernel config. GENERIC has this but your custom kernel might not.
 
Oh, and if you run a 14.x jail on a 15 host, you need COMPAT_FREEBSD14 in the kernel too. GENERIC already has a whole bunch of these (all the way back to COMPAT_FREEBSD4).
 
I have the second but not the first. Where should I get it from?

Can I create a jail by populating it with an i386 release of FreeBSD such as 14.3 i386 ?
Yes, that tends to work (and keeps the amd64 host clutter free from the compat stuff).

In that dedicated x86 jail is how I tend to run Wine.
With the dropping of support for i386 from FreeBSD, it potentially disrupts that workflow but Wine/WoW64 will pick up that slack fairly naturally.
 
Back
Top