After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632592 - unknown required load command 0x80000022
unknown required load command 0x80000022
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: Native Mac OSX
2.0.2
Other Mac OS
: Normal critical
: 2.2.4
Assigned To: Olivier Sessink
Depends on:
Blocks:
 
 
Reported: 2010-10-19 19:30 UTC by Marty
Modified: 2013-02-05 21:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marty 2010-10-19 19:30:19 UTC
Bluefish crashes on start with "unknown required load command 0x80000022"

under X11 it works fine (MacPorts)
Comment 1 Olivier Sessink 2010-10-21 07:05:31 UTC
which version of osx are you using?
Comment 2 Marty 2010-10-21 10:30:46 UTC
OSX 10.5.8 
Note: WITHOUT Spotlight !
Comment 3 Olivier Sessink 2010-10-21 12:16:30 UTC
the binary is created on OSX 10.6. There have been various reports that this bluefish binary will not run on older versions. Unfortunately I have no access to OSX 10.4 or 10.5...
Comment 4 Daniel Macks 2010-10-23 16:50:24 UTC
Marty, could you clarify if you are using a prebuilt binary (and if so where you got it) vs compiling from source on your 10.5 machine?
Comment 5 Marty 2010-10-24 16:44:57 UTC
bluefish 2.0.1

This Version of Bluefish was build with:
./configure  '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--sysconfdir=/opt/local/etc' '--with-icon-path=/opt/local/share/pixmaps' '--without-freedesktop_org-menu' '--without-freedesktop_org-mime' '--without-gnome2_4-mime' '--without-gnome2_4-appreg' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-pipe -O2 -arch i386' 'LDFLAGS=-L/opt/local/lib -arch i386' 'CPPFLAGS=-I/opt/local/include'

is this information sufficiently ?
Comment 6 Marty 2010-10-24 16:49:36 UTC
i get this with macports
ver.: bluefish @2.0.1_0

Details come from this Site: http://trac.macports.org/browser/trunk/dports/editors/bluefish/Portfile

1	# $Id$
2	
3	PortSystem              1.0
4	
5	name                    bluefish
6	conflicts               bluefish-devel
7	version                 2.0.1
8	categories              editors www
9	platforms               darwin
10	maintainers             nomaintainer
11	homepage                http://bluefish.openoffice.nl/
12	description             A powerful editor for web designers
13	
14	long_description        Bluefish is a powerful editor for experienced web designers and \
15	                        programmers. Bluefish supports many programming and markup languages \
16	                        but it focuses on editing dynamic and interactive websites.
17	
18	dist_subdir             bluefish
19	distname                bluefish-${version}
20	
21	master_sites            sourceforge:bluefish \
22	                        http://www.bennewitz.com/bluefish/stable/source/
23	
24	checksums               md5     9b672411369bd580421f832214bf65b3 \
25	                        sha1    5e00afd98cc65b41140188525031bba39c196e91 \
26	                        rmd160  86d0aa91faf0dbeef2d15d258005513defd746c2
27	
28	use_bzip2               yes
29	
30	depends_lib             port:gtk2 \
31	                        port:libxml2 \
32	                        port:enchant \
33	                        port:pcre
34	
35	configure.args          --mandir=${prefix}/share/man \
36	                        --infodir=${prefix}/share/info \
37	                        --sysconfdir=${prefix}/etc \
38	                        --with-icon-path=${prefix}/share/pixmaps \
39	                        --without-freedesktop_org-menu \
40	                        --without-freedesktop_org-mime \
41	                        --without-gnome2_4-mime \
42	                        --without-gnome2_4-appreg
43	
44	destroot.destdir        DESTDIR=${destroot}
45	
46	variant nosplash {
47	    configure.args-append --disable-splash-screen
48	}
49	
50	variant no_spellcheck description {Disable spell-check feature} {
51	    depends_lib-delete port:enchant
52	    configure.args-append --disable-spell-check
53	}
54	
55	if {![variant_isset no_spellcheck]} {
56	    # enchant is not universal
57	    universal_variant no
58	}
59	
60	variant tidy {
61	    depends_run bin:tidy:tidy
62	}
Comment 7 Marty 2010-10-24 16:54:39 UTC
Note: Version 2.0.1.0 compiled and installed with MacPorts 1.9.1 works fine.
Comment 8 Daniel Macks 2010-10-29 12:20:25 UTC
Googling around suggests the "unknown load command" error is a symptom of a binary built on 10.X being run in 10.(less-than-X) when the binary has not specifically been built for backward compatibility. Building on one's own system is obviously not going to have this situation because the compiler assumes the local system is what it is:) The manpage for ld has at least one that sounds likely:

     -macosx_version_min version
                 This is set to indicate the oldest Mac OS X version that that
                 the output is to be used on.  Specifying a later version
                 enables the linker to assumes features of that OS in the out-
                 put file.  The format of version is a Mac OS X version number
                 such as 10.4 or 10.5

So if bluefish is distributing binaries, it might want to build them with "-macosx_version_min 10.5" (I think it's an LDFLAGS or some similar variable?). That would allow users of current and "previous" OS X to use it. 10.4...meh, even apple doesn't seem to provide updates for that years-obsolete thing, and the higher you set your minimum the more features the linker can take advantage of.
Comment 9 pf_moll 2010-10-30 13:07:25 UTC
To get it working under OSX 10.5, change the following line in confix.osxapp:

CFLAGS="-g -Wall -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -O2 -DOSXAPP -DRELPLUGINPATH=\\\"../Resources\\\""

Where it says 10.6 change that to 10.5. Then recompile. It will then both work under 10.5 & 10.6.
Comment 10 Olivier Sessink 2011-07-24 18:15:26 UTC
the 2.0.3 package should work on 10.5 and 10.6, can we close this bug?
Comment 11 Akhil Laddha 2011-09-07 06:58:12 UTC
Marty, can you confirm that issue has been fixed ?
Comment 12 Akhil Laddha 2011-10-21 05:33:52 UTC
Please feel free to reopen this bug if the problem still occurs with a newer
version of bluefish.