Sorry, set the vars to : -L/alt/dir/to/usr/local/lib Rather than just the path. Ryan
-----Original Message----- From: freeradius-devel-bounces+rmelendez=wayport.net@lists.freeradius.org [mailto:freeradius-devel- bounces+rmelendez=wayport.net@lists.freeradius.org] On Behalf Of Ryan Melendez Sent: Monday, June 05, 2006 10:19 AM To: FreeRadius developers mailing list Subject: RE: 1.1.2: specifying installation directory (env R) causesinstallto fail
As you noted, adding -L... helps. I'm not sure how to do this with libtool, because it's "install" stage doesn't accept linker options, even though it's actually doing linking.
Did I mention I hated that PoS?
Maybe setting LD_LIBRARY_PATH before running libtool --install will work?
I had this same problem as I set R as well. This was fixed for me by setting:
LDFLAGS (before ./configure) RLM_LDFLAGS (when you call make)
I made my own makefile one directory up:
all: cd ${SRCDIR} && LDFLAGS=/alt/dir/to/usr/local/lib \ ./configure \ (etc....) \ && make \ RLM_LDFLAGS=/alt/dir/to/usr/local/lib
Thanks, Ryan
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html