Hello

Am Mi., 12. Jan. 2022 um 23:19 Uhr schrieb Ian Lance Taylor <i...@golang.org
>:

> On Wed, Jan 12, 2022 at 1:17 PM Tejas Gowda <tejas7111...@gmail.com>
> wrote:
> >
> > I am using linux enviorment, installed go 1.6
>

In Fedora 34 there must be glibc-headers-x86 installed to get C headers.
However, if gcc is installed by package management (rpm or dnf in Fedora
case) then this package will be installed thru the dependencies.

$ rpm -qf /usr/include/stdlib.h
glibc-headers-x86-2.33-20.fc34.noarch

BR,
Roland


> 1.16 rather than 1.6, I hope.
>
> What Linux distro?
>
> Ian
>
> > On Thursday, January 13, 2022 at 2:29:00 AM UTC+5:30 Ian Lance Taylor
> wrote:
> >>
> >> On Wed, Jan 12, 2022 at 10:58 AM Tejas Gowda <tejas7...@gmail.com>
> wrote:
> >> >
> >> > # runtime/cgo
> >> > _cgo_export.c:3:20: fatal error: stdlib.h: No such file or directory
> >> > #include <stdlib.h>
> >> > ^
> >> > compilation terminated.
> >>
> >> That looks like you have a C compiler installed but no C library
> installed.
> >>
> >> Hard to say more without more information, like what kind of system
> >> you are using and exactly what you did.
> >>
> >> Ian
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to golang-nuts+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/1ce9b7e4-e4d7-4340-a13f-d9c58e3c431cn%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU17A%2B5RSvtVNoYRJddEK1Fj1FHyUc3Z5zQ4mLpA_tLHg%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2B8p0G1EQRLgJA0S2%3Dg1bnyhzMuW_YCxpQpbb473OrFnPwC9Uw%40mail.gmail.com.

Reply via email to