> while trying to test libpcap with wireshark and tcpdump I've come across > a problem when compiling tcpdump or wireshark in the clearview-uv bits. > Compiling with pre-cleaview-uv bits works fine. The issue is because > libdlpi links with libdladm (needed for dlpi_walk()).
That's not inherently a problem -- it's quite normal for public libraries to depend on private libraries. I suspect this is a variant of 6581777, whereby gcc is (errantly) overriding the default library search path to be just /usr/lib via -YP or similar magic, libdladm (which exists only in /lib) cannot be found as a result. As discussed in 6581777, we can put in a workaround by adding a symlink from /usr/lib/libdladm.so.1 to /lib, but it'd be nice to fix gcc instead (assuming it's the source of the problem). -- meem
