Bitcoin Forum
May 02, 2024, 05:49:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error under Mac OS X 10.5.8  (Read 10986 times)
Saul (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 15, 2010, 05:20:10 AM
 #1

The prebuilt application does not seem to be loading in my configuration. Here is the error dump:

Code:
Process:         bitcoin [2417]
Path:            /Applications/Bitcoin.app/Contents/MacOS/bitcoin
Identifier:      org.bitcoin.bitcoin
Version:         0.3 (1)
Code Type:       X86 (Native)
Parent Process:  launchd [607]

Interval Since Last Report:          4694828 sec
Crashes Since Last Report:           1669
Per-App Interval Since Last Report:  3 sec
Per-App Crashes Since Last Report:   2

Date/Time:       2010-07-14 22:07:11.406 -0700
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  A7C00234-5380-48A9-AE0F-A849306E52AF

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

A brief search of this error turned up issues regarding building in different environments. Before I attempt my own build, is there anyone who can shed light on this issue? Thanks.
1714628966
Hero Member
*
Offline Offline

Posts: 1714628966

View Profile Personal Message (Offline)

Ignore
1714628966
Reply with quote  #2

1714628966
Report to moderator
1714628966
Hero Member
*
Offline Offline

Posts: 1714628966

View Profile Personal Message (Offline)

Ignore
1714628966
Reply with quote  #2

1714628966
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714628966
Hero Member
*
Offline Offline

Posts: 1714628966

View Profile Personal Message (Offline)

Ignore
1714628966
Reply with quote  #2

1714628966
Report to moderator
1714628966
Hero Member
*
Offline Offline

Posts: 1714628966

View Profile Personal Message (Offline)

Ignore
1714628966
Reply with quote  #2

1714628966
Report to moderator
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
July 15, 2010, 11:23:40 AM
 #2

What kind of computer is it?  I only tested on 10.5 with a core 2 duo based mac..

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
Saul (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 16, 2010, 01:22:56 AM
 #3

Its an AMD x2 4200, custom build. Currently I have it running fine under WINE and generated my first coin within two hours!

I am still working on the native, however, and am stuck while trying to build wxWidgets. I know I must be doing something wrong. Here is a copy of the script I took from the directions.

Code:
PREFIX=~/bitcoin/deps
SRCDIR="$PREFIX/wxWidgets-trunk"
BUILDDIR="$SRCDIR/macbuild"

cd "$PREFIX" &&
#svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets-trunk &&
cd "$SRCDIR" &&

[ -f include/wx/hashmap.h.orig ] || cp include/wx/hashmap.h include/wx/hashmap.h.orig &&
sed 's/if wxUSE_STL/if 0 \&\& wxUSE_STL/g' < include/wx/hashmap.h.orig > include/wx/hashmap.h &&

[ -f include/wx/hashset.h.orig ] || cp include/wx/hashset.h include/wx/hashset.h.orig &&
sed 's/if wxUSE_STL/if 0 \&\& wxUSE_STL/g' < include/wx/hashset.h.orig > include/wx/hashset.h &&



rm -vrf "$BUILDDIR" &&
mkdir "$BUILDDIR" &&
cd "$BUILDDIR" &&

../configure --prefix="$PREFIX" \
--with-osx_cocoa \
--disable-shared \
--disable-debug_flag \
--with-macosx-version-min=10.5 \
--enable-stl \
--enable-utf8 \
--enable-universal_binary \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-regex=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--with-expat=builtin \
--with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk &&


find . -name Makefile |
while read i; do
  echo $i;
  sed 's/-arch i386/-arch i386 -arch x86_64/g' < "$i" > "$i".new &&
  mv "$i" "$i".old &&
  mv "$i".new "$i";
done



make &&
make install

And here is the console readout, it seems like I am missing an escape character somewhere or something.

Code:
admins-10:wxWidgets-trunk admin$ sh wxmake.sh
: command not found
: No such file or directorytcoin/deps
: No such file or directorytcoin/deps
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
mkdir: ~/bitcoin/deps\r/wxWidgets-trunk\r: No such file or directory
: No such file or directoryitcoin/deps
: command not found
wxmake.sh: line 21: ../configure: No such file or directory
wxmake.sh: line 22: --with-osx_cocoa: command not found
wxmake.sh: line 23: --disable-shared: command not found
wxmake.sh: line 24: --disable-debug_flag: command not found
wxmake.sh: line 25: --with-macosx-version-min=10.5: command not found
wxmake.sh: line 26: --enable-stl: command not found
wxmake.sh: line 27: --enable-utf8: command not found
wxmake.sh: line 28: --enable-universal_binary: command not found
wxmake.sh: line 29: --with-libjpeg=builtin: command not found
wxmake.sh: line 30: --with-libpng=builtin: command not found
wxmake.sh: line 31: --with-regex=builtin: command not found
wxmake.sh: line 32: --with-libtiff=builtin: command not found
wxmake.sh: line 33: --with-zlib=builtin: command not found
wxmake.sh: line 34: --with-expat=builtin: command not found
wxmake.sh: line 35: --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk: No such file or directory
: command not found
: command not found
: command not found
wxmake.sh: line 50: syntax error: unexpected end of file

I do have Xcode and the SDK is where it should be. There is something more basic I'm missing. Sorry for hijacking my own thread...
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
July 16, 2010, 02:39:57 AM
 #4

Try running it with 'bash' instead of 'sh'.. if that doesn't work try to execute the commands one at a time by hand.  I just linked em all together with those &&s but I think that's a bash thing.

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
Saul (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 17, 2010, 07:18:46 PM
 #5

Was your test machine 10.5.x or 10.6.x?
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
July 17, 2010, 09:15:06 PM
 #6

Both, I have a 10.5 and a 10.6 machine both running it.  I suspect the problem is the processor.  Some of the frameworks and such have a CPUID check in them to prevent them from running on non-intel processors, from what I've heard.

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
Saul (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 19, 2010, 02:30:25 AM
 #7

Build went well. I'm getting a couple of non-fatal wxWidgets debug errors. The performance is less than half of what I got under Ubuntu, however, I'm pleased that your directions were so complete and I am now generating coins.

In your directions it doesn't remind one to change the build directory in the makefile, I missed this the first time.

If you are interested in the wxWidgets debug messages I would be glad to post them. This may be related: in Bitcoin there are two Apple logos, the menu is offset strangely.

Thanks!
llama
Member
**
Offline Offline

Activity: 103
Merit: 61


View Profile
July 19, 2010, 02:33:24 AM
 #8

I'm getting the same wxWidgets debug errors.  Did you get a message about quicktime at the end of your build?  I can't figure it out...

laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
July 19, 2010, 11:06:02 PM
 #9

The Quicktime message is because it's 32 bit only but it isn't used anyway, it's just linked in by wxWidgets.  I believe if you disable the 'media control' features with configure it won't link them in, but I don't know off the top of my head what the right options for that are.  I noticed that even disabling the 'debug_flag' with configure, the latest svn of wxWidgets still pops up the assertions.  I'm not sure how to disable it completely, maybe I'll dig around in the wxWidgets code.  The 2.9 release of wxWidgets doesn't look very good on mac for me, so I used the latest from their svn.  They are doing a ton of work rewriting it with Cocoa.

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
SyneRyder
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 26, 2011, 09:54:12 AM
 #10

Sorry to drag up an old thread, but I'm having the same problem on my Intel Mac with 10.5.8.  I get exactly the same error message, regarding the _fopen$UNIX2003 symbol not being found.  My machine has a 2Ghz Core Duo processor (note, not Core 2 Duo) with 2GB RAM.  I think it might be a 32-bit only processor.  Perhaps the problems with the latest pre-built BitCoin are related to that?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!