Can't open data file in r14202

David Reiser dbreiser at earthlink.net
Wed May 31 21:40:26 EDT 2006


On May 31, 2006, at 7:39 PM, Chris Shoemaker wrote:

> On Wed, May 31, 2006 at 05:57:22PM -0400, David Reiser wrote:
>>
>> On May 31, 2006, at 1:22 PM, Derek Atkins wrote:
>>
>>> Chris Shoemaker <c.shoemaker at cox.net> writes:
>>>
>>>>> Yes, my ltmain.sh has the line.
>>>>>
>>>>
>>>> Any news on this front?  Maybe we should ask some libtool folks for
>>>> some help.
>>>
>>> Are you sure that a shared object is still supposed to be called
>>> ".so" on Mac?  Are you sure this isn't a glib/gmodule bug?
>>
>> loadable modules (as opposed to shared libraries) can have any
>> extension. Apple recommends .bundle, but the world at large seems to
>> prefer .so.
>>
>
> Yes, and AFAICT, .so has worked for a long time.  We've verified that
> libtool is correctly building a shared module.  It's just the
> unconventional .dylib extension that's a problem.  So either:
>
> a) new libtools changed the convention (unlikely); or
>
> b) something about your setup is causing libtool to name shared
> modules .dylib; or
>
> c) something about our use of libtool is wrong.
>
> But I don't know what c) would be, since it's building the correct
> file, and the extension is something libtool is supposed to hide from
> us.
>
>> The fink folk have some information:
>>
>>   http://fink.sourceforge.net/doc/porting/shared.php
>>
>> I'm hoping that's enough to answer chris' initial questions
>>
>
> That's a helpful document for understanding how it's _supposed_ to
> work, but it doesn't tell me what's wrong.
>
> Just for kicks: Please go into src/backend/file, do a 'make clean' and
> then a 'make'.  Then, post the line from the output that contains the
> ".libs/libgnc-backend-file.dylib" string.
>

gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/ 
libgnc-backend-file.dylib -bundle  .libs/gnc-account-xml-v2.o .libs/ 
gnc-backend-file.o .libs/gnc-book-xml-v2.o .libs/gnc-budget-xml- 
v2.o .libs/gnc-commodity-xml-v2.o .libs/gnc-freqspec-xml-v2.o .libs/ 
gnc-lot-xml-v2.o .libs/gnc-pricedb-xml-v2.o .libs/gnc-recurrence-xml- 
v2.o .libs/gnc-schedxaction-xml-v2.o .libs/gnc-transaction-xml- 
v2.o .libs/io-example-account.o .libs/io-gncbin-r.o .libs/io-gncxml- 
gen.o .libs/io-gncxml-v1.o .libs/io-gncxml-v2.o .libs/io- 
utils.o .libs/sixtp-dom-generators.o .libs/sixtp-dom-parsers.o .libs/ 
sixtp-stack.o .libs/sixtp-to-dom-parser.o .libs/sixtp-utils.o .libs/ 
sixtp.o  -L/sw/lib /sw/lib/libgobject-2.0.dylib /sw/lib/ 
libgconf-2.dylib /sw/lib/libORBit-2.dylib /sw/lib/ 
libgmodule-2.0.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/ 
libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libxml2.dylib - 
lpthread -lz /sw/lib/libiconv.dylib ../../../src/engine/.libs/ 
libgncmod-engine.dylib /Users/dbr/dev/gnucash/src/gnc-module/.libs/ 
libgncmodule.dylib -L/usr/X11R6/lib /sw/lib/libltdl.dylib /Users/dbr/ 
dev/gnucash/src/core-utils/.libs/libcore-utils.dylib /sw/lib/libgtk- 
x11-2.0.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib / 
sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/libpangoxft-1.0.dylib /sw/lib/ 
libpangox-1.0.dylib /sw/lib/libpangoft2-1.0.dylib /sw/lib/ 
libpango-1.0.dylib /sw/lib/libgwrap-guile-runtime.dylib /sw/lib/ 
libgwrap-core-runtime.dylib /sw/lib/libguile.dylib /sw/lib/libguile- 
ltdl.dylib /sw/lib/libffi.dylib /Users/dbr/dev/gnucash/lib/libqof/ 
qof/.libs/libgncqof.dylib ../../../src/core-utils/.libs/libcore- 
utils.dylib ../../../lib/libqof/qof/.libs/libgncqof.dylib /sw/lib/ 
libpopt.dylib -lm


> Thanks.
>
> -chris

Thanks for trying to figure this out without direct access to the  
misbehaving system.
Dave
--
David Reiser
dbreiser at earthlink.net



More information about the gnucash-devel mailing list