xlocale.h missing on FreeBSD

Steve O'Hara-Smith steve at sohara.org
Mon Oct 29 09:53:53 UTC 2018

On Mon, 29 Oct 2018 12:30:22 +0300
Odhiambo Washington <odhiambo at gmail.com> wrote:

> <cut>
> fatal error: xlocale.h: No such file or directory
>  #include <xlocale.h>
>           ^~~~~~~~~~~
> </cut>
> How do I get xlocale.h on my FreeBSD server?

	It's in /usr/include my 11.1 and 11.2 boxes so it came from the
base system - xlocale and presumable xlocale.h have been there since 9.1
according to man xlocale.

	IOW if your server is running 9.1 or later then it should be there
if it isn't your installation has become damaged. If your server is running
anything older than that an upgrade is probably well overdue.

Steve O'Hara-Smith <steve at sohara.org>

More information about the freebsd-questions mailing list