Current HEAD will never build on Mac OS X

Peter O'Gorman
Mon, 4 Feb 2002 07:43:43 +0900

No, at the moment, the binaries are different. Apple does not 
provide a way to load dylibs at runtime. Any solution would 
involve hacking the OS. The only solution to building gnucash on 
my Mac is to install linux on it :-(.

This completely sucks, there must be another way.

Anyway, I should have asked earlier before I spent most of my 
Sunday starting "fixing" the (insert all swear words known to 
man) thing.

What will fixing it require? Surely It just involves linking the 
libs twice with different names (eg libxyz libmodxyz libgw-xyz) 
and being careful about the interdependencies? Yes, I know that 
there are a lot of modules...


On Monday, February 4, 2002, at 02:06  AM, Bill Gribble wrote:

> On Sun, 2002-02-03 at 08:55, Peter O'Gorman wrote:
>> Please use -module only for things which need to be loaded at
>> runtime, anything that needs to be linked against doesn't need
>> this.
> Please don't "fix" this.  The use of -module is intentional and 
> removing
> it will break gnucash.  At the moment, gnucash depends on being able to
> both link against and dynamically load its modules.  That's 
> unfortunate,
> but fixing the problem will require much more than just removing
> -module.
> It's unfortunate that this breaks compilation on Mac OS X.  Is 
> there any
> way to make it possible to both link against and runtime load libraries
> on that OS?
> Thanks,
> Bill Gribble