1994 1995 1996 1997 1998 1999 2000 2001 2002 <2003> 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 <2003> 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: R3.14.1 ioc example |
From: | Andrew Johnson <[email protected]> |
To: | Till Straumann <[email protected]> |
Cc: | "Kevin M. Peterson" <[email protected]>, tech-talk <[email protected]> |
Date: | Mon, 27 Jan 2003 17:39:23 -0600 |
You have to set LD_LIBRARY_PATH when _running_, not when compiling the 'example' application.
Under LINUX, in order to embed the library path into the executable, you have to
1) either use the -rpath option to the linker
2) set LD_RUN_PATH when linking (note the difference: LD_RUN_PATH
is evaluated by the linker, LD_LIBRARY_PATH by the runtime linker,
i.e. when executing the linked application)
- Andrew -- A: No, see http://www.netmeister.org/news/learn2quote.html Q: Should I include quotations after my reply ?