/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `mb_utf16be_to_wchar' with pointer equality in `ext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable; recompile with -fPIE and relink with -piecollect2: error: ld returned 1 exi

2024. 11. 5. 16:44·ERROR!

진짜 PHP 컴파일 설치를 하는데 도저히 해결방법을 모르겠더라

타고타고타고 찾아들어가다가 깃허브에서 한 글을 발견했다

 

This is actually this issue: https://sourceware.org/bugzilla/show_bug.cgi?id=23169
That was fixed in binutils 2.31, but CentOS8 uses version 2.30 which is old (almost 6 years: Jan 2018).
I don't know how to work around this, it's not like we can check via a macro the binutils version but we could in principle test during configure if this is broken (although I prefer not to)...
In any case I really recommend you to use a modern toolchain.

Remove binutils from Centos 8 stream and remove them from https://ftp.gnu.org/gnu/binutils/ Compile and install the latest source code from Zhongla. This will solve this problem.

기존 bind-util을 제거하고 최신버전으로 컴파일해서 설치를 한 후에 다시 make를 하니까 정상적으로 해결이 되었다

아직까지 확실한 원인은 모르겠고 구버전의 bind-utils에서 호환성의 문제가 있는건지 다들 추측만 할뿐인것같다

저작자표시 비영리

'ERROR!' 카테고리의 다른 글

[PHP] Package 'oniguruma', required by 'virtual:world', not found  (0) 2024.11.06
[MariaDB] Galera Cluster Error  (0) 2024.11.06
에러 모음집 빠른 해결 (2024-12-9 기준)  (2) 2024.10.02
'ERROR!' 카테고리의 다른 글
  • [PHP] Package 'oniguruma', required by 'virtual:world', not found
  • [MariaDB] Galera Cluster Error
  • 에러 모음집 빠른 해결 (2024-12-9 기준)
ssnong
ssnong
캠핑 맛집 여행 윈도우 리눅스 PHP DB 등 기록 공간입니다
  • ssnong
    호슐랭
    ssnong
  • 전체
    오늘
    어제
    • 분류 전체보기 (42)
      • Linux (21)
        • ubuntu (4)
        • Rocky 8.10 (16)
      • Windows (5)
      • git (3)
      • Lang (3)
        • javascript (3)
        • PHP (0)
      • Database (3)
        • MySQL8.0 (2)
        • MariaDB (1)
        • PostgreSQL(17.2) (0)
      • AWS (1)
      • ERROR! (4)
  • 링크

    • 일상은 여기서!
  • 공지사항

  • 인기 글

  • 태그

    linux nft
    rocky 8 postgresql 설치
    rocky nftables
    pg_hba.conf 설정
    git push
    리눅스
    ssh 접속
    hyper-v vm 생성
    linux postgresql설치
    postgresql.conf 설정
    리눅스 nftables
    git pull
    rocky postgresql설치
    rocky
    centos nftables
    Linux
    리눅스 nft
    nginx php 소켓통신
    linux nftables
    nftables
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
ssnong
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `mb_utf16be_to_wchar' with pointer equality in `ext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable; recompile with -fPIE and relink with -piecollect2: error: ld returned 1 exi
상단으로

티스토리툴바