I followed these instructions to add some manpages on my computer, but I still can't open it with man
.
I set $MANPATH
to /usr/local/man
(export MANPATH=/usr/local/man
in my ~/.zshrc
, and sourced it) and copied my manpage files to /usr/local/man/man3
. Yet man
doesn't find the pages I want to access :
$ echo $MANPATH
/usr/local/man
$ tree /usr/local/man
/usr/local/man
└── man3
├── mlx.1
├── mlx_loop.1
├── mlx_new_image.1
├── mlx_new_window.1
└── mlx_pixel_put.1
1 directory, 5 files
$ man mlx
No manual entry for mlx
$ man 3 mlx
No manual entry for mlx in section 3
Why do I get this error and what could I do?