squid + sarg problem
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 How to fix it? |
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. |
It's not work
|
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. https://github.com/conraid/SlackBuilds/tree/master/sarg |
Version of slackware is 13.37
|
I have error:
root@xxxxx:~/!install/sargcompile# sarg.Slackbuild bash: sarg.Slackbuild: command not found |
have a look at a generic guide on how to use SlackBuild scripts (hint: launch it as ./sarg.Slackbuild).
|
Change permissions
Quote:
Quote:
|
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 |
It,s ok I have sarg-2.0.5-i486-1jm.tgz
What now? |
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. |
Error: there is no installed package named sarg-2.0.5-i486-1jm
|
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 |
Are you sure you removed the old one? What is the output of which sarg?
|
All times are GMT -5. The time now is 06:19 AM. |