WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libpcap.tcz missing dependency dbus.tcz, x86, TCL-13.0  (Read 928 times)

Offline rhermsen

  • Jr. Member
  • **
  • Posts: 98
libpcap.tcz missing dependency dbus.tcz, x86, TCL-13.0
« on: October 14, 2022, 04:20:20 PM »
While trying to compile tcpreplay.tcz the configure step fails with the following error in the log:
Code: [Select]
/usr/local/bin/ld: warning: libdbus-1.so.3, needed by /usr/local/lib/libpcap.so, not found (try using -rpath or -rpath-link)
libpcap.tcz looks build with dbus as a dependency.

Code: [Select]
$ ldd /usr/local/lib/libpcap.so
        linux-gate.so.1 (0xb7f7b000)
        libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0xb7f19000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f14000)
        libnl-genl-3.so.200 => /usr/local/lib/libnl-genl-3.so.200 (0xb7f0f000)
        libnl-3.so.200 => /usr/local/lib/libnl-3.so.200 (0xb7ef6000)
        libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0xb7eb3000)
        libc.so.6 => /lib/libc.so.6 (0xb7d1a000)
        libudev.so.0 => /usr/local/lib/libudev.so.0 (0xb7d0b000)
        libm.so.6 => /lib/libm.so.6 (0xb7c35000)
        /lib/ld-linux.so.2 (0xb7f7d000)

dbus.tcz is missing in the dependency list.
Code: [Select]
$ cat /mnt/vda1/tce/optional/libpcap.tcz.dep
libusb.tcz
libnl.tcz

Easy workaround
Code: [Select]
tce-load -wi dbus.tcz. but just to get it on the list for a next build of libpcap.tcz.


Code: [Select]
$ uname -m
i686

Code: [Select]
$ version
13.0

For the x86_64 libpcap.tcz extension dbus is not required.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14545
Re: libpcap.tcz missing dependency dbus.tcz, x86, TCL-13.0
« Reply #1 on: October 15, 2022, 01:21:08 AM »
libpcap dep files adjusted - thanks for reporting this.

Offline rhermsen

  • Jr. Member
  • **
  • Posts: 98
Re: libpcap.tcz missing dependency dbus.tcz, x86, TCL-13.0
« Reply #2 on: October 15, 2022, 02:59:42 PM »
Thanks.
Works now without me workaround.