I'm working in linux and I would need to use libxml2 functions for the development of a plugin for wireshark but when I start wireshark I get an error message: undefined symbol: xmlParseFile. I thought that the error would be resolved by including the header "xmlexports.h" but it was not so. I am writing a piece of code to facilitate the understanding:
Thank you in advance! asked 12 May '14, 03:01 Junzo edited 12 May '14, 09:00 grahamb ♦ |
One Answer:
I had forgotten to include the library lxml2 in phase of linking. I'm sorry answered 12 May '14, 07:21 Junzo @Junzo, No need to modify the question title to mark it as answered/solved, instead click the checkmark icon next to your answer. Please read the FAQ for more info. (12 May '14, 09:01) grahamb ♦ |
I guess you need to change the makefile(s) to link against libxml2.
I think the issue might be a runtime load problem, the OP says the problem occurs when starting Wireshark, not building.
Or maybe not.