It turns out that the bad options were in the pkg-config for ncurses on my 
computer. Once I deleted them from the pkg-config files for ncurses and all 
related items, the problem went away and github.com/gbin/goncurses worked 
as expected.


On Monday, October 11, 2021 at 12:40:01 AM UTC-4 Ian Lance Taylor wrote:

> On Sun, Oct 10, 2021 at 6:56 PM Kurtis Rader <kra...@skepticism.us> wrote:
> >
> > On Sun, Oct 10, 2021 at 6:36 PM richard thiebaud <giantd...@gmail.com> 
> wrote:
> >>
> >> Is this an error in the project?
> >
> >
> > Yes, although technically it seems to be a problem with the 
> pdcurses/ncurses dependency. The Go toolchain doesn't provide the 
> pkg-config file. That's from the CGO dependency. See, for example, 
> https://github.com/gbin/goncurses/blob/master/defs.go
>
> Note that I think the reported problem about -Wl,-Bsymbolic-functions
> will not happen with Go 1.16 or later.
>
> Ian
>
>
> >> On Sunday, October 10, 2021 at 9:22:07 PM UTC-4 Kurtis Rader wrote:
> >>>
> >>> Wouldn't it make more sense to open an issue against that project? 
> Although, since it hasn't seen any updates in eight years you'll probably 
> not get much support. Perhaps try the project it was forked from since it 
> appears to be actively maintained? 
> https://github.com/rthornton128/goncurses
> >>>
> >>> On Sun, Oct 10, 2021 at 6:14 PM richard thiebaud <giantd...@gmail.com> 
> wrote:
> >>>>
> >>>> go 1.13 Linux mint 20.2:
> >>>>
> >>>> dick@dick2:~$ go get "github.com/gbin/goncurses"
> >>>> go build github.com/gbin/goncurses: invalid flag in pkg-config 
> --libs: -Wl,-Bsymbolic-functions
> >
> >
> > --
> > Kurtis Rader
> > Caretaker of the exceptional canines Junior and Hank
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD8MMP_JrQyP3oXawU5BJir2ve1QfPS%3DuiWgu%2B%2BMbDSbgQ%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/db8741e2-b68f-4409-8c38-a181a8d41db7n%40googlegroups.com.

Reply via email to