Segmentation fault.
David Rocks
26 July 2013, 04:13
My first attempt at installing Hiawatha. Used the 9.2 OS X dmg and no errors during install but get a segmentation fault when I try to start hiawatha. Must be my error but don't know where to start.
Hiawatha version: 9.2
Operating System: os x 10.6
Hugo Leisink
26 July 2013, 08:25
I have no idea what might cause that. Try building the OS X package yourself. Install XCode, unzip the Hiawatha source package and run the extra/make_macosx_package script.
David Rocks
27 July 2013, 22:36
I have xcode 4.2 but cmake wasn't installed. Installed cmake but still having ptoblems installing from source. Will keep trying. In meantime found log file for error on 'sudo /usr/local/sbin/hiawatha' Not to helpful:
Process: sudo [2113]
Path: /usr/bin/sudo
Identifier: sudo
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: sh [2015]
Date/Time: 2013-07-26 21:31:19.817 -0600
OS Version: Mac OS X Server 10.6.8 (10K549)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffff8
Crashed Thread: Unknown
Hugo Leisink
27 July 2013, 22:38
Looks to me like something's wrong with your system...
David Rocks
27 July 2013, 23:22
Installing from source is failing because it is picking up the wrong libxml2.dylib. Also couldn't find a couple of other things. I'm on 10.6.8. Has anyone else tried the 9.2 verion with that os?
David Rocks
27 July 2013, 23:43
install finds old libxml2.dylib in /opt/local/lib when it should get the one from /usr/local/lib. How do I force that?
Hugo Leisink
28 July 2013, 00:31
I have no idea...
David Rocks
31 July 2013, 00:20
I installed the dmg on a newer laptop running os x 10.8 and it appears to run fine. I just need to figure out how to stop it. My desktop is 5 years old and has had many different ported from unix software apps installed over the years. I'm sure I have serious $PATH problems. I will still try to build hiawatha from source, but it looks like it will take a while. What are the minimum libraries that hiawatha needs access to at run time?
Hugo Leisink
31 July 2013, 06:36
Installing XCode should be enough to build Hiawatha. Besides general libraries, it also requires libxml2 and libxslt1 at runtime.
David Rocks
1 August 2013, 17:12
Found a tool to show libraries hiawatha tries to load:
otool -L sbin/hiawatha
sbin/hiawatha:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/local/lib/hiawatha/libpolarssl.2.dylib (compatibility version 2.0.0, current version 1.2.8)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.8.0)
/usr/lib/libxslt.1.dylib (compatibility version 3.0.0, current version 3.26.0)
This topic has been closed.