當前位置:首頁 » 操作系統 » libxmllinux

libxmllinux

發布時間: 2023-06-05 13:13:52

linux下安裝php環境必須的組件 libxml2 一直安裝不成功,求大神解答!

直接用 yum 安裝 php好了。yum 可以自己解依賴關系

⑵ linux下安裝libxml2,cannot remove `libtoolT': No such file or directory

檢查一下默認系統是有的:
[root@~ 15:18]#find / -name "libxml2*"
/usr/lib64/libxml2.so
/usr/lib64/libxml2.so.2
/usr/lib64/libxml2.so.2.7.6
/usr/share/doc/libxml2-devel-2.7.6
/usr/share/doc/libxml2-devel-2.7.6/libxml2-api.xml.gz
/usr/share/doc/libxml2-2.7.6
如果要手動安裝:出現你的問題兩個辦法:(糾正下你的./configure
--prefix=/usr/local/libxml2)
1,方法一,嘗試過,可以。第二種沒試了。
用vim
configure
找到17035行,方法是:vim
configure
後,輸入17035然後回車,找到
$RM
「$cfgfile」
,移動游標到前面。按i然後,添加#號,或者dd這行,刪除。
然後按Esc,再按:
輸入wq,這樣就可以了。
或者可以搜索一下?$RM直接定位到這段,操作如上。
2,方法二,這樣就可以繼續安裝。
#yum
install
automake
autoconf
libtool
#
autoreconf
--force
--install
#
libtoolize
--automake
--force
#
automake
--force
--add-missing

⑶ linux下面裝libxml2-python老是裝不上,怎麼回事

把linux下面的python從2.4更新到2.7了,然後用sudo yum install libxml2-python命令安裝libxml2每次都提示成功,但是進入到python環境輸入import libxml2都提示錯誤,後來發現用yum install 安裝默認安裝到了python2.4下面的site-packages下

熱點內容
scratch少兒編程課程 發布:2025-04-16 17:11:44 瀏覽:627
榮耀x10從哪裡設置密碼 發布:2025-04-16 17:11:43 瀏覽:356
java從入門到精通視頻 發布:2025-04-16 17:11:43 瀏覽:73
php微信介面教程 發布:2025-04-16 17:07:30 瀏覽:297
android實現陰影 發布:2025-04-16 16:50:08 瀏覽:787
粉筆直播課緩存 發布:2025-04-16 16:31:21 瀏覽:337
機頂盒都有什麼配置 發布:2025-04-16 16:24:37 瀏覽:202
編寫手游反編譯都需要學習什麼 發布:2025-04-16 16:19:36 瀏覽:800
proteus編譯文件位置 發布:2025-04-16 16:18:44 瀏覽:356
土壓縮的本質 發布:2025-04-16 16:13:21 瀏覽:582