Re: Why is Guile now setting LD_LIBRARY_PATH?

2012-09-14 Thread Mark H Weaver
On 09/13/2012 07:30 PM, Bruce Korb wrote: On 09/11/12 09:21, Bruce Korb wrote: Do you have any solutions meeting this criteria in mind? Wrap your dlopen's in code that pushes the needed values to the environment I have a better solution that does not require serializing environment variable

Re: Why is Guile now setting LD_LIBRARY_PATH?

2012-09-13 Thread Bruce Korb
On 09/11/12 09:21, Bruce Korb wrote: Do you have any solutions meeting this criteria in mind? Wrap your dlopen's in code that pushes the needed values to the environment I have a better solution that does not require serializing environment variable access: do your own search. Do full path

Re: Why is Guile now setting LD_LIBRARY_PATH?

2012-09-11 Thread Ludovic Courtès
Hi Bruce, Bruce Korb bk...@gnu.org skribis: in main() LD_LIBRARY_PATH='EMPTY' in inner_main() LD_LIBRARY_PATH='/usr/lib64:/usr/lib64/guile/2.0/extensions' The reason provided in ‘sysdep_dynl_init’ is: /* Add SCM_LIB_DIR and SCM_EXTENSIONS_DIR to the loader's search path.

Re: Why is Guile now setting LD_LIBRARY_PATH?

2012-09-11 Thread Bruce Korb
Hi Ludo, in main() LD_LIBRARY_PATH='EMPTY' in inner_main() LD_LIBRARY_PATH='/usr/lib64:/usr/lib64/guile/2.0/extensions' The reason provided in ‘sysdep_dynl_init’ is: /* Add SCM_LIB_DIR and ... See http://lists.gnu.org/archive/html/guile-devel/2010-11/msg00095.html for details. */ I am

Why is Guile now setting LD_LIBRARY_PATH?

2012-09-10 Thread Bruce Korb
$ guile --version guile (GNU Guile) 2.0.5 Copyright (C) 2011 Free Software Foundation, Inc. I added a couple of debug printf's after several hours chasing down why my program was crashing: in main() LD_LIBRARY_PATH='EMPTY' in inner_main()

Re: Why is Guile now setting LD_LIBRARY_PATH?

2012-09-10 Thread Bruce Korb
On 09/10/12 16:48, Bruce Korb wrote: $ guile --version guile (GNU Guile) 2.0.5 Copyright (C) 2011 Free Software Foundation, Inc. I added a couple of debug printf's after several hours chasing down why my program was crashing: in main() LD_LIBRARY_PATH='EMPTY' in inner_main()