Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: otherfire on March 05, 2011, 12:58:54 AM



Title: Bitcoin quit unexpected
Post by: otherfire on March 05, 2011, 12:58:54 AM
I'm just getting started with Bitcoin, but I can't get anywhere. I'm trying to run 0.3.20 (or 0.3.19) on my Mac - Intel 10.5.8 and all I get is to the "Bitcoin has quit unexpectedly" screen. Any help?

Code:
Macintosh:~ eric$ /Users/eric/Desktop/Firefox\ downloads/bitcoin-0.3.19/Bitcoin.app/Contents/MacOS/bitcoin ; exit;
dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003
  Referenced from: /Users/eric/Desktop/Firefox downloads/bitcoin-0.3.19/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _fopen$UNIX2003
  Referenced from: /Users/eric/Desktop/Firefox downloads/bitcoin-0.3.19/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap
logout

[Process completed]


Title: Re: Bitcoin quit unexpected
Post by: wb3 on March 05, 2011, 01:16:32 AM
Question> Did you install this using the Command Line, or Just get the BitCoin.app and put it in /Applications folder. Btw, you would only need to put the BitCoin.app in the folder, you can leave the source where ever.

It looks like you did a command line install, if so was it through a port (macports, fink, etc...) or did you compile yourself. It looks like yourself, but not sure.

Oh, I always try to block out the computer name (eric$) when showing terminal to others. Not major but could lead to problems.

The easiest for mac would be to download the zip, decompress, and put the BitCoin.app in /Applications folder. It is a bundled app requires no admin privileges. First run will do the standard installs into the other folders but not that important.

Try the zip it is the easiest.


Title: Re: Bitcoin quit unexpected
Post by: otherfire on March 05, 2011, 05:29:25 AM
Now my name is zzzz$.  :-\

I did download the zip, put BitCoin.app in the Applications folder and it crashed. I just copied the Terminal after I ran bitcoin from the package.


Title: Re: Bitcoin quit unexpected
Post by: wb3 on March 05, 2011, 05:53:48 AM
the terminal is referencing your firefox download folder, that implies you ran it from there, but don't worry about that cause you got some problems.

The libSystem.B.dylib should be there. It is a library use by lots of things. The best thing to do it re-install the OS and then run Update.

?.. someones been playing, huh?

Referenced from: /Users/eric/Desktop/Firefox downloads/bitcoin-0.3.19/Bitcoin.app/Contents/MacOS/bitcoin

That is not your applications folder.   

After re-install (not to bad on Mac and you will still have all your data files.)  get the zip from bitcoin.org (no where else).

Unzip, go to the folder where you unzipped, then move bitcoin.app (just that file, you can leave the source and other stuff behind) to the /Applications folder. Then run the app.

The most important file is the wallet.dat file located in /home(or whatever the you named it)/Library/Application Support/Bitcoin/

That is where your money is, although you don't have any yet. But if you ever get any, after every transaction that matters to you, back it up.


Title: Re: Bitcoin quit unexpected
Post by: otherfire on March 05, 2011, 04:52:28 PM
It does the same thing from the Applications folder.

If libSystem.B.dylib is used by lots of things, wouldn't problems show up elsewhere? I'm having no other problems. I'll try it though. I have never, to my knowledge, done anything to the file or even the folder.


Title: Re: Bitcoin quit unexpected
Post by: Gavin Andresen on March 05, 2011, 05:04:53 PM
fopen() is a standard C library call; it is weird Bitcoin can't find it.

Is anybody else running bitcoin on OSX 10.5 ?   I'm running 10.6.6; Laszlo does the OSX builds, I'll ask him what he's running.


Title: Re: Bitcoin quit unexpected
Post by: laszlo on March 05, 2011, 11:34:43 PM
Hmm I can't reproduce the problem on my 10.5.8 machine..

the output of 'otool -L' produces this for me:


