Fail to compile Wireshark
I am attempting to compile Wireshark (1.10.8), and keep getting an error relating (supposedly) to a missing library:
Code:
checking for GTK+ - version >= 2.12.0 and < 3.0... Package libpng14 was not found in the pkg-config search path. A quick listing of the /usr/lib64 directory for libpng reveals this: Code:
root@slacker:/home/mattallmill/Downloads/SlackBuilds/wireshark ] # ls /usr/lib64/libpng Code:
find . |grep libpng14.pc Code:
/usr/lib/pkgconfig/libpng14.pc Code:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH::/usr/lib/pkgconfig/ Any help would be greatly appreciated. |
You might need to check your architecture:
Quote:
|
Quote:
|
Well, i just tried to build wireshark 1.10.7 from slackbuilds.org (the version they have), and it compiles successfully. Maybe look at the build options in the slackbuild;
http://slackbuilds.org/slackbuilds/1...ork/wireshark/ You could always change the version part: Code:
VERSION=${VERSION:-1.10.7} |
Quote:
|
My compilation went fine. I commented out the two patch line. And also remove the old wireshark package before compiling.
#patch -p1 < $CWD/configure.in.patch #sed -i "s|/lib)|/lib$LIBDIRSUFFIX)|g" configure.in |
Quote:
Code:
[mattallmill@slacker:/usr/lib64/pkgconfig ] $ ls -lha libpng14.pc To recap for those having similar issues compiling Wireshark on -current: Create a link to libpng14.pc in /usr/lib64/pkgconfig: Code:
ln -s libpng16.pc libpng14.pc Code:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH::/usr/lib{64}/pkgconfig Code:
ln -s libpng16.la libpng14.la |
All times are GMT -5. The time now is 12:31 AM. |