On Mon, May 29, 2006 at 10:41:35AM -0400, David Reiser wrote: > > On May 29, 2006, at 10:04 AM, Chris Shoemaker wrote: > > >> > >>[G5D:~/dev/gnucash] dbr% ls -al /opt/gnucash-svn/lib/*backend* > >>-rwxr-xr-x 1 dbr admin 666216 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgnc-backend-file.0.0.0.dylib > >>lrwxr-xr-x 1 dbr admin 31 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgnc-backend-file.0.dylib -> libgnc-backend-file.0.0.0.dylib > >>lrwxr-xr-x 1 dbr admin 31 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgnc-backend-file.dylib -> libgnc-backend-file.0.0.0.dylib > >>-rwxr-xr-x 1 dbr admin 1755 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgnc-backend-file.la > >>-rwxr-xr-x 1 dbr admin 137432 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgncqof-backend-qsf.0.0.0.dylib > >>lrwxr-xr-x 1 dbr admin 33 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgncqof-backend-qsf.0.dylib -> libgncqof-backend-qsf.0.0.0.dylib > >>lrwxr-xr-x 1 dbr admin 33 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgncqof-backend-qsf.dylib -> libgncqof-backend-qsf.0.0.0.dylib > >>-rwxr-xr-x 1 dbr admin 1130 May 26 09:24 /opt/gnucash-svn/lib/ > >>libgncqof-backend-qsf.la > > > >Hmm. So I guess the -avoid-version changes didn't help you, then? > > Not sure yet. Got home late last night, and was just replying from > earlier in thread. I'll build the newer version to test. > > > > >It seems that GModule expects libtool to name the module with ".so" > >but libtool is naming it with .dylib. > > > >What do you have for libtool --version > > I get an error for this one, but fink tells me I'm using 1.5.22
Oh, wait a sec! Are you really using GNU libtool or are you using something else. Do you have something called glibtool? > > >and pkg-config --modversion gtk+-2.0 ? > > 2.6.10 > > > > >And can you verify that ln -s libgnc-backend-file.dylib > >libgnc-backend-file.so actually fixes the problem? > > That works. Ok, then I think this is a libtool problem, either with libtool, or with our use of it. Just for kicks, I'd like to see $ file libgnc-backend-file.0.0.0.dylib So somehow, libtool is building the correct file but naming it '.dylib' instead of '.so'. AFAICT, this is just a convention, but it's a convention that libtool and gmodule must agree upon, and it seems that your libtool is being "unconventional". I really don't know what more to give to libtool other than -module to tell it what we want. Here's a related email for reference: http://lists.apple.com/archives/unix-porting/2003/Nov/msg00020.html -chris _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel