Skip to content

tcpdump安装后运行失败:/usr/bin/tcpdump: pcap_open: symbol not found #3402

@yyywwweee

Description

@yyywwweee

───────────────────────────────────────────────────────────────────────
Install OpenWrt: System → Amlogic Service → Install OpenWrt
Update OpenWrt: System → Amlogic Service → Online Update
Board: s905d | OpenWrt Kernel: 6.1.161-ophub
Builder Name: ophub | Production Date: 2026-02-01
───────────────────────────────────────────────────────────────────────
Device Model: Phicomm N1
Architecture: AArch64 : Cortex-A53 x 4
Load Average: 0.02 0.09 0.07 Uptime: 8m 28s
Ambient Temp: 44.0 °C CPU Freq: 1000 Mhz
Memory Usage: 9% of 1801M Swap Usage: 0% of 0M
Boot Storage: 52% of 252M ROOTFS: 34% of 1.0G
Data Storage: 1% of 5.3G IP Addr: 192.168.1.10
───────────────────────────────────────────────────────────────────────
root@ImmortalWrt:~# tcpdump
Error relocating /usr/bin/tcpdump: pcap_open: symbol not found
Error relocating /usr/bin/tcpdump: pcap_findalldevs_ex: symbol not found
系统已升级到最新的 libpcap1-1.10.6-r1,但 tcpdump 4.99.5-r1 编译时绑定的符号名 / 路径与新版 libpcap1 不匹配(这是 ImmortalWrt 快照版 apk 生态的兼容性 bug,包编译时的符号链接未对齐)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions