Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Bruce Korb
On 12/17/10 13:37, Peter O'Gorman wrote: >> I haven't had a problem with setting --libdir at configure time and then >> running make && make install, do you perhaps recall what packages gave >> you issues with this? > > Oh, I misread again, just for a change :( I don't think setting libdir > in th

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Peter O'Gorman
On 12/17/2010 02:59 PM, Peter O'Gorman wrote: On 12/17/2010 11:09 AM, Nelson H. F. Beebe wrote: I normally do builds on the AMD64 platforms with something like this (at a minimum): env LDFLAGS='-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64' ./configure make all check make install libdir=/usr/

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Peter O'Gorman
On 12/17/2010 11:09 AM, Nelson H. F. Beebe wrote: I normally do builds on the AMD64 platforms with something like this (at a minimum): env LDFLAGS='-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64' ./configure make all check make install libdir=/usr/local/lib64 It does no

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Bruce Korb
Hi Nelson, I am nearly certain we (you) have reached a point where libtool folks are going to say, "it is Guile", and Guile folks are going to say, "it is libtool". I am going to say, "I'd like some help from either or both". Because the guile-config invokes the guile binary in order to print ou

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Bruce Korb
Hi Nelson, On Fri, Dec 17, 2010 at 9:09 AM, Nelson H. F. Beebe wrote: > The recent exchanges about the /usr/local/lib vs /usr/local/lib64 > problem with libtool + autogen + guile gave me a critical clue.  I > examined all of the /usr/local/lib64/*.la files, and found dozens that > mention (incorr

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Nelson H. F. Beebe
The recent exchanges about the /usr/local/lib vs /usr/local/lib64 problem with libtool + autogen + guile gave me a critical clue. I examined all of the /usr/local/lib64/*.la files, and found dozens that mention (incorrectly) /usr/local/lib. A couple of passes with "sed -i" scripts repaired them,

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Dan Nicholson
On Fri, Dec 17, 2010 at 12:14 AM, Bruce Korb wrote: > `guile-config link` yields that string.  In fact, it yields: > >> -L/usr/local/lib -lguile -lltdl -L/usr/local/lib64  -lgmp -lcrypt -lm -lltdl >> -lm -ldl > > NOTE: " -Wl,-rpath,/usr/local/lib64 " gets inserted some how. Well, that's broken.

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Ingo Krabbe
On Fri, Dec 17, 2010 at 12:14:30AM -0800, Bruce Korb wrote: > `guile-config link` yields that string. In fact, it yields: > > > -L/usr/local/lib -lguile -lltdl -L/usr/local/lib64 -lgmp -lcrypt -lm > > -lltdl -lm -ldl > > NOTE: " -Wl,-rpath,/usr/local/lib64 " gets inserted some how. Though rpa

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-17 Thread Bruce Korb
`guile-config link` yields that string. In fact, it yields: > -L/usr/local/lib -lguile -lltdl -L/usr/local/lib64 -lgmp -lcrypt -lm -lltdl > -lm -ldl NOTE: " -Wl,-rpath,/usr/local/lib64 " gets inserted some how. Also, I thought the -L options were searched most recent to oldest, but I am likel