'2025/04'에 해당되는 글 1건

macos Catalina 에 php 5.6을 설치하는중 libzip 에서 다운로드 오류가 발생함.

 

$ brew search php

$ brew install shivammathur/php/php@5.6

ellords-Mac-book:~ ellord$ brew search php
==> Formulae
brew-php-switcher                        shivammathur/php/php@7.2-zts
php                                      shivammathur/php/php@7.3
php-code-sniffer                         shivammathur/php/php@7.3-debug
php-cs-fixer                             shivammathur/php/php@7.3-debug-zts
php@8.1                                  shivammathur/php/php@7.3-zts
php@8.2                                  shivammathur/php/php@7.4
php@8.3                                  shivammathur/php/php@7.4-debug
phpbrew                                  shivammathur/php/php@7.4-debug-zts
phpmd                                    shivammathur/php/php@7.4-zts
phpmyadmin                               shivammathur/php/php@8.0
phpstan                                  shivammathur/php/php@8.0-debug
phpunit                                  shivammathur/php/php@8.0-debug-zts
shivammathur/php/autoconf@2.69           shivammathur/php/php@8.0-zts
shivammathur/php/bison@2.7               shivammathur/php/php@8.1
shivammathur/php/php                     shivammathur/php/php@8.1-debug
shivammathur/php/php-debug               shivammathur/php/php@8.1-debug-zts
shivammathur/php/php-debug-zts           shivammathur/php/php@8.1-zts
shivammathur/php/php-zts                 shivammathur/php/php@8.2
shivammathur/php/php@5.6                 shivammathur/php/php@8.2-debug
shivammathur/php/php@5.6-debug           shivammathur/php/php@8.2-debug-zts
shivammathur/php/php@5.6-debug-zts       shivammathur/php/php@8.2-zts
shivammathur/php/php@5.6-zts             shivammathur/php/php@8.3
shivammathur/php/php@7.0                 shivammathur/php/php@8.3-debug
shivammathur/php/php@7.0-debug           shivammathur/php/php@8.3-debug-zts
shivammathur/php/php@7.0-debug-zts       shivammathur/php/php@8.3-zts
shivammathur/php/php@7.0-zts             shivammathur/php/php@8.5
shivammathur/php/php@7.1                 shivammathur/php/php@8.5-debug
shivammathur/php/php@7.1-debug           shivammathur/php/php@8.5-debug-zts
shivammathur/php/php@7.1-debug-zts       shivammathur/php/php@8.5-zts
shivammathur/php/php@7.1-zts             pop
shivammathur/php/php@7.2                 pup
shivammathur/php/php@7.2-debug           pcp
shivammathur/php/php@7.2-debug-zts

==> Casks
eclipse-php                phpstorm                   pop
ellords-Mac-book:~ ellord$ brew install shivammathur/php/php@5.6

 

 

libzip 다운로드시 다음과 같은 에러 발생하고 종료됨.

==> Fetching libzip
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/24d43afff04bfdbc72fde2b7ac2
############################################################################################# 100.0%
==> Downloading https://libzip.org/download/libzip-1.11.3.tar.xz
##O=#  #                                                                                           
curl: (35) error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure
Error: php@5.6: Failed to download resource "libzip"
Download failed: https://libzip.org/download/libzip-1.11.3.tar.xz

 

macports 를 이용하여 libzip만 수동으로 설치함.

 

아래 사이트에서 Catalina버전용 macports 를 설치함.

 

https://guide.macports.org/chunked/installing.macports.html

 

macports 설치 후 다른 터미널 창을 하나 열어서 libzip 설치함.

 

$ sudo port install libzip

ellords-Mac-book:~ ellord$ sudo port install libzip
Password:
--->  Computing dependencies for libzip
The following dependencies will be installed: 
 bzip2
 zlib
Continue? [Y/n]: Y
--->  Fetching archive for bzip2
--->  Attempting to fetch bzip2-1.0.8_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/bzip2
--->  Attempting to fetch bzip2-1.0.8_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/bzip2
--->  Installing bzip2 @1.0.8_0
--->  Activating bzip2 @1.0.8_0
--->  Cleaning bzip2
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.3.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/zlib
--->  Attempting to fetch zlib-1.3.1_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/zlib
--->  Installing zlib @1.3.1_0
--->  Activating zlib @1.3.1_0
--->  Cleaning zlib
--->  Fetching archive for libzip
--->  Attempting to fetch libzip-1.11.3_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libzip
--->  Attempting to fetch libzip-1.11.3_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libzip
--->  Installing libzip @1.11.3_0
--->  Activating libzip @1.11.3_0
--->  Cleaning libzip
--->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: libzip @1.11.3
Continue? [Y/n]: Y
--->  Computing dependencies for libzip
--->  Cleaning libzip
--->  Scanning binaries for linking errors
--->  Found 2 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     libzip @1.11.3_0
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.17_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.17_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libiconv
--->  Installing libiconv @1.17_0
--->  Activating libiconv @1.17_0
--->  Cleaning libiconv
--->  Computing dependencies for gettext-runtime
--->  Fetching archive for gettext-runtime
--->  Attempting to fetch gettext-runtime-0.22.5_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/gettext-runtime
--->  Attempting to fetch gettext-runtime-0.22.5_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/gettext-runtime
--->  Installing gettext-runtime @0.22.5_0
--->  Activating gettext-runtime @0.22.5_0
--->  Cleaning gettext-runtime
--->  Computing dependencies for xz
--->  Fetching archive for xz
--->  Attempting to fetch xz-5.6.4_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/xz
--->  Attempting to fetch xz-5.6.4_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/xz
--->  Installing xz @5.6.4_0
--->  Activating xz @5.6.4_0
--->  Cleaning xz
--->  Fetching archive for libcxx
--->  Attempting to fetch libcxx-5.0.1_5.any_any.noarch.tbz2 from https://packages.macports.org/libcxx
--->  Attempting to fetch libcxx-5.0.1_5.any_any.noarch.tbz2.rmd160 from https://packages.macports.org/libcxx
--->  Installing libcxx @5.0.1_5
--->  Activating libcxx @5.0.1_5
--->  Cleaning libcxx
--->  Fetching archive for brotli
--->  Attempting to fetch brotli-1.1.0_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/brotli
--->  Attempting to fetch brotli-1.1.0_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/brotli
--->  Installing brotli @1.1.0_0
--->  Activating brotli @1.1.0_0
--->  Cleaning brotli
--->  Fetching archive for nghttp2
--->  Attempting to fetch nghttp2-1.65.0_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/nghttp2
--->  Attempting to fetch nghttp2-1.65.0_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/nghttp2
--->  Installing nghttp2 @1.65.0_0
--->  Activating nghttp2 @1.65.0_0
--->  Cleaning nghttp2
--->  Computing dependencies for libunistring
--->  Fetching archive for libunistring
--->  Attempting to fetch libunistring-1.3_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libunistring
--->  Attempting to fetch libunistring-1.3_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libunistring
--->  Installing libunistring @1.3_0
--->  Activating libunistring @1.3_0
--->  Cleaning libunistring
--->  Computing dependencies for libidn2
--->  Fetching archive for libidn2
--->  Attempting to fetch libidn2-2.3.8_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libidn2
--->  Attempting to fetch libidn2-2.3.8_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libidn2
--->  Installing libidn2 @2.3.8_0
--->  Activating libidn2 @2.3.8_0
--->  Cleaning libidn2
--->  Computing dependencies for libpsl
--->  Fetching archive for libpsl
--->  Attempting to fetch libpsl-0.21.5-20240306_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libpsl
--->  Attempting to fetch libpsl-0.21.5-20240306_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libpsl
--->  Installing libpsl @0.21.5-20240306_0
--->  Activating libpsl @0.21.5-20240306_0
--->  Cleaning libpsl
--->  Computing dependencies for openssl3
--->  Fetching archive for openssl3
--->  Attempting to fetch openssl3-3.4.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/openssl3
--->  Attempting to fetch openssl3-3.4.1_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/openssl3
--->  Installing openssl3 @3.4.1_0
--->  Activating openssl3 @3.4.1_0
--->  Cleaning openssl3                                  
--->  Computing dependencies for openssl
--->  Fetching archive for openssl
--->  Attempting to fetch openssl-3_22.darwin_19.x86_64.tbz2 from https://packages.macports.org/openssl
--->  Attempting to fetch openssl-3_22.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/openssl
--->  Installing openssl @3_22
--->  Activating openssl @3_22
--->  Cleaning openssl                                   
--->  Fetching archive for curl-ca-bundle
--->  Attempting to fetch curl-ca-bundle-8.12.1_0.any_any.noarch.tbz2 from https://packages.macports.org/curl-ca-bundle
--->  Attempting to fetch curl-ca-bundle-8.12.1_0.any_any.noarch.tbz2.rmd160 from https://packages.macports.org/curl-ca-bundle
--->  Installing curl-ca-bundle @8.12.1_0
--->  Activating curl-ca-bundle @8.12.1_0
--->  Cleaning curl-ca-bundle
--->  Fetching archive for lz4
--->  Attempting to fetch lz4-1.10.0_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/lz4
--->  Attempting to fetch lz4-1.10.0_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/lz4
--->  Installing lz4 @1.10.0_0
--->  Activating lz4 @1.10.0_0
--->  Cleaning lz4
--->  Computing dependencies for zstd
--->  Fetching archive for zstd
--->  Attempting to fetch zstd-1.5.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/zstd
--->  Attempting to fetch zstd-1.5.6_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/zstd
--->  Installing zstd @1.5.6_0
--->  Activating zstd @1.5.6_0
--->  Cleaning zstd
--->  Computing dependencies for curl
--->  Fetching archive for curl
--->  Attempting to fetch curl-8.12.1_0+brotli+http2+idn+psl+ssl+zstd.darwin_19.x86_64.tbz2 from https://packages.macports.org/curl
--->  Attempting to fetch curl-8.12.1_0+brotli+http2+idn+psl+ssl+zstd.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/curl
--->  Installing curl @8.12.1_0+brotli+http2+idn+psl+ssl+zstd
--->  Activating curl @8.12.1_0+brotli+http2+idn+psl+ssl+zstd
--->  Cleaning curl                                      
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.6.4_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/expat
--->  Attempting to fetch expat-2.6.4_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/expat
--->  Installing expat @2.6.4_0
--->  Activating expat @2.6.4_0
--->  Cleaning expat
--->  Fetching archive for icu
--->  Attempting to fetch icu-76.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/icu
--->  Attempting to fetch icu-76.1_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/icu
--->  Installing icu @76.1_0
--->  Activating icu @76.1_0
--->  Cleaning icu                                       
--->  Computing dependencies for libxml2
--->  Fetching archive for libxml2
--->  Attempting to fetch libxml2-2.13.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libxml2
--->  Attempting to fetch libxml2-2.13.6_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libxml2
--->  Installing libxml2 @2.13.6_0
--->  Activating libxml2 @2.13.6_0
--->  Cleaning libxml2
--->  Fetching archive for lzo2
--->  Attempting to fetch lzo2-2.10_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/lzo2
--->  Attempting to fetch lzo2-2.10_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/lzo2
--->  Installing lzo2 @2.10_0
--->  Activating lzo2 @2.10_0
--->  Cleaning lzo2
--->  Fetching archive for libb2
--->  Attempting to fetch libb2-0.98.1_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/libb2
--->  Attempting to fetch libb2-0.98.1_1.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libb2
--->  Installing libb2 @0.98.1_1
--->  Activating libb2 @0.98.1_1
--->  Cleaning libb2
--->  Computing dependencies for libarchive
--->  Fetching archive for libarchive
--->  Attempting to fetch libarchive-3.7.9_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/libarchive
--->  Attempting to fetch libarchive-3.7.9_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/libarchive
--->  Installing libarchive @3.7.9_0
--->  Activating libarchive @3.7.9_0
--->  Cleaning libarchive
--->  Fetching archive for ncurses
--->  Attempting to fetch ncurses-6.5_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/ncurses
--->  Attempting to fetch ncurses-6.5_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/ncurses
--->  Installing ncurses @6.5_0
--->  Activating ncurses @6.5_0
--->  Cleaning ncurses                                   
--->  Computing dependencies for cmake
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.31.3_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/cmake
--->  Attempting to fetch cmake-3.31.3_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/cmake
--->  Installing cmake @3.31.3_0
--->  Activating cmake @3.31.3_0
--->  Cleaning cmake                                     
--->  Fetching archive for gmp
--->  Attempting to fetch gmp-6.3.0_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/gmp
--->  Attempting to fetch gmp-6.3.0_0.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/gmp
--->  Installing gmp @6.3.0_0
--->  Activating gmp @6.3.0_0
--->  Cleaning gmp
--->  Computing dependencies for coreutils
--->  Fetching archive for coreutils
--->  Attempting to fetch coreutils-9.5_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/coreutils
--->  Attempting to fetch coreutils-9.5_1.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/coreutils
--->  Installing coreutils @9.5_1
--->  Activating coreutils @9.5_1
--->  Cleaning coreutils                                 
--->  Computing dependencies for libzip
--->  Fetching distfiles for libzip
--->  Attempting to fetch libzip-1.11.3.tar.xz from https://distfiles.macports.org/libzip
--->  Verifying checksums for libzip
--->  Extracting libzip
--->  Configuring libzip
--->  Building libzip                                    
--->  Staging libzip into destroot                       
--->  Deactivating libzip @1.11.3_0                      
--->  Cleaning libzip
--->  Uninstalling libzip @1.11.3_0
--->  Cleaning libzip
--->  Computing dependencies for libzip
--->  Installing libzip @1.11.3_0
--->  Activating libzip @1.11.3_0
--->  Cleaning libzip
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  cmake has the following notes:
    The CMake GUI and Docs are now provided as subports 'cmake-gui' and
    'cmake-docs', respectively.
  coreutils has the following notes:
    The tools provided by GNU coreutils are prefixed with the character 'g' by
    default to distinguish them from the BSD commands.
    For example, cp becomes gcp and ls becomes gls.
    
    If you want to use the GNU tools by default, add this directory to the front
    of your PATH environment variable:
        /opt/local/libexec/gnubin/
  libpsl has the following notes:
    libpsl API documentation is provided by the libpsl-docs port.
ellords-Mac-book:~ ellord$

 

 

 

 

 

 

'Mac' 카테고리의 다른 글

macOs 10.15.7 catalina php7.4 upgrade 성공기  (0) 2024.06.15
OSX Mojave freetype install error  (0) 2023.03.18
Change OSX ssh port 맥OS ssh 포트 변경  (0) 2022.11.04
OSX mariadb 설치  (0) 2022.04.21
osx apache httpd는 어디에 설치?  (0) 2022.04.21
블로그 이미지

엘로드넷

,