FS#9563 - RButil 1.0.7 for MacOSX does not appear to be statically linked

Attached to Project: Rockbox
Opened by Darren Bown (Rogue_leader) - Wednesday, 19 November 2008, 14:06 GMT
Last edited by Marc Guay (Marc_Guay) - Tuesday, 30 December 2008, 20:46 GMT
Task Type Bugs
Category Rbutil
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


System information:
MacBook Pro, Mac OS X 10.5.4

App version: 1.0.7 SVN $Revision 18654 (m1.0.7)

Steps to to reproduce:
Run Mac Binary

rbutilqt application is launched

App crashes with following report:

Process: rbutilqt [5211]
Path: /Applications/
Identifier: com.rockbox.rbutil
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [143]

Date/Time: 2008-11-18 23:00:56.748 +0000
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6

Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/local/Trolltech/Qt-4.4.0/lib/QtGui.framework/Versions/4/QtGui
Referenced from: /Applications/
Reason: image not found
This task depends upon

Closed by  Marc Guay (Marc_Guay)
Tuesday, 30 December 2008, 20:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  Reopen if it happens again
Comment by Darren Bown (Rogue_leader) - Wednesday, 19 November 2008, 14:10 GMT
Sytem configuration tab output:

Model: MacBookPro4,1, BootROM MBP41.00C1.B00, 2 processors, Intel Core 2 Duo, 2.5 GHz, 2 GB
Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplays_pcie_device, 512 MB
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 (0x14E4, 0x8C), Broadcom BCM43xx 1.0 (
Bluetooth: Version 2.1.0f17, 2 service, 0 devices, 1 incoming serial ports
Network Service: Powered by launch2net, PPP (PPPSerial), ppp0
Network Service: Parallels Host-Guest, Ethernet, en2
Network Service: Parallels NAT, Ethernet, en3
Serial ATA Device: Hitachi HTS542525K9SA00, 232.89 GB
Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
USB Device: iPod, Apple, high_speed, 500 mA
USB Device: Built-in iSight, Apple Inc., high_speed, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., low_speed, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple, Inc., full_speed, 500 mA
USB Device: HUAWEI Mobile, HUAWEI Technologies, full_speed, 500 mA
USB Device: BCM2045B2, Broadcom, full_speed, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA
Comment by Dominik Wenger (Domonoky) - Thursday, 20 November 2008, 21:37 GMT
Yes, rbutil for mac is not build statically.
It uses the so called "Frameworks", which means the needed Qt librarys should be embedded in the dir.
I dont know why on your system it tries to use the system Qt librarys, and not the embedded ones.

Maybe you could check if those Qt libs really are somewhere in the dir.

Comment by Darren Bown (Rogue_leader) - Saturday, 22 November 2008, 11:14 GMT is dropped into my /Applications directory. I checked the package contents and I can't see any reference to Qt libraries. I've downloaded the same package five times now and the contents are exactly the same every time.

Have I missed a config step?
Comment by Dominik Wenger (Domonoky) - Monday, 24 November 2008, 21:44 GMT

the package should contain Qt libs under: and similar.

Unfortunatly i dont know whats wrong on your system.
Comment by Tom Ross (midgey34) - Thursday, 27 November 2008, 16:09 GMT
I just tried this on a brand new Macbook (Macbook4,1 10.5.5) and I was able to use Rbutil to install the bootloader on my iPod 4G just fine.
Comment by Darren Bown (Rogue_leader) - Thursday, 27 November 2008, 16:54 GMT
I checked again for the QT libs and they're definitely not there.

I'm going to try adding them manually later today, but this is definitely a bug of some sort.
Comment by Tom Ross (midgey34) - Friday, 12 December 2008, 06:29 GMT
I downloaded rbutilqt-v1.0.7.dmg from, mounted it and copied rbutil to my Applications folder. I then attempted to run rbutil and everything worked fine. I checked / and it includes QtCore.framework, QtGui.framework, and QtNetwork.framework.

Can you attach the exact rbutil you tried using on your Macbook? Does an of the program load or does it crash instantly?
Comment by Darren Bown (Rogue_leader) - Saturday, 27 December 2008, 13:22 GMT
I can't currenty do this, as Finder is not behaving (rbutilqt is greyout out in the the select file dialogue) and I can't submit forms in Firefox.

Just to let you know that this issue seems to have been resolved with version 1.0.8