<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>curl CLI stop working after sourcing toolchain env (curl: symbol lookup error)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126499/curl-cli-stop-working-after-sourcing-toolchain-env-curl-symbol-lookup-error</link><description>If I source the toolchain environment (using eval &amp;quot;$(nrfutil sdk-manager toolchain env --ncs-version v3.2.1 --as-script sh)&amp;quot; ), the curl CLI stops working: 
 
 
 The toolchain environment is setting LD_LIBRARY_PATH , which causes curl to use an incompatible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jan 2026 13:23:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126499/curl-cli-stop-working-after-sourcing-toolchain-env-curl-symbol-lookup-error" /><item><title>RE: curl CLI stop working after sourcing toolchain env (curl: symbol lookup error)</title><link>https://devzone.nordicsemi.com/thread/559470?ContentTypeID=1</link><pubDate>Fri, 23 Jan 2026 13:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8fc709-5463-4f29-9da9-324567d85087</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not have a good workaround for this use-case with our toolchain.&lt;/p&gt;
&lt;p&gt;It can be possible if you manually install sdk-ng:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/sdk-ng"&gt;https://github.com/zephyrproject-rtos/sdk-ng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, we unfortunately do not support manual installation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: curl CLI stop working after sourcing toolchain env (curl: symbol lookup error)</title><link>https://devzone.nordicsemi.com/thread/558886?ContentTypeID=1</link><pubDate>Fri, 16 Jan 2026 11:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e0e61f7-589e-4563-bf84-41d28d4bcb21</guid><dc:creator>Rodrigo Moraes</dc:creator><description>&lt;p&gt;Yes, this does circumvent the problem:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;~$ eval &amp;quot;$(nrfutil sdk-manager toolchain env --ncs-version v3.2.1 --as-script sh)&amp;quot;
~$ curl example.org
curl: symbol lookup error: /lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
~$ LD_LIBRARY_PATH= curl example.org
&amp;lt;!doctype html&amp;gt;&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Example Domain&amp;lt;/title&amp;gt;&amp;lt;meta name=&amp;quot;viewport&amp;quot; content=&amp;quot;width=device-width, initial-scale=1&amp;quot;&amp;gt;&amp;lt;style&amp;gt;body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}&amp;lt;/style&amp;gt;&amp;lt;body&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h1&amp;gt;Example Domain&amp;lt;/h1&amp;gt;&amp;lt;p&amp;gt;This domain is for use in documentation examples without needing permission. Avoid use in operations.&amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;https://iana.org/domains/example&amp;quot;&amp;gt;Learn more&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;My main problem is that I use Neovim in the terminal, and one of the plugins I have is using curl internally. I could open Neovim with &lt;code&gt;LD_LIBRARY_PATH=&amp;#39;&amp;#39;&lt;/code&gt;, but I am afraid that&amp;nbsp;may&amp;nbsp;break something in the toolchain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: curl CLI stop working after sourcing toolchain env (curl: symbol lookup error)</title><link>https://devzone.nordicsemi.com/thread/558881?ContentTypeID=1</link><pubDate>Fri, 16 Jan 2026 11:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a54690-b915-4418-8872-cb5e5fa366ba</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to clear it specifically when calling curl and see if this helps?&lt;/p&gt;
&lt;p&gt;Ie. something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;LD_LIBRARY_PATH= curl &amp;lt;args&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>