On Sat, Jul 16, 2016 at 02:10:38PM -0700, dan...@basereality.com wrote: > Do you know if it's possible to set this option in an environment variable, > so that it isn't needed to be passed on each command line operation?
Ian mentioned another way to achieve your goal: add the directory to the list of paths the runtime linker is looking for libraries. On CentOS (and most other Linux systems, too) there's a directory /etc/ld.so.conf.d where you can drop a snippet listing your path on a single line. Alternatively, you can put it in the LD_LIBRARY_PATH environment variable. Note that these are knobs for controlling runtime behaviour. They need to be in place when you run the program, not when compiling. -- 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.