Нет правила для создания цели «/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h» при установке php 8.4.11Php

Кемеровские программисты php общаются здесь
Ответить
Anonymous
 Нет правила для создания цели «/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h» при установке php 8.4.11

Сообщение Anonymous »

Суббота, 29 ноября 2025 г.
По запросу @kakaiikaka:

Код: Выделить всё

$ /opt/homebrew/Cellar/openssl@3/3.6.0/bin/openssl version
OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025)

$ which openssl
/opt/homebrew/bin//openssl

$ /opt/homebrew/Cellar/openssl@3/3.6.0/bin/openssl version
OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025)

$ echo PKG_CONFIG_PATH = $PKG_CONFIG_PATH; \
> if [[ ":$PKG_CONFIG_PATH:" == *"$path_openssl:"* ]]; then \
>     echo path_openssl=$path_openssl;
>     echo already in; \
>     echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH; \
> else \
>    export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$path_openssl"; \
>    echo path_openssl=$path_openssl; \
>    echo added to; \
>    echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH; \
> fi
PKG_CONFIG_PATH = /opt/homebrew/opt/icu4c@77/lib/pkgconfig:/lib/pkgconfig:/opt/homebrew/Cellar/openssl@3/3.6.0/lib/pkgconfig
path_openssl=/opt/homebrew/Cellar/openssl@3/3.6.0/lib/pkgconfig
already in
PKG_CONFIG_PATH=/opt/homebrew/opt/icu4c@77/lib/pkgconfig:/lib/pkgconfig:/opt/homebrew/Cellar/openssl@3/3.6.0/lib/pkgconfig

$ pkg-config --cflags openssl
-I/opt/homebrew/Cellar/openssl@3/3.6.0/include

$ ./configure \
>     --prefix=$(brew --prefix php) \
>     --with-config-file-path=$(brew --prefix php)/lib/php.ini \
>     --enable-mbstring \
>     --with-curl \
>     --with-openssl \
>     --enable-soap \
>     --enable-intl \
>     --with-zlib \
>     --enable-bcmath \
>     --enable-shmop \
>     --enable-sysvsem \
>     --with-mysqli \
>     --with-pdo-mysql \
>     --enable-pcntl \
>     --enable-sockets \
>     --with-iconv=$(brew --prefix libiconv) \
>     ;
checking for grep that handles long lines and -e... /usr/bin/grep
...
config.status: executing default commands

+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE. By continuing this installation  |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

$ make -j8
/bin/sh /Users/jnorris/Downloads/php/php-8.4.11/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/opcache/ -I/Users/jnorris/Downloads/php/php-8.4.11/ext/opcache/ -I/Users/jnorris/Downloads/php/php-8.4.11/main -I/Users/jnorris/Downloads/php/php-8.4.11 -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib -I/opt/homebrew/Cellar/openssl@3/3.6.0/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/icu4c@77/77.1_1/include -I/opt/homebrew/Cellar/oniguruma/6.9.10/include -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl/mbfl -I/Users/jnorris/Downloads/php/php-8.4.11/TSRM -I/Users/jnorris/Downloads/php/php-8.4.11/Zend  -I/opt/homebrew/opt/icu4c@77/include -D_GNU_SOURCE  -fno-common -Wstrict-prototypes -Wformat-truncation -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -DZEND_SIGNALS    -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/jit/ir -DIR_TARGET_AARCH64 -DIR_PHP -DZEND_COMPILE_DL_EXT=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/opcache/shared_alloc_mmap.c -o ext/opcache/shared_alloc_mmap.lo  -MMD -MF ext/opcache/shared_alloc_mmap.dep -MT ext/opcache/shared_alloc_mmap.lo
...
make: *** No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h', needed by `ext/openssl/openssl.lo'.  Stop.
make: *** Waiting for unfinished jobs....
Обратите внимание: я использовал "...", чтобы указать, что я не сообщил о строках вывода, которые, по моему мнению, не имеют значения. В выводе ./configure было только одно предупреждение:

Код: Выделить всё

checking for -single_module linker flag...  ld: warning: -single_module is obsolete
yes
Поскольку окончательным результатом ./configure было «Спасибо за использование PHP»., я предполагаю, без особой веской причины, что это не критическая проблема.
Единственная другая потенциальная проблема — это двойное / в /opt/homebrew/bin//openssl из которого openssl, но опять же, я предполагаю, и считаю обоснованно, что это тоже не критично проблема.
Еще раз: любая помощь в этом вопросе будет большое спасибо!
Пн, 24 ноября 2025 г..
Libiconv решена/, поэтому я удалил его из Обновления от 17 ноября 2025 г..
Обновления от 17 ноября 2025 г.
Я реализовал предложения @kakaiikaka и @orbanbalage по отдельности и по одному, но безрезультатно. Я получил то же сообщение об ошибке, что и от начало:

