Код: Выделить всё
/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against symbol `BZ2_crc32Table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libbz2.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libbz2.a(decompress.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libbz2.a(blocksort.o): warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
Код: Выделить всё
./configure --prefix=/usr/local/php82 --enable-cli --enable-fpm --program-suffix=82 --with-xsl --with-apxs2=/usr/local/apache/bin/apxs --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-ftp --with-gettext --enable-gd --enable-intl --enable-mbstring --with-mysqli --with-unapdo-mysql --with-xsl --enable-soap --enable-sockets --with-zip; make clean; make; make install;
Код: Выделить всё
[root@localhost ~]# uname -a
Linux localhost.localdomain 5.14.0-427.13.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 30 18:22:29 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# cat /etc/redhat-release
AlmaLinux release 9.4 (Seafoam Ocelot)
Пожалуйста, помогите!
Я пробовал с помощью менеджера пакетов dnf и собирал из исходного кода, но ошибка bzip2 продолжает приходить.
Подробнее здесь: https://stackoverflow.com/questions/792 ... is-failing