Code:
Bitcoin.app/Contents/MacOS/bitcoin:
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 1756.0.0)
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit (compatibility version 1.0.0, current version 533.19.4)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.42.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.42.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.35.0)

I think otool is from the development tools but this shows all the dependencies.  All of those are standard frameworks that are part of a base install as far as I know.  The graphics dependencies and other odd looking things are brought in by wx-widgets which can be built with support for those.  They could probably be hacked out, but since those are part of the standard footprint on that OS, they don't add any external dependencies.

Laszlo



Title: Re: Bitcoin quit unexpected
Post by: Tril on March 06, 2011, 12:45:58 AM
fopen() is a standard C library call; it is weird Bitcoin can't find it.

Is anybody else running bitcoin on OSX 10.5 ?   I'm running 10.6.6; Laszlo does the OSX builds, I'll ask him what he's running.


Gavin,
I don't have a OS X 10.5 machine I can test on, but a quick google for "lazy symbol binding failed: Symbol not found: _fopen$UNIX2003" reveals this:
http://permalink.gmane.org/gmane.comp.tex.latex.latex2rtf.devel/188

From this and other google results, it seems that 10.5 is extra work to support.


Title: Re: Bitcoin quit unexpected
Post by: otherfire on March 07, 2011, 05:57:27 PM
So, the easiest thing to do would be to upgrade to 10.6?


Title: Re: Bitcoin quit unexpected
Post by: Tredecim on March 16, 2011, 01:58:59 AM
I am on a mac 10.5.8 intel.
Biocoin just keeps unexpectedly closing.  ???

I get this:
Process:         bitcoin [3618]
Path:            /Applications/Bitcoin.app/Contents/MacOS/bitcoin
Identifier:      org.bitcoin.bitcoin
Version:         0.3.19 (320)
Code Type:       X86 (Native)
Parent Process:  launchd [116]

Interval Since Last Report:          12365156 sec
Crashes Since Last Report:           200
Per-App Interval Since Last Report:  36 sec
Per-App Crashes Since Last Report:   12

Date/Time:       2011-03-15 18:50:42.995 -0700
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  93DC8B41-4276-4791-A686-D5931C9BC100

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _fopen$UNIX2003
  Referenced from: /Applications/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

This means little to me. Any help would be great. Thanks!


Title: Re: Bitcoin quit unexpected
Post by: doomey on March 19, 2011, 08:19:53 AM
Getting the same thing, first install of Bitcoin on a 10.5.8 Mac mini

dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003
  Referenced from: /Applications/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _fopen$UNIX2003
  Referenced from: /Applications/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

My guess is that the dependency is a package bundled in XCode, because it works on my 10.5.8 dev machine, but this error came on my home server, which only serves as backup and media storage.

There's a lot of people still on 10.5, as 10.6 did not bring so much new features, and a system upgrade is not something that you want to do everyday


Title: Re: Bitcoin quit unexpected
Post by: FrankenFood on June 10, 2011, 11:44:31 PM
I'm having the same problem. 10.5.7

Process:         bitcoin [3613]
Path:            /Applications/Bitcoin.app/Contents/MacOS/bitcoin
Identifier:      org.bitcoin.bitcoin
Version:         0.3.21 (321)
Code Type:       X86 (Native)
Parent Process:  launchd [82]

Date/Time:       2011-06-10 20:43:22.404 -0300
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _fopen$UNIX2003
  Referenced from: /Applications/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

SYSINFO:

Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 1.83 GHz, 2 GB
Graphics: kHW_IntelGMA950Item, GMA 950, spdisplays_builtin, spdisplays_integrated_vram
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 1.4.8.3
Bluetooth: Version 2.1.3f8, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS542512K9SA00, 111.79 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857
USB Device: Built-in iSight, (null) mA
USB Device: Apple Internal Keyboard / Trackpad, (null) mA
USB Device: IR Receiver, (null) mA
USB Device: Bluetooth USB Host Controller, (null) mA