Код: Выделить всё

make: *** No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h', needed by `ext/openssl/openssl.lo'.  Stop.
Я искал строку «3.4.1» — я пытаюсь скомпилировать, используя самую последнюю версию openssl 3.6.0 — мой исходный каталог PHP, и обнаружил, что она находится в файлах:

Код: Выделить всё

$ grep -RlIF "3.4.1" *
ext/ldap/tests/ldap_search_sort_controls.phpt
ext/mysqlnd/mysqlnd_auth.dep
ext/phar/util.dep
ext/soap/tests/soap12/soap12-test.wsdl
ext/openssl/openssl.dep
ext/openssl/xp_ssl.dep
ext/openssl/tests/openssl.cnf
ext/openssl/openssl_pwhash.dep
ext/openssl/openssl.dep
main/internal_functions_cli.dep
main/internal_functions.dep
php_test_results_20250927_1502.txt
php_test_results_20250929_1457.txt
, как мне сказали, является файлом «Windows Dependency», и поскольку я работаю на Mac, я не уверен, почему они здесь, если это то, чем на самом деле является .dep.
В любом случае я погуглил три файла с openssl в имени, чтобы попытаться узнать, какова их функция/назначение, и не смог ничего найти.
Все в трёх из них было много строк типа:

Код: Выделить всё

  /opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h \

Думая, что они каким-то образом используются ./configure и жестко связаны с ```/opt/homebrew/Cellar/openssl@3/3.4.1/bin/``, я заменил "3.4.1" на "3.6.0", но это, похоже, не дало никакого эффекта.
Итак, я снова совершенно запутался.
Обновление, суббота, 8 ноября 2025 г.
По запросу @orbanbalage:

Код: Выделить всё

$ brew list -1 | grep openssl
openssl@3

$ ls -l $(where openssl)
ls: directory: No such file or directory
ls: file: No such file or directory
ls: No: No such file or directory
ls: openssl:: No such file or directory
ls: or: No such file or directory
ls: such: No such file or directory
В ожидании: путь к openssl@3 — /opt/homebrew/Cellar/openssl@3, и он содержит 3.6.0/.
Обновление от пятницы, 31 октября 2025 г.
По предложению @jared_marot, у меня есть
  • Обновил $PATH, чтобы:

Код: Выделить всё

$ echo $PATH
/opt/homebrew/bin/:/opt/homebrew/Cellar/openssl@3/3.6.0/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql:/opt/homebrew/sbin:/opt/homebrew/bin:/opt/homebrew/opt/libxml2/
  • Изменено

Код: Выделить всё

--with-openssl=/opt/homebrew/Cellar/openssl@3/3.6.0/
кому:

Код: Выделить всё

--with-openssl=3.6.0/bin/
чтобы мой .configure теперь был:

Код: Выделить всё

./configure
--prefix=/usr/local/php \
--with-config-file-path=$path_php/lib/php.ini \
--enable-mbstring \
--with-curl \
--with-openssl=/opt/homebrew/Cellar/openssl@3/3.6.0/bin/ \
--enable-soap \
--enable-intl \
--with-zlib \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--with-mysqli \
--with-pdo-mysql \
--enable-pcntl \
--enable-sockets \
--with-iconv=$(brew --prefix libiconv) \
;
безрезультатно. При выдаче: Я снова получаю:

Код: Выделить всё

make: *** No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h', needed by `ext/openssl/openssl.lo'.   Stop.
Обратите внимание на 3.4.1 в ошибке — до того, как я внес рекомендованные изменения, это была 3.6.0.
@jared_marot запросил мой php.ini:

Код: Выделить всё

set_include_path('/Users/[user]/pear');
extension=phar.so
display_errors = On
display_startup_errors = On
error_reporting = E_ALL
zend.exception_string_param_max_len = 128
error_prepend_string = "
"
error_append_string = ""
html_errors = On

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear

;***** Added by go-pear
include_path=".:/usr/local/pear/share/pear:/usr/local/php/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear:/usr/local/pear/share/pear"
;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****

;*****
Я понятия не имею, что означают повторяющиеся ;***** Добавлено go-pear и ;***** и почему /usr/local/pear/share/pear повторяется бесчисленное количество раз в инструкции include_path=.
Я удалил все ;***** Добавлено go-pear и ;***** и все, кроме одного экземпляра /usr/local/pear/share/pear, поэтому php.ini теперь выглядит просто:

