[OGo-Developer] sope and lib64

Helge Hess developer@opengroupware.org
Tue, 22 Jan 2008 14:53:59 +0100


On 14.01.2008, at 02:06, Sebastian Reitenbach wrote:
> To install into FHS, the library directory is hardcoded, in the  
> files above there are statements like this:
>
> =================================================================
>  tmp = [NSString stringWithFormat:
> #if CONFIGURE_64BIT
>                    @"/lib64/sope-%i.%i/dbadaptors",
> #else
>                    @"/lib/sope-%i.%i/dbadaptors",
> #endif
...
> this will break on OpenBSD 64Bit architectures, and I think on any  
> other *BSD too, maybe there are also Linuxes around, that do not  
> have these lib64 woes.

Not sure what you mean by 'woes'. lib64 is required to run 32bit and  
64bit alongside, which is often required.
Anyways, Debian also has this woe of not providing lib64 ;-)

> Instead of passing the define CONFIGURE_64BIT I'd go change it and  
> just pass either lib or lib64 at compile time directly. I'd detect  
> it when running configure and write it into config.make. Then only  
> grab the value from that central place?

Sounds reasonable.

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/