Re: [問題] firefox 完全消失了已刪文
ltrace 後面的 command 要是 ELF 執行檔格式
/usr/bin/firefox 常是 bash script,偵測環境後再執行 firefox-bin
以 AUR 裡的 swiftfox 為例
$ file /opt/swiftfox/swiftfox-bin
/opt/swiftfox/swiftfox-bin: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
$ file /opt/swiftfox/swiftfox
/opt/swiftfox/swiftfox: a /bin/sh script text executable
再試試看吧 :-)
※ 引述《trashprince (Contigo ergo "XOR"!!)》之銘言:
: 我的/opt底下沒有疑似firefox的東西
: 所以我就用ltrace /usr/bin/firefox去嘗試
: 只出現一大堆奇怪的東西
: 沒有相關的資訊可以看
: pthread_mutex_unlock(0xb7416040, 0, 0xbfd38288, 0xb5edfaf2, 0xb7304358) = 0
: pthread_mutex_lock(0xb7416040, 0, 0xbfd38288, 0xb5edfaf2, 0xb7304358) = 0
: 不像leafpad打開會有
: __libc_start_main(0x804d960, 1, 0xbfd64ac4, 0x8058910, 0x8058900 <unfinished
: ...>
: bindtextdomain("leafpad", "/usr/share/locale") =
: "/usr/share/locale"
: bind_textdomain_codeset(0x80589d2, 0x80589ec, 0x804b3b0, 0xb71f47e8,
: 0xb770bfc4) = 0x88ad020
: textdomain("leafpad") =
: "leafpad"
: 這樣一大坨稍微可以辨識在幹嘛的東西
: 不過還是謝謝Neisseria大介紹ltrace這好玩的東西
: 我再研究看看
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.137.5.80
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):