Код: Выделить всё

extension=phar.so
display_errors = On
display_startup_errors = On
error_reporting = E_ALL
zend.exception_string_param_max_len = 128
error_prepend_string = "
"
error_append_string = ""
html_errors = On
include_path=".:/usr/local/pear/share/pear"
и снова запустил свой скрипт и получил то же сообщение об ошибке, что и выше.
Обновление от 16 октября 2025 г.
Я обновил свой $PATH:

Код: Выделить всё

$ echo $PATH
/opt/homebrew/bin/:/opt/homebrew/opt/openssl@3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql:/opt/homebrew/sbin:/opt/homebrew/bin:/opt/homebrew/opt/libxml2/
поэтому /opt/homebrew/bin/ и /opt/homebrew/opt/openssl@3 появляются прежде всего.
а теперь:

Код: Выделить всё

$ openssl version
OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025)
Я также обновил свой ./configure до --with-openssl=/opt/homebrew/Cellar/openssl@3/3.6.0/:

Код: Выделить всё

./configure
--prefix=/Users/jnorris/Downloads/php/php-8.4.11/
--with-config-file-path=/Users/jnorris/Downloads/php/php-8.4.11/lib/php.ini
--enable-mbstring
--with-curl
--with-openssl=/opt/homebrew/Cellar/openssl@3/3.6.0/
--enable-soap
--enable-intl
--with-zlib
--enable-bcmath
--enable-shmop
--enable-sysvsem
--with-mysqli
--with-pdo-mysql
--enable-pcntl
--enable-sockets
--with-iconv=$(brew --prefix libiconv)
но я все равно получаю сообщение об ошибке:

Код: Выделить всё

No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h', needed by `ext/openssl/openssl.lo'.  Stop.
даже с учетом того, как предложил @jason_mamrot:

Код: Выделить всё

PATH=/opt/homebrew/bin/:/opt/homebrew/opt/openssl@3:$PATH make
Обновление, понедельник, 13 октября 2025 г.

Как предложил @KenLee, я:

Код: Выделить всё

$ brew cleanup --prune=all
Removing: /Users/jnorris/Library/Caches/Homebrew/aom_bottle_manifest--3.13.1... (31.5KB)
...a whole lot of pruning was reported...
Removing: /Users/jnorris/Library/Logs/Homebrew/gsettings-desktop-schemas...  (1.2KB)
==>  This operation has freed approximately 681MB of disk space.

...there were several warnings which I am reporting here in case these are important...
Warning: Skipping (old) /opt/homebrew/Cellar/libavif/1.2.1 due to it being linked
Warning: Skipping (old) /opt/homebrew/Cellar/libdeflate/1.23 due to it being linked
Warning: Skipping (old) /opt/homebrew/Cellar/libidn2/2.3.7 due to it being linked
Warning: Skipping (old) /opt/homebrew/Cellar/libpng/1.6.47 due to it being linked
Warning: Skipping (old) /opt/homebrew/Cellar/libzip/1.11.3 due to it being linked
Warning:  Skipping (old) /opt/homebrew/Cellar/xz/5.8.0 due to it being linked
Тогда я:

Код: Выделить всё

$ openssl version
LibreSSL 3.3.6
Итак, я:

Код: Выделить всё

echo $PATH
/usr/local/ssl/bin:/opt/homebrew/opt/openssl@3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql:/opt/homebrew/sbin:/opt/homebrew/bin:/opt/homebrew/opt/libxml2/
и, полагая, что /usr/local/ssl/bin происходит до /opt/homebrew/opt/openssl@3, удалил первый из моего объявления $PATH в моем .bash_profile, получил мой .bash_profile и:

Код: Выделить всё

$ echo $PATH
/opt/homebrew/opt/openssl@3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql:/opt/homebrew/sbin:/opt/homebrew/bin:/opt/homebrew/opt/libxml2/

