Re: Uninstalled interlibrary dependencies

2006-03-15 Thread Albert Chin
On Tue, Mar 14, 2006 at 03:30:55PM +0100, Magnus Lie Hetland wrote: > > It seems a bit "icky" to use Autotools, and then to slap on an if > statement to choose between DYLD_LIBRARY_PATH and LD_LIBRARY_PATH... > (I guess this might be in the docs, though. I'll have another look > there.) Set

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Ralf Wildenhues
* Magnus Lie Hetland wrote on Tue, Mar 14, 2006 at 03:30:55PM CET: > On Mar 14, 2006, at 14:24, Peter O'Gorman wrote: > > > >Magnus, > >You'll need to run the python interpreter with the "right" env vars > >set. > >For Mac OS X, env DYLD_LIBRARY_PATH=/path/to/uninstalled/library > >python > >fo

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Magnus Lie Hetland
On Mar 14, 2006, at 14:24, Peter O'Gorman wrote: Magnus, You'll need to run the python interpreter with the "right" env vars set. For Mac OS X, env DYLD_LIBRARY_PATH=/path/to/uninstalled/library python foo, for linux LD_LIBRARY_PATH=/path/to/uninstalled/library python etc.. Ah. Thanks -

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Magnus Lie Hetland
On Mar 14, 2006, at 14:02, Magnus Lie Hetland wrote: This article and thread has a bit more info on the current state: http://article.gmane.org/gmane.comp.sysutils.automake.general/6921 http://thread.gmane.org/gmane.comp.sysutils.automake.general/6912 OK -- thanks. I'll have a look. I've ha

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Peter O'Gorman
On Tue, 2006-03-14 at 14:02 +0100, Magnus Lie Hetland wrote: > > It all works well when I install everything -- because _foo.so refers > to the installed location of libfoo.so. > > > which system are you on? > > Mac O Magnus, You'll need to run the python interpreter with the "right" env vars

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Magnus Lie Hetland
On Mar 14, 2006, at 13:10, Ralf Wildenhues wrote: Hi Magnus, [snip] Do you specify the dependency on libfoo.la at link time? Yes -- I use: _foo_la_LIBADD = $(top_srcdir)/src/libfoo.la It all works well when I install everything -- because _foo.so refers to the installed location of lib

Re: Uninstalled interlibrary dependencies

2006-03-14 Thread Ralf Wildenhues
Hi Magnus, * Magnus Lie Hetland wrote on Tue, Mar 14, 2006 at 01:04:45PM CET: > > I'm writing a C++ library along with a wrapper for Python (generated > by SWIG), and I'm using Autotools for building it all. The way I > build it, I have one core library, of the form libfoo.la, and one > wra