[go-nuts] Re: Set LD_LIBRARY_PATH while executing go test
I used to write tons of interposers, what is it you are trying to do in Go? -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Set LD_LIBRARY_PATH while executing go test
There is no documented flag for go test to set the LD_LIBRARY_PATH. From my point of view there is also no need for it. On Monday, June 19, 2017 at 6:36:24 AM UTC+2, lakshmi balachandran wrote: > > Hello, > > Is there any flags which can be used? other than explicitly setting the > env variable? > > On Friday, 16 June 2017 18:08:24 UTC+5:30, messju mohr wrote: >> >> ... and a shell agnostic way would be: >> >> $ env LD_LIBRARY_PATH=/foo/bar go test >> >> (see the man page of env(1)) >> >> regards >> >> >> On Fri, Jun 16, 2017 at 04:12:15AM -0700, Uli Kunitz wrote: >> >Bash supports: >> >``` >> >LD_LIBRARY_PATH=/foo/bar go test >> >``` >> >Is that what you want? >> > -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Set LD_LIBRARY_PATH while executing go test
Hello, Is there any flags which can be used? other than explicitly setting the env variable? On Friday, 16 June 2017 18:08:24 UTC+5:30, messju mohr wrote: > > ... and a shell agnostic way would be: > > $ env LD_LIBRARY_PATH=/foo/bar go test > > (see the man page of env(1)) > > regards > > > On Fri, Jun 16, 2017 at 04:12:15AM -0700, Uli Kunitz wrote: > >Bash supports: > >``` > >LD_LIBRARY_PATH=/foo/bar go test > >``` > >Is that what you want? > -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] Re: Set LD_LIBRARY_PATH while executing go test
... and a shell agnostic way would be: $ env LD_LIBRARY_PATH=/foo/bar go test (see the man page of env(1)) regards On Fri, Jun 16, 2017 at 04:12:15AM -0700, Uli Kunitz wrote: >Bash supports: >``` >LD_LIBRARY_PATH=/foo/bar go test >``` >Is that what you want? -- 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. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Set LD_LIBRARY_PATH while executing go test
Bash supports: ``` LD_LIBRARY_PATH=/foo/bar go test ``` Is that what you want? -- 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. For more options, visit https://groups.google.com/d/optout.