# Add libcurl.tbd to Projucer

**URL:** <https://forum.juce.com/t/add-libcurl-tbd-to-projucer/43578>\
**Category:** The Projucer\
**Created:** [January 1, 2021, 10:14am UTC](https://forum.juce.com/t/add-libcurl-tbd-to-projucer/43578 "2021-01-01T10:14:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoan](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@antoan](https://forum.juce.com/u/antoan)\
**Post date:** [January 1, 2021, 10:14am UTC](https://forum.juce.com/t/add-libcurl-tbd-to-projucer/43578/1 "2021-01-01T10:14:40Z")

</div>

My JUCE6 project uses CURL so I need to add **libcurl.tbd** to ‘Link Binary with Libraries’ in XCODE.

When I do that manually in xcode it links fine but the next time I export it from Projucer it removes the **libcurl.tbd** from my project.

By reading through the forums I see that others succeeded to do that by adding:  
‘curl’ to “External libraries to link” and  
‘/usr/lib’ to the “Extra library search paths”

Unfortunately this does not work for me on OSX BigSur and XCODE 12.

The reason could be that I don’t have curl lib in my /usr/lib:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/7ada6cc6253a438cc5eb27ad188841740e0806fa.jpeg)

Thanks,  
Antoan

---

<div class="post-metadata">

**Author:** ![antoan](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@antoan](https://forum.juce.com/u/antoan)\
**Post date:** [January 2, 2021, 10:31am UTC](https://forum.juce.com/t/add-libcurl-tbd-to-projucer/43578/2 "2021-01-02T10:31:54Z")

</div>

I found a solution. I’m posting it here for others who might have similar issues.

The solution is to add **-l\< library name \>** which in my case is **-lcurl** to the ‘ **Extra Linker Flags** ’ in Projucer. This adds the option to “ **Other Linker Flags** ” in xcode which then manages to find the correct library in the OSX bundle packages.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/1/19c578dff663bb218f85ca43dc1892686b6e9fc4.jpeg)

Happy 2021!

---

<div class="post-metadata">

**Author:** ![erteash](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@erteash](https://forum.juce.com/u/erteash)\
**Post date:** [February 4, 2021, 11:09am UTC](https://forum.juce.com/t/add-libcurl-tbd-to-projucer/43578/3 "2021-02-04T11:09:29Z")

</div>

Ah thanks, that saved me couple of days of headache. Now onto getting AAX to build.
