[MacPorts] #59019: libgcrypt @1.8.5 fails to install a sym-link for apple-gcc42 on PPC Mac OS X, Tiger

MacPorts noreply at macports.org
Wed Sep 11 18:52:48 UTC 2019


#59019: libgcrypt @1.8.5 fails to install a sym-link for apple-gcc42 on PPC Mac OS
X, Tiger
-----------------------+-----------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.5.4
 Keywords:  tiger      |       Port:  libgcrypt
-----------------------+-----------------------
 When I try to upgrade any port that is built with GCC 4.2 `config.log`
 will contain something like this:

 {{{
 configure:3992: /opt/local/bin/gcc-apple-4.2 -pipe -Os -arch ppc
 -I/opt/local/include -I/opt/local/include/db48 -L/opt/local/lib
 -Wl,-headerpad_max_install_names -L/opt/local/lib/db48 -arch ppc
 conftest.c  >&5
 collect2: ld terminated with signal 5 [Trace/BPT trap], core dumped
 dyld: Library not loaded: /opt/local/lib/libcrypto.1.0.0.dylib
   Referenced from: /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-
 darwin8/4.2.4/ld
   Reason: image not found
 }}}

 The reason is here:

 {{{
 root 332 /\ otool -L /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-
 darwin8/4.2.4/ld
 /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld:
         /opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.4.0)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.1.12)
 root 333 /\ l /opt/local/lib/libcrypto.1.0.0.dylib
 ls: /opt/local/lib/libcrypto.1.0.0.dylib: No such file or directory
 root 334 /\ l /opt/local/lib/libcrypto*
 -rwxr-xr-x   1 root  admin  2088872 11 Sep 13:49
 /opt/local/lib/libcrypto.1.1.dylib
 -rw-r--r--   1 root  admin  4074080 11 Sep 13:49
 /opt/local/lib/libcrypto.a
 lrwxr-xr-x   1 root  admin       19 11 Sep 14:22
 /opt/local/lib/libcrypto.dylib -> libcrypto.1.1.dylib
 }}}

 No `/opt/local/lib/libcrypto.1.0.0.dylib`.

 I created a sym-link `/opt/local/lib/libcrypto.1.0.0.dylib` pointing to
 `/opt/local/lib/libcrypto.1.1.dylib`. `/opt/local/libexec/apple-gcc42/gcc
 /powerpc-apple-darwin8/4.2.4/ld` seems to work until now …

-- 
Ticket URL: <https://trac.macports.org/ticket/59019>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list