This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

libz.so.1: no version information available

0

I am using wireshark 1.10.x in Linux. If running the following command: tshark -r test.pcap -V >> test.txt The command passed.

But if I call the command in my software, the error is: tshark: /home/my software/bin/libz.so.1: no version information available (required by /usr/local/lib/libwiretap.so.3) libz.so.1 exists in both /lib/libz.so.1 and /home/my software/bin/libz.so.1, and they have the same version number.

Any possible reason for the failure? And how to let tshark call /lib/libz.so.1, not /home/my software/bin/libz.so.1?

The error did not happen when using wirehshark 1.6.x.

Thank you.

asked 06 Mar '14, 12:04

huang-shi's gravatar image

huang-shi
1222
accept rate: 0%


One Answer:

0

Any possible reason for the failure?

Yes. The way you called tshark in your software/application. As you did not say anything about that, it's impossible to help you.

Regards
Kurt

answered 06 Mar '14, 13:33

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Thank you. I modified PATH and the problem was solved.

(06 Mar '14, 14:51) huang-shi