[MacPorts] #46984: user port commands (i.e., without "sudo") fail because of incompatible version of tcsh8.5.dylib

MacPorts noreply at macports.org
Fri Feb 27 01:00:38 PST 2015


#46984: user port commands (i.e., without "sudo") fail because of incompatible
version of tcsh8.5.dylib
------------------------------+--------------------------------
  Reporter:  allison.strom@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  base             |    Version:  2.3.3
Resolution:  invalid          |   Keywords:
      Port:                   |
------------------------------+--------------------------------
Changes (by cal@…):

 * keywords:  tcl8.5 =>
 * status:  new => closed
 * resolution:   => invalid


Old description:

> 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

New description:

 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
 }}

--

Comment:

 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 set `DYLD_LIBRARY_PATH` on OS X for regular usage. Please unset it.

-- 
Ticket URL: <https://trac.macports.org/ticket/46984#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list