Re: Library problem
Re: Library problem
- Subject: Re: Library problem
- From: Harald Hanche-Olsen <email@hidden>
- Date: Thu, 04 Sep 2008 08:02:58 +0200 (CEST)
+ dsp <email@hidden>:
> After upgrading from Mac OS 10.4.10 to Mac OS 10.5.4 and installing
> Xquartz 2.3.0, I get errors related to libutil.dylib.
Doesn't seem X11-related at all to me, but I'll try anyhow:
> perl
> dyld: Library not loaded: /usr/lib/libutil.dylib
> Referenced from: /usr/bin/perl
> Reason: Incompatible library version: perl requires version 1.0.0 or later,
> but libutil.dylib provides version
> 0.0.0
> Trace/BPT trap
>
> However, if I look, libutil does seem to exist:
>
> ls -l /usr/lib/libutil.dylib
> lrwxr-xr-x 1 root wheel 16 Sep 2 13:29 /usr/lib/libutil.dylib ->
> libutil1.0.dylib
>
> How do I correct this problem?
Apparently, /usr/lib/libutil1.0.dylib is missing or corrupt.
You could try this command:
; cksum /usr/lib/libutil1.0.dylib
3370680507 110592 /usr/lib/libutil1.0.dylib
If you get different output, you need to replace the bad library with
a good one. I expect it should be possible to dig it out of the
install disk without running a whole reinstallation, or you could just
ask some other mac owner for a copy of the file.
Further diagnostics:
; otool -L /usr/bin/perl
[...]
/usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0)
; otool -l /usr/lib/libutil.dylib
[... lots of output including ...]
Load command 3
cmd LC_ID_DYLIB
cmdsize 48
name /usr/lib/libutil.dylib (offset 24)
time stamp 1190594927 Mon Sep 24 02:48:47 2007
current version 1.0.0
compatibility version 1.0.0
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden