SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi my squid works good, but sarg not good.
When I start sarg: "sarg -x" I have 2 errors:
libpng warning: Application was compiled with png.h from libpng-1.4.5
libpng warning: Application is running with png.c from libpng-1.2.44
gd-png: fatal libpng error: Incompatible libpng version in application and library
Segmentation fault
If you use txz/tgz package instead of itself compile, trying recompile this program on your PC (use slackbuild fo it).
This (sarg) program not compatible with library libpng which installed in you system.
You didn't answer his question. He also informed you why it didn't work. The libpng that sarg was compiled with (1.4.5) is newer than the version on your system (1.2.44) and because of that the program won't work. You have two options. One, compile sarg on your system so it links to the correct version of libpng, or upgrade to a newer libpng (not recommended as there are probably a lot of programs on the system compiled against the installed version.
What version of Slackware do you have? Where did you get your sarg package?
A quick google search turned up the following site. Just download all those files in a folder, download the sarg source from sourceforge in the same folder, then as root, run sarg.Slackbuild. This should provide you with a package you can then install that won't cause you this error.
Hepl me ;-(:
root@xxx:~/!install/sargcompile# ./sarg.Salckbuild
bash: ./sarg.Salckbuild: No such file or directory
root@xxx:~/!install/sargcompile# bash ./sarg.Salckbuild
bash: ./sarg.Salckbuild: No such file or directory
root@xxx:~/!install/sargcompile#
In folder I have 4 files from: https://github.com/conraid/SlackBuilds/tree/master/sarg
Seems like you figured out you typed it wrong from the last post We all have done that at times, that's why I usually use tab completion. Also, to note, you can run the file using bash or sh without needing to change the permissions (I get lazy sometimes). You had that with your second entry, but the filename was spelled wrong.
As to installing the package, just run upgradepkg /location/to/sarg-2.0.5-i486-1jm.tgz. Most slackbuilds will store them in /tmp.
Oh, sounds like you uninstalled the old one. You can run installpkg instead of upgradepkg (or run upgradepkg --install-new) followed by the location of the sarg package.
package instaled - error the same :-(:
When I start sarg: "sarg -x" I have 2 errors:
libpng warning: Application was compiled with png.h from libpng-1.4.5
libpng warning: Application is running with png.c from libpng-1.2.44
gd-png: fatal libpng error: Incompatible libpng version in application and library
Segmentation fault
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.