#12323 closed defect (fixed)
BUG: gnucash crashes on start
Reported by: | luke-macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mas@… | |
Port: |
Description
After a fresh install of gnucash on MacOSX 10.4.10, I get the following:
pomme:~ lukeschierer$ gnucash dyld: Symbol not found: cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libjpeg.62.dylib
Trace/BPT trap pomme:~ lukeschierer$
Change History (8)
comment:1 Changed 17 years ago by mas@…
Cc: | mas@… added |
---|
comment:2 Changed 17 years ago by luke-macports@…
I have not intentionally set it, I will try explicetly unsetting it in the shell, and uninstalling and re-installing gnucash.
comment:3 Changed 17 years ago by luke-macports@…
pomme:~ lukeschierer$ sudo port uninstall gnucash Password: ---> Deactivating gnucash 2.2.0_0+guile16 ---> Uninstalling gnucash 2.2.0_0+guile16 pomme:~ lukeschierer$ echo $DYLD_LIBRARY_PATH
pomme:~ lukeschierer$ unset $DYLD_LIBRARY_PATH pomme:~ lukeschierer$ unset DYLD_LIBRARY_PATH pomme:~ lukeschierer$ sudo echo $DYLD_LIBRARY_PATH
pomme:~ lukeschierer$ sudo unset $DYLD_LIBRARY_PATH sudo: unset: command not found pomme:~ lukeschierer$ sudo port install gnucash ---> Fetching gnucash ---> Verifying checksum(s) for gnucash ---> Extracting gnucash ---> Configuring gnucash ---> Building gnucash with target all ---> Staging gnucash into destroot ---> Installing gnucash 2.2.0_0+guile16 ---> Activating gnucash 2.2.0_0+guile16 ---> Cleaning gnucash pomme:~ lukeschierer$ gnucash dyld: Symbol not found: cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/local/lib/libjpeg.62.dylib
Trace/BPT trap pomme:~ lukeschierer$
comment:4 Changed 17 years ago by mas@…
No idea, sorry. Have you tried posting to the gnucash-user list? You'll get a wider audience there.
comment:5 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Important → High |
Summary: | gnucash crashes on start → BUG: gnucash crashes on start |
Version: | 1.5.0 |
comment:6 Changed 17 years ago by james.sumners@…
I'm having the same problem since upgrading to Gnucash 2.2. Reading this thread -- http://www.nabble.com/Problems-with-Gnucash---Gramps-t4254628.html -- I found a solution:
Following Mike's comment, I tried editing the shell script:
/opt/local/bin/gnucash (the one that launches Gnucash). Line 20 originally read: DYLD_LIBRARY_PATH="${EXTRA_LIBS}:${DYLD_LIBRARY_PATH}" So I altered it to: #DYLD_LIBRARY_PATH="${EXTRA_LIBS}:${DYLD_LIBRARY_PATH}" DYLD_LIBRARY_PATH="/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:/opt/local/lib:/opt/local/lib/gnucash"
and Gnucash 2.2.0 now loads and apparently runs its basic functions OK.
Please note: I have NOT tested the full functionality. This is just a
work-round so I can try out the new version of gnucash on a non-critical application. Use it at your own risk.
I made the change and Gnucash now loads for me.
comment:7 Changed 17 years ago by mas@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
A workaround is provided in r28132. Thanks for everybody who contributed with hints and observations.
There was somebody on gnucash-user with that problem recently. David Reiser suggested that this might be the result of setting DYLD_LIBRARY_PATH at either compile or run time. I don't know if it fixed the problem for him, though.
Just for reference, I don't have DYLD_LIBRARY_PATH set, never had, and GnuCash works fine.
Please get back to us if you find out what's wrong.