can't prebind

rezba

simpleutilisateurpuissant
Today I launched MOXoptimize (v.17.5.) to prebind my OS.
I got this message :


An exception of class
NilObjectException was not handled.
The application must shut down

I went to the terminal, did a manual update, and got only the usage dialog :

[localhost:~] rezba% update_prebinding -root
2002-07-10 14:51:36.288 update_prebinding[493] Start of update_prebinding
usage: update_prebinding {-debug} {-verbose} {-force} {-root <dir>}
(-pkgs (<pkg> <instroot>)* ) | (-files file1 file2 ...)
Calls redo_prebinding on executables and libraries in dependency order
-verbose: display additional status and warning messages
-force: prebind even if the file is otherwise up-to-date
-debug: don't actually try to redo the prebinding for any files
-pkgs: specifies package/install root pairs of changed files that require prebinding to be redone.
-root: specifies the directory to be searched for dependent libraries
If neither -pkgs or -file is specified, all libraries and executables in -root are prebound.

Tried a forced prebind, and got this :

[localhost:~] rezba% update_prebinding -force -root
2002-07-10 14:51:56.871 update_prebinding[494] Start of update_prebinding
2002-07-10 14:51:56.871 update_prebinding[494] *** Uncaught exception: <NSInvalidArgumentException> [NSPlaceholderString initWithUTF8String:]: NULL cString


Does anyone know what's happening ?
 
I don't know if it will help or not but MOX Optimize is up to version 1.7.8. Might make all the difference to update to the latest version... Might not change a thing to update to the latest version...:)
 
Maybe you're forgetting to tell the prebinding command what directories to look in. Try this from the terminal:

sudo update_prebinding -root /

That should work every time. Make sure Terminal is the only thing running. Works best after a fresh restart and nothing else running. Don't forget the slash at the end either -- that'll make it search the entire partition for things to prebind. Also, don't forget the "sudo" at the beginning -- normal users and administrators can't run the prebinding command.
 
right, eldiablo. And it works with the good syntax. Thanks.
I still don't know where the exception of class Mox found come from.
 
Back
Top