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

2010-12-20 Thread Bruce Korb
On 12/20/10 11:20, Ralf Wildenhues wrote: > * Bruce Korb wrote on Mon, Dec 20, 2010 at 03:09:48PM CET: >> How much understanding of the machinery should be expected >> of the hapless project builder? > > I've skimmed most of the conversation in this thread now. > > The crucial part, I think,

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

2010-12-20 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Dec 20, 2010 at 08:20:25PM CET: > The other crucial part is that libtool doesn't get the > sys_lib_search_path_spec and sys_lib_dlsearch_path_spec settings > right on several distros, introducing such wrong directories itself (not > to speak of cross setups). There

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

2010-12-20 Thread Ralf Wildenhues
* Bruce Korb wrote on Mon, Dec 20, 2010 at 03:09:48PM CET: > How much understanding of the machinery should be expected > of the hapless project builder? I've skimmed most of the conversation in this thread now. The crucial part, I think, is *not* the --libdir setting. Distros usually get th

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

2010-12-20 Thread Bruce Korb
On 12/20/10 09:11, Nick Bowler wrote: > On 2010-12-20 08:54 -0800, Bruce Korb wrote: >> If the default build is 64 bit, why does it make sense that the >> default library directory is the 32 bit library? > > As far as I know, the only reason for this design is to avoid breaking > 32-bit proprietar

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

2010-12-20 Thread Peter O'Gorman
On 12/20/2010 10:54 AM, Bruce Korb wrote: If the default build is 64 bit, why does it make sense that the default library directory is the 32 bit library? Because the user may not be building for multiple architectures, in which case a default of $prefix/lib for libdir makes perfect sense an

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

2010-12-20 Thread Nick Bowler
On 2010-12-20 08:54 -0800, Bruce Korb wrote: > If the default build is 64 bit, why does it make sense that the > default library directory is the 32 bit library? As far as I know, the only reason for this design is to avoid breaking 32-bit proprietary software with /usr/lib paths hardcoded into th

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

2010-12-20 Thread Bruce Korb
Howdy, It is feeling like circular responsibilities to me. So far, the circle seems unbroken. Let's start by enumerating the ways of breaking it and then, perhaps, figure out the easiest way. Currently, it is actually broken by users having to know that for a particular distribution, they have t

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

2010-12-20 Thread Ralf Corsepius
On 12/20/2010 04:41 PM, Eric Blake wrote: On 12/20/2010 08:36 AM, Ralf Corsepius wrote: If a distro insists on shipping 64-bit libraries under /usr/lib64, then it would be in the distro's best interest to also ship a config.site variable that defaults --libdir to the appropriate /usr/lib64 locat

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

2010-12-20 Thread Eric Blake
On 12/20/2010 08:36 AM, Ralf Corsepius wrote: >> If a distro insists on shipping 64-bit libraries under /usr/lib64, then >> it would be in the distro's best interest to also ship a config.site >> variable that defaults --libdir to the appropriate /usr/lib64 location. > > This isn't of much help on

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

2010-12-20 Thread Ralf Corsepius
On 12/20/2010 04:05 PM, Eric Blake wrote: On 12/20/2010 07:59 AM, Bruce Korb wrote: Hi Andy, Ralf, et al., On Mon, Dec 20, 2010 at 6:23 AM, Andy Wingo wrote: How much understanding of the machinery should be expected of the hapless project builder? I'm not sure, but: . I am sure

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

2010-12-20 Thread Ralf Corsepius
On 12/20/2010 03:59 PM, Bruce Korb wrote: Hi Andy, Ralf, et al., (With my Fedora Packaging Committee member hat on) In Fedora and RHEL, users are supposed to pass --libdir=/usr/lib64 to configure on x86_64 and It is unclear that you-all can do otherwise, without having OSX-style mixed word si

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

2010-12-20 Thread Eric Blake
On 12/20/2010 07:59 AM, Bruce Korb wrote: > Hi Andy, Ralf, et al., > > On Mon, Dec 20, 2010 at 6:23 AM, Andy Wingo wrote: >>> How much understanding of the machinery should be expected >>> of the hapless project builder? >> >> I'm not sure, but: . > > I am sure of this: It needs to be m

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

2010-12-20 Thread Bruce Korb
Hi Andy, Ralf, et al., On Mon, Dec 20, 2010 at 6:23 AM, Andy Wingo wrote: >>   How much understanding of the machinery should be expected >>   of the hapless project builder? > > I'm not sure, but: . I am sure of this: It needs to be minimized. If there are insurmountable problems in figur

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

2010-12-20 Thread Ralf Corsepius
On 12/20/2010 03:09 PM, Bruce Korb wrote: On 12/19/10 20:40, Noah Lavine wrote: Hello, I am not at all an expert on guile-config, but I will help if I can. Thank you to all who responded. Usually if you have 64-bit libs in lib64, you have to pass --libdir explicitly. We've now concluded t

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

2010-12-20 Thread Andy Wingo
Hi Bruce, Sorry you and others have had to suffer through this. On Mon 20 Dec 2010 15:09, Bruce Korb writes: > How much understanding of the machinery should be expected > of the hapless project builder? I'm not sure, but: > Nelson has been doing this stuff for quite a while and has > rea

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

2010-12-20 Thread Bruce Korb
On 12/19/10 20:40, Noah Lavine wrote: > Hello, > > I am not at all an expert on guile-config, but I will help if I can. Thank you to all who responded. > Usually if you have 64-bit libs in lib64, you have to pass --libdir > explicitly. We've now concluded that that is, indeed, the answer to the

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

2010-12-20 Thread Andy Wingo
Hello, When a work subscription to libtool and a home subscription to guile-devel collide... On Mon 20 Dec 2010 05:40, Noah Lavine writes: > I found the file that pkg-config will be using to give you this > information. It is meta/guile-.pc in my Guile source > tree. Furthermore, I think it's s