Error after trying to upgrade installed

Rainer Müller raimue at macports.org
Sun Jan 18 15:46:45 PST 2009


Doctor Who wrote:
> I have MacPorts 1.7.0 installed.  I did a 'sudo port outdated' and had
> 5 or 6 ports that needed updating.  I then ran a 'sudo port upgrade
> outdated' and it failed after a while with errors like:
> 
> sudo port upgrade outdated
> --->  Deactivating gettext @0.17_3
> Error: Deactivating gettext 0.17_3 failed:
> --->  Activating perl5.8 @5.8.9_2
> Error: Activating perl5.8 @5.8.9_2 failed: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/touch
>   Reason: image not found
> --->  Deactivating gettext @0.17_3
> Error: Deactivating gettext 0.17_3 failed:
> Error: Unable to upgrade port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to upgrade port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to upgrade port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to upgrade port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> --->  Deactivating gettext @0.17_3
> Error: Deactivating gettext 0.17_3 failed:
> --->  Activating perl5.8 @5.8.9_2
> Error: Activating perl5.8 @5.8.9_2 failed: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/touch
>   Reason: image not found
> Error: Unable to exec port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found
> Error: Unable to upgrade port: dyld: Library not loaded:
> /opt/local/lib/libintl.8.dylib
>   Referenced from: /opt/local/bin/ln
>   Reason: image not found

Looks like you have coreutils +with_default_names installed, but you
broke it. /opt/local/lib/libintl.8.dylib is provided by gettext, but for
some reason it seems not to be active.

Try to fix it by
  sudo port activate gettext

Rainer


More information about the macports-users mailing list