Formal:
* Où est la bibliothèque ? (Where is the library?) - This is the most direct and formal way to ask.
Informal:
* Où se trouve la bibliothèque ? (Where is the library located?) - This is a slightly more formal way to ask.
* Tu sais où est la bibliothèque ? (Do you know where the library is?) - This is more informal and assumes the person you're asking knows the library.
* C'est où la bibliothèque ? (Where is the library?) - This is very informal and is used between friends or family.
Other variations:
* Pouvez-vous me dire où se trouve la bibliothèque ? (Could you tell me where the library is located?) - This is a polite way to ask for directions.
* Je cherche la bibliothèque. Est-ce que vous pouvez m'aider ? (I'm looking for the library. Could you help me?) - This is a polite way to ask for help finding the library.
Choose the phrase that best suits the situation and your level of formality.