You could try: sudo -E bash -c 'echo $LD_LIBRARY_PATH'
The -E is --preserve-env On 6/24/19 12:32 PM, Marcin Romaszewicz wrote:
sudo echo $LD_LIBRARY_PATH
-- 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/b14d6f43-6b3f-6bb7-691f-af9978d65054%40gmail.com. For more options, visit https://groups.google.com/d/optout.