Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

/usr/share/man/man3 missing on Ventura

I have noticed that /usr/share/man/man3 is missing in my MacOS Ventura installation. It used to be there in the earlier MacOS versions. The other man sections are there. Has anybody seen this issue? Is there a fix? Thanks for any hint.

MacBook Pro Apple Silicon

Posted on Dec 3, 2022 6:10 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 3, 2022 7:30 AM

Any man sections related to development are not included in the Ventura installation. Worse, the CommandLineTools for Xcode 14.1 install their own man pages here, including sections 2, 3 and others:


/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man


These would only be available to you after that installation when you use the MANPATH environment variable to help man find those buried sections:


export MANPATH="/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man"


Once that is exported, you can verify where the man 3 section is located with this:


man -w 3 intro
/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man/man3/intro.3



The MANPATH just appends that path search to the existing default at /usr/share/man.


Those of us accustomed to development on UNIX systems past expect all of the man sections under /usr/share/man, and having to adjust MANPATH now is just plain annoying.

5 replies
Question marked as Top-ranking reply

Dec 3, 2022 7:30 AM in response to Trnfncb11

Any man sections related to development are not included in the Ventura installation. Worse, the CommandLineTools for Xcode 14.1 install their own man pages here, including sections 2, 3 and others:


/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man


These would only be available to you after that installation when you use the MANPATH environment variable to help man find those buried sections:


export MANPATH="/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man"


Once that is exported, you can verify where the man 3 section is located with this:


man -w 3 intro
/Library/Developer/CommandLineTools/SDKs/macOSX13.0.sdk/usr/share/man/man3/intro.3



The MANPATH just appends that path search to the existing default at /usr/share/man.


Those of us accustomed to development on UNIX systems past expect all of the man sections under /usr/share/man, and having to adjust MANPATH now is just plain annoying.

/usr/share/man/man3 missing on Ventura

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.