$ openssl version
LibreSSL 3.3.6
но вижу, что о LibreSSL 3.3.6 все еще сообщается.
Итак, я возвращаюсь к «Любые идеи относительно того, что происходит не так, будем очень признательны!»
Вс, 12 октября 2025 г.
Я пытаюсь установить PHP 8.4.11 из источник — пожалуйста, не говорите мне, ч т о я д о л ж е н п р о с т о у с т а н о в и т ь е г о и з д о м о р о щ е н н о г о < / c o d e > — н а M 1 M a c M i n i п о д у п р а в л е н и е м S e q u o i a 1 5 . 5 . < / p > < b r / > П р и в ы п о л н е н и и к о м а н д ы m a k e < / c o d e > я п о л у ч а ю с л е д у ю щ и й в ы в о д : < / p > < b r / > < c o d e > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / p h p _ d a t e . c - o e x t / d a t e / p h p _ d a t e . l o - M M D - M F e x t / d a t e / p h p _ d a t e . d e p - M T e x t / d a t e / p h p _ d a t e . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b / a s t r o . c - o e x t / d a t e / l i b / a s t r o . l o - M M D - M F e x t / d a t e / l i b / a s t r o . d e p - M T e x t / d a t e / l i b / a s t r o . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b / d o w . c - o e x t / d a t e / l i b / d o w . l o - M M D - M F e x t / d a t e / l i b / d o w . d e p - M T e x t / d a t e / l i b / d o w . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b / p a r s e _ d a t e . c - o e x t / d a t e / l i b / p a r s e _ d a t e . l o - M M D - M F e x t / d a t e / l i b / p a r s e _ d a t e . d e p - M T e x t / d a t e / l i b / p a r s e _ d a t e . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b / p a r s e _ t z . c - o e x t / d a t e / l i b / p a r s e _ t z . l o - M M D - M F e x t / d a t e / l i b / p a r s e _ t z . d e p - M T e x t / d a t e / l i b / p a r s e _ t z . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d - O 0 - D Z T S - D Z E N D _ S I G N A L S - W n o - i m p l i c i t - f a l l t h r o u g h - I e x t / d a t e / l i b - D Z E N D _ E N A B L E _ S T A T I C _ T S R M L S _ C A C H E = 1 - D H A V E _ T I M E L I B _ C O N F I G _ H = 1 - c / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b / p a r s e _ p o s i x . c - o e x t / d a t e / l i b / p a r s e _ p o s i x . l o - M M D - M F e x t / d a t e / l i b / p a r s e _ p o s i x . d e p - M T e x t / d a t e / l i b / p a r s e _ p o s i x . l o < b r / > / b i n / s h / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / l i b t o o l - - s i l e n t - - p r e s e r v e - d u p - d e p s - - t a g = C C - - m o d e = c o m p i l e c c - I e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / m a i n - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / d a t e / l i b - I / o p t / h o m e b r e w / C e l l a r / o p e n s s l @ 3 / 3 . 4 . 1 / i n c l u d e - I / o p t / h o m e b r e w / o p t / l i b i c o n v / i n c l u d e - I / o p t / h o m e b r e w / C e l l a r / o n i g u r u m a / 6 . 9 . 1 0 / i n c l u d e - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / e x t / m b s t r i n g / l i b m b f l / m b f l - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / T S R M - I / U s e r s / j n o r r i s / D o w n l o a d s / p h p / p h p - 8 . 4 . 1 1 / Z e n d - D _ G N U _ S O U R C E - p t h r e a d - f n o - c o m m o n - W s t r i c t - p r o t o t y p e s - W f o r m a t - t r u n c a t i o n - W a l l - W e x t r a - W n o - u n u s e d - p a r a m e t e r - W n o - s i g n - c o m p a r e - g - O 2 - f f p - c o n t r a c t = o f f - f v i s i b i l i t y = h i d d e n - p t h r e a d -O0 -DZTS -DZEND_SIGNALS -Wno-implicit-fallthrough -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib/timelib.c -o ext/date/lib/timelib.lo -MMD -MF ext/date/lib/timelib.dep -MT ext/date/lib/timelib.lo
/bin/sh /Users/jnorris/Downloads/php/php-8.4.11/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/main -I/Users/jnorris/Downloads/php/php-8.4.11 -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib -I/opt/homebrew/Cellar/openssl@3/3.4.1/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/oniguruma/6.9.10/include -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl/mbfl -I/Users/jnorris/Downloads/php/php-8.4.11/TSRM -I/Users/jnorris/Downloads/php/php-8.4.11/Zend -D_GNU_SOURCE -pthread -fno-common -Wstrict-prototypes -Wformat-truncation -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -pthread -O0 -DZTS -DZEND_SIGNALS -Wno-implicit-fallthrough -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib/tm2unixtime.c -o ext/date/lib/tm2unixtime.lo -MMD -MF ext/date/lib/tm2unixtime.dep -MT ext/date/lib/tm2unixtime.lo
/bin/sh /Users/jnorris/Downloads/php/php-8.4.11/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/main -I/Users/jnorris/Downloads/php/php-8.4.11 -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib -I/opt/homebrew/Cellar/openssl@3/3.4.1/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/oniguruma/6.9.10/include -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl/mbfl -I/Users/jnorris/Downloads/php/php-8.4.11/TSRM -I/Users/jnorris/Downloads/php/php-8.4.11/Zend -D_GNU_SOURCE -pthread -fno-common -Wstrict-prototypes -Wformat-truncation -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -pthread -O0 -DZTS -DZEND_SIGNALS -Wno-implicit-fallthrough -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib/unixtime2tm.c -o ext/date/lib/unixtime2tm.lo -MMD -MF ext/date/lib/unixtime2tm.dep -MT ext/date/lib/unixtime2tm.lo
/bin/sh /Users/jnorris/Downloads/php/php-8.4.11/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/main -I/Users/jnorris/Downloads/php/php-8.4.11 -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib -I/opt/homebrew/Cellar/openssl@3/3.4.1/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/oniguruma/6.9.10/include -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl/mbfl -I/Users/jnorris/Downloads/php/php-8.4.11/TSRM -I/Users/jnorris/Downloads/php/php-8.4.11/Zend -D_GNU_SOURCE -pthread -fno-common -Wstrict-prototypes -Wformat-truncation -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -pthread -O0 -DZTS -DZEND_SIGNALS -Wno-implicit-fallthrough -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib/parse_iso_intervals.c -o ext/date/lib/parse_iso_intervals.lo -MMD -MF ext/date/lib/parse_iso_intervals.dep -MT ext/date/lib/parse_iso_intervals.lo
/bin/sh /Users/jnorris/Downloads/php/php-8.4.11/libtool --silent --preserve-dup-deps --tag=CC --mode=compile cc -Iext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/ -I/Users/jnorris/Downloads/php/php-8.4.11/main -I/Users/jnorris/Downloads/php/php-8.4.11 -I/Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib -I/opt/homebrew/Cellar/openssl@3/3.4.1/include -I/opt/homebrew/opt/libiconv/include -I/opt/homebrew/Cellar/oniguruma/6.9.10/include -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl -I/Users/jnorris/Downloads/php/php-8.4.11/ext/mbstring/libmbfl/mbfl -I/Users/jnorris/Downloads/php/php-8.4.11/TSRM -I/Users/jnorris/Downloads/php/php-8.4.11/Zend -D_GNU_SOURCE -pthread -fno-common -Wstrict-prototypes -Wformat-truncation -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -ffp-contract=off -fvisibility=hidden -pthread -O0 -DZTS -DZEND_SIGNALS -Wno-implicit-fallthrough -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -c /Users/jnorris/Downloads/php/php-8.4.11/ext/date/lib/interval.c -o ext/date/lib/interval.lo -MMD -MF ext/date/lib/interval.dep -MT ext/date/lib/interval.lo
make: *** No rule to make target `/opt/homebrew/Cellar/openssl@3/3.4.1/include/openssl/opensslv.h', needed by `ext/openssl/openssl.lo'. Stop.

Я думаю, что проблема в том, что в каждой строке приведенного выше вывода есть /opt/homebrew/Cellar/openssl@3/3.4.1/include, хотя это не версия openssl@3, которую я установил - когда я даю команду:

Код: Выделить всё

$ openssl version
Ответ:

Код: Выделить всё

LibreSSL 3.3.6
У меня есть, в следующем порядке:

Код: Выделить всё

$ brew link --force openssl@3
Linking /opt/homebrew/Cellar/openssl@3/3.6.0... 6547 symlinks created.

Код: Выделить всё

$ brew uninstall libressl
Error: No such keg: /opt/homebrew/Cellar/libressl

Код: Выделить всё

$ sudo rm -rf /usr/local/lib/libressl*
[no response]

Код: Выделить всё

$ sudo rm -rf /usr/local/bin/libressl*
[no response]

Код: Выделить всё

$ brew reinstall openssl@3
brew install openssl@3
Warning: openssl@3 3.6.0 is already installed and up-to-date.

Код: Выделить всё

$ openssl version
LibreSSL 3.3.6
https://formulae.brew.sh/formula/openssl@3 не упоминает «LibreSSL» — это то, что должен установить доморощенный? Я ожидал openssl (или что-то в этом роде, а не LibreSSL).
Будем очень признательны за любые идеи относительно того, что происходит не так!

Подробнее здесь: https://stackoverflow.com/questions/797 ... penssl-ope
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Php»