configure: error: off_t undefined; check your library configuration


configure: error: off_t undefined; check your library configuration


 

發生背景:

編譯PHP時出現的提示,報錯信息為: configure: error: off_t undefined; check your library configuration 。


解決方案:

(1)輸入以下命令,添加搜索路徑到配置文件:
    echo '/usr/local/lib64 /usr/local/lib /usr/lib /usr/lib64'>>/etc/ld.so.conf
(2)更新配置
    ldconfig -v

 
        
參考資源:
  https://www.kwx.gd/PHPEnvironment/CentOS-PHP-off-t.html
  https://blog.csdn.net/xlelou/article/details/86488710

 
         
         
       


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM