#46984 closed defect (invalid)
user port commands (i.e., without "sudo") fail because of incompatible version of tcsh8.5.dylib — at Version 1
Reported by: | allison.strom@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: |
Description (last modified by neverpanic (Clemens Lang))
When trying to update my installation after upgrading to Yosemite, I encountered the following problem:
{{ # port -qv installed
dyld: Library not loaded: /opt/local/libexec/macports/lib/libtcl8.5.dylib
Referenced from: /opt/local/libexec/macports/bin/tclsh8.5 Reason: Incompatible library version: tclsh8.5 requires version 8.5.0 or later, but libtcl8.5.dylib provides version 0.0.0
Trace/BPT trap }}
When I attempt
{{ # sudo port -qv installed }}
however, it works. This occurs for every port command, but I am having trouble identifying the cause. The file exists, but appears not to have been installed with the most recent base (using the package installer) for Mavericks, which is perhaps the problem. However, when I try to upgrade using the source install as recommend here (https://guide.macports.org/chunked/installing.macports.upgrade.html), I encounter the same problem after attempting 'make':
{{ dyld: Library not loaded: /opt/local/libexec/macports/lib/libtcl8.5.dylib
Referenced from: /opt/local/libexec/macports/bin/tclsh8.5 Reason: Incompatible library version: tclsh8.5 requires version 8.5.0 or later, but libtcl8.5.dylib provides version 0.0.0
make[2]: * [install-libraries] Trace/BPT trap: 5 make[1]: * [destroot-tcllib] Error 2 make: * [all] Error 1 }}
Change History (1)
comment:1 Changed 10 years ago by neverpanic (Clemens Lang)
Description: | modified (diff) |
---|---|
Keywords: | tcl8.5 removed |
Resolution: | → invalid |
Status: | new → closed |
Please use WikiFormatting when posting in trac and preview your post. It seems you have
DYLD_LIBRARY_PATH
set in your environment, which is filtered by sudo automatically, because it is a setuid binary. You should never setDYLD_LIBRARY_PATH
on OS X for regular usage. Please unset it.