Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8808781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:42:28+00:00 2026-06-14T02:42:28+00:00

I have uninstall port from Mac with this comand: sudo port -fp uninstall installed

  • 0

I have uninstall port from Mac with this comand:

sudo port -fp uninstall installed

Then when I use wget to download file,it shows me:

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/bin/wget
  Reason: Incompatible library version: wget requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
Trace/BPT trap: 5

How to do?

※ Mac OS X 10.7.5

Addition

When I run

otool -L $(which wget)

It gave me

/opt/local/bin/wget:
    /opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
    /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 635.19.0)
    /opt/local/lib/libgnutls.26.dylib (compatibility version 49.0.0, current version 49.3.0)
    /opt/local/lib/libtasn1.3.dylib (compatibility version 5.0.0, current version 5.13.0)
    /opt/local/lib/libgcrypt.11.dylib (compatibility version 19.0.0, current version 19.0.0)
    /opt/local/lib/libgpg-error.0.dylib (compatibility version 9.0.0, current version 9.0.0)
    /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.7)
    /opt/local/lib/libidn.11.dylib (compatibility version 18.0.0, current version 18.8.0)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:42:29+00:00Added an answer on June 14, 2026 at 2:42 am

    Apparently you built and installed a copy of wget locally while you had libiconv installed from MacPorts so it dynamically links to that library which you’ve now removed. If you want to remove all traces of MacPorts, you’ll need to rebuild that copy of wget.

    Otherwise, you could install a copy of wget with MacPorts which will also install all dependencies like libiconv.

    sudo port selfupdate
    sudo port clean wget
    sudo port install wget
    

    Or, instead of wget, you could use curl which Apple supplies with OS X.

    UPDATE: Based on your update, it appears you are using a MacPorts-installed wget. Somehow you’ve managed to get the dependencies out of sync. (Why use port -fp uninstall installed ?) Suggest you now try:

    sudo port selfupdate     # if not run recently   
    sudo port clean libiconv
    sudo port upgrade --force libiconv
    

    to force an upgrade of libiconv to the current version.

    UPDATE [2014-12]: Revisiting this, the problem may also be due to an incomplete MacPorts port file that doesn’t register the wget port dependency on libiconv. I’ve opened an issue about it. […] And the MacPorts project answers that this may be a result of not following the MacPorts migration instructions when upgrading to a new release of OS X; there is a MacPorts problem hotlist entry for libiconv compatibilities here.

    In any case, what may work is to reinstall wget from source.

    sudo port selfupdate
    sudo port -f uninstall wget
    sudo port -s install wget
    

    If that doesn’t help, you may want to read the migration instructions and make sure you’ve re-installed all your ports after upgrading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have uninstall the Android plugin from the eclipse by going to help then
I have several programs I want to uninstall from my computer (Windows 7 64bit).
If I already have XCode and IB installed on my system, if I download
Have some problems with NSIS uninstall code. RMDir /r $SMPROGRAMS\${PRODUCT_NAME} In Windows 7 this
I need to uninstall previous version if installed already. I have a NSIS script.
I have a .NET deployment project. I would like to add a custom uninstall
Has anyone else experienced this? I have uninstalled and reinstalled TortoiseSVN as well as
have written this little class, which generates a UUID every time an object of
have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
I need to programatically uninstall all Com port devices. The issue is that these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.