Monday 12 March 2012

HKL2000/3000 Error

From: Rajintha Bandaranayake
Date: 16 February 2012 22:33


Hello all, 

I'm trying set up the latest version of HKL-2000 to be able to work with .cbf files and I get the following error when trying to run it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HKL-3000 version 701c3
Checking program versions ...
Error: could not read denzo_3d program version.

Program output:
dyld: unknown required load command 0x80000022

In order to manually test the program run command:
/usr/local/bin/denzo_3d
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I've tried to run denzo_3d manually as the error suggests but get the same error. Just wanted to check if anyone else had encountered this error and if there's a fix for it. I'm running the software on Mac OS X 10.5.8.

Thanks in advance!

Best regards,
-Rajintha

----------
From: Tim Gruene

Hello Rajintha,

the binary denzo_3d is most likely not compatible with your operating
system / your computer architecture.

Can you send the output of the command
 file /usr/local/bin/denzo_3d
issued from the command line? My guess is that this will tell you the
binary is not for MacOSX or it is a 64bit binary which you are
attempting to run on a 32bit machine.

Tim
- --
- --
Dr Tim Gruene

----------
From: Ben Eisenbraun


Hello Rajintha,
Apple introduced a compressed linkedit loader section in Mach-O binary
headers in 10.6; that error is the OS X 10.5 loader not understanding the
header fields. You can verify this is the case if you have the Xcode
development package installed.

On a 10.5.8 machine, you'll get output like this:

 $ otool -l denzo_3d | grep -A10 "Load command 4"
Load command 4
     cmd ?(0x00000022) Unknown load command
 cmdsize 48
00000000 00000000 00234000 00000088 00000000 00000000 00234088 000006f8
00234780 00004828
Load command 5
    cmd LC_SYMTAB
 cmdsize 24
 symoff 2330536
  nsyms 6088
 stroff 2429640

And on a 10.6 machine it will look like this:

 $ otool -l denzo_3d | grep -A10 "Load command 4"
Load command 4
           cmd LC_DYLD_INFO
       cmdsize 48
    rebase_off 0
   rebase_size 0
      bind_off 2310144
     bind_size 136
 weak_bind_off 0
 weak_bind_size 0
 lazy_bind_off 2310280
 lazy_bind_size 1784

I have filed this exact bug report with HKL Software in the past. If you
wait long enough, they will usually compile a version that runs on 10.5
machines. The support email for HKL Software is support@hkl-xray.com. No
one here can help you.

Have you tried iMosflm?

-ben

--
| Ben Eisenbraun

No comments:

Post a Comment