Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-27-2006, 02:28 PM
|
#1
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Rep:
|
webalizer and libraries question
I installed Webalizer on my server (which doesn't have X) and it won't load because the libraries for X aren't there.
webalizer: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
I can't find this library anywhere (except a debian package). Tried finding the library with pkgtool but had no success. I'm sure you don't need X installed just run this module, what gives?
|
|
|
04-27-2006, 03:25 PM
|
#2
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Which version of Slackware are you using? Apparently, webalizer is linked against X libraries so you can install X to provide the libraries even though X won't actually be running.
Peace...
|
|
|
04-27-2006, 03:55 PM
|
#3
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by tomdkat
Which version of Slackware are you using? Apparently, webalizer is linked against X libraries so you can install X to provide the libraries even though X won't actually be running.
Peace...
|
10.2, seems like overkill to have to install X just to get this app going. If that turns out to be the case I guess I'll just have to deal with no webalizer.
|
|
|
04-27-2006, 04:26 PM
|
#4
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Yeah, I know what you mean. You might be able to get away with installing a part of X, depending on how the Slack packages are organized.
Why webalizer is linked against X, I have *no* idea but c'est la vie.
Peace...
|
|
|
04-27-2006, 04:56 PM
|
#5
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Well I know why there is an X dependency.
Webalizer needs gd for the generation of the bitmap graphics, and gd depends on X for the ability to generate XPM files.
You are quite right, that this is a little rediculous to have as a dependency for a pure commandline tool like webalizer. I will build a couple of packages if you can wait for them, and I'll upload them to http://www.slackware.com/~alien/slackbuilds/
Look for:
- gd-nox (gd without X dependency)
- webalizer (the version currently in the repository, webalizer-2.01.10-i486-2.tgz, does have the X dependency still)
- freetype2 (because gd needs that to use TrueType fonts in the graphics. I have a freetype package that you can install without the need for X, I guess - but I will verify that tomorrow, too)
I'll update this thread if I managed to remove the X dependency.
Eric
|
|
|
04-27-2006, 07:35 PM
|
#6
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Sweet! Thanks!
Now that is what I call service!
Peace...
|
|
|
04-28-2006, 02:40 AM
|
#7
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
Whether you succeed or not you are my hero, thanks man!
|
|
|
04-28-2006, 05:49 AM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Try installing these on your X-less Slackware box (packages compiled on Slackware 10.2 without X installed, but the SlackBuilds for them should produce the same packages not depending on X):
freetype2
gd-nox
webalizer
And tell me if they work for you.
Eric
Update: I also added a statically linked package as webalizer_static
This one needs no other packages at all. It was linked with the "gd-nox" and freetype2 libraries.
Last edited by Alien Bob; 04-28-2006 at 10:41 AM.
|
|
|
04-28-2006, 12:24 PM
|
#9
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
None of the links work at the moment. The slack website appears to be down. If the files aren't so large as to be an inconvenience to you, you can email them to me if you want at mustangfanatic01@gmail.com and I will host them. I have an OC12 connection I can put them up on.
|
|
|
04-28-2006, 12:47 PM
|
#10
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Hmmm. Indeed, the Slackware server does not respond. Don't know what is happening, I hope a massive update to Slackware-current :-)
FYI: my own server hosts the package repository as well: look at http://sox.homeip.net/slackware/slackbuilds/
You can find all of the packages and SlackBuild scripts there, as well.
Eric
|
|
|
04-28-2006, 07:18 PM
|
#11
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
I installed the static package and I'm able to access webalizer through webmin now with no dependancy errors! Thank you sir
|
|
|
All times are GMT -5. The time now is 08:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|