系統管理
1751899 會員
5165 線上
108783 解決方案
發表新文章

wget 不能執行, why

 
watermelonyu
教授

wget 不能執行, why

# wget

/usr/lib/hpux32/dld.so: Unable to find library 'libintl.so'.

Killed



help...
7則回覆 7
watermelonyu
教授

wget 不能執行, why

libintl.so是屬於gettext這個package的一個library



請先確認你的主機是否已安裝gettext

#swlist -l product|grep -i gettext



如果沒有的話, 請到 http://hpux.cs.utah.edu/hppd/hpux/Gnu/gettext-0.14.5/ 選擇你所屬的平台, 安裝gettext depot先.



裝完後, 再執行wget.
watermelonyu
教授

wget 不能執行, why

M大哥:



#swlist -l product|grep -i gettext

Gettext 0.10.39.7 GNU gettext NLS library



我有裝ㄋㄟ...是不是版本太舊
watermelonyu
教授

wget 不能執行, why

output of `swlist -l fileset -a subproduct gettext`



另外你的wget, gettext, openssl各是哪些版本呢 ?

還有OS環境.



我試了一下, 在hpux 11i下, wget-1.10.2, openssl-0.9.8a, gettext-0.14.5是可以動的.
watermelonyu
教授

wget 不能執行, why

swlist -l fileset -a subproduct gettext

# Initializing...

# Contacting target "hp7"...

ERROR: Software "gettext" was not found on host "hp7:/".



hp7:/>uname -a

HP-UX hp7 B.11.23 U ia64 2546635495 unlimited-user license

hp7:/>swlist -l product | grep wget

wget 1.10.2 wget

hp7:/>

hp7:/>swlist -l product | grep ssl

(似乎沒有openssl)

watermelonyu
教授

wget 不能執行, why

的確, 你的gettext版本有點舊了, 至少是在15-Sep-2001之前的版本. 另外你的gettext是透過hpux軟體光碟安裝的?手動compile source ? 還是透過binary depot裝的呢 ? 看起來, 你的gettext並沒有裝起來. 如果是有正確的裝在系統上, 你會看到如下的畫面.



root@Lab001t /usr/local/etc> swlist -l fileset -a subproduct gettext

# Initializing...

# Contacting target "Lab001t"...

#

# Target: Lab001t:/

#



# gettext

gettext.gettext-MAN

gettext.gettext-RUN

gettext.gettext-SHLIBS
watermelonyu
教授

wget 不能執行, why

M老大:

gettext是HP工程師灌完OS就有, 沒有特別要求他裝

看來我先來裝裝gettext 試試看好了

TKS
watermelonyu
教授

wget 不能執行, why

檢查一下 SHLIB_PATH 有沒有設定



SHLIB_PATH=/usr/lib

export SHLIB_PATH