# \[C\] Build your own shell - Stage #QP2

**URL:** <https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689>\
**Category:** Bug Reports\
**Tags:** challenge:shell\
**Created:** [December 23, 2025, 11:36pm UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689 "2025-12-23T23:36:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![retop56](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/retop56/32/2910_2.png) [@retop56](https://forum.codecrafters.io/u/retop56)\
**Post date:** [December 23, 2025, 11:36pm UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689/1 "2025-12-23T23:36:43Z")

</div>

[Link to GitHub repo](https://github.com/retop56/codecrafters-shell-c/tree/main)

Cannot get program to compile for this stage.

```bash
[compile] app/main.c:5:10: fatal error: readline/readline.h: No such file or directory
[compile] #include <readline/readline.h>
[compile] ^ ~~~~~~~~~~~~~~~~~~~~
[compile] compilation terminated.
[compile] Looks like your code failed to compile.
[compile] If you think this is a CodeCrafters error, please let us know at hello@codecrafters.io.

```

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [December 23, 2025, 11:36pm UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689/2 "2025-12-23T23:36:44Z")

</div>

Hi, thanks for your post!

I’m currently out of the office for the holidays and will be back on January 5. I’ll get back to you as soon as possible once I return.

---

<div class="post-metadata">

**Author:** ![mosaab2020](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/mosaab2020/32/119_2.png) [@mosaab2020](https://forum.codecrafters.io/u/mosaab2020)\
**Post date:** [December 28, 2025, 6:25pm UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689/5 "2025-12-28T18:25:04Z")

</div>

are you sure that \<readline/readline.h\> exists?

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [May 25, 2026, 8:25am UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689/6 "2026-05-25T08:25:52Z")

</div>

This issue should now be fixed. Let me know if you’re still running into it. @retop56

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [June 1, 2026, 9:36am UTC](https://forum.codecrafters.io/t/c-build-your-own-shell-stage-qp2/15689/8 "2026-06-01T09:36:32Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
