LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-27-2006, 02:28 PM   #1
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Rep: Reputation: 15
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?
 
Old 04-27-2006, 03:25 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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...
 
Old 04-27-2006, 03:55 PM   #3
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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.
 
Old 04-27-2006, 04:26 PM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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...
 
Old 04-27-2006, 04:56 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
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
 
Old 04-27-2006, 07:35 PM   #6
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Sweet! Thanks!

Now that is what I call service!

Peace...
 
Old 04-28-2006, 02:40 AM   #7
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
Whether you succeed or not you are my hero, thanks man!
 
Old 04-28-2006, 05:49 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
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.
 
Old 04-28-2006, 12:24 PM   #9
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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.
 
Old 04-28-2006, 12:47 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
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
 
Old 04-28-2006, 07:18 PM   #11
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
I installed the static package and I'm able to access webalizer through webmin now with no dependancy errors! Thank you sir
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webalizer incremental question dkrysak Linux - Software 2 02-28-2006 01:01 AM
Webalizer setup question wendallsan Linux - Software 2 09-17-2004 11:28 AM
Webalizer Question Nothsa Linux - Software 2 07-05-2003 06:14 AM
Webalizer question Nothsa Linux - General 1 05-07-2003 01:51 PM
webalizer question Nothsa Linux - Newbie 0 05-07-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration