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.
I just installed Slackware 14 for Web, FTP and maybe Samba server, also SSH is necessary, but I decided to remove everything what is for desktop environments, so only command line. I didn't install this package series:
Code:
KDE
KDEI
L
X
XAP
XFCE
Y
So, everything is working, but I noticed that now in apache log there is warning:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
but there is no this warning when making default installation.
So I wanted to ask which package series I still have to install?
And one more question, maybe even not slackware related, but after installing Slackware 14 in apache httpd.conf I cannot use - and + options at the same time in one line, I mean before I could use:
Code:
Options -Indexes FollowSymLinks
But now I'm getting error on this:
Code:
AH00526: Syntax error on line 246 of /etc/httpd/httpd.conf:
Either all Options must start with + or -, or no Option may.
I solved this by changing Options line to:
Code:
Options FollowSymLinks
Options -Indexes
but now I'm not sure if I doing this right way? I couldn't find any good answer in google.
The "slackpkg file-search libX11.so.6" command would have tell you that this file is included in the package libX11 that you did not install but is included in the X series.
So make a full installation or leave alone at most only KDE, KDEI, XFCE and Y. Generally there is no gain and especially no gain in performances in not doing a full install, but more hassle about missing dependencies. Slackware is supposed to work as a full installation.
Last edited by Didier Spaier; 10-08-2012 at 09:18 AM.
Thank you for your answers. Well it looks like easiest way would be to install everything. I think I will try not to remove L and X package series from my list in my first post.
I also managed to write apache directory options in one line, now I have:
Code:
Options -Indexes +FollowSymLinks
I'm not sure since when I have my backup httpd.conf file where I have line
Code:
Options -Indexes FollowSymLinks
but it looks like now apache do not allow to use + or - symbols within one options line, if one option has this signs then the rest options should have it either. Maybe it was changed in some version and I missed it.
If you really want to have a lighter system, you can eventually do without L and N, and then hunt down missing libraries with George Vlahavas' nifty 'depfinder' tool:
I just installed Slackware 14 for Web, FTP and maybe Samba server, also SSH is necessary, but I decided to remove everything what is for desktop environments, so only command line. I didn't install this package series:
Code:
KDE
KDEI
L
X
XAP
XFCE
Y
So, everything is working, but I noticed that now in apache log there is warning:
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
but there is no this warning when making default installation.
So I wanted to ask which package series I still have to install?
If I were you, I'd take the easy way: download the Slackware sources and SlackBuild script of the "gd" package, and then compile a new gd package that does not depend on X - using Slackware's own SlackBuild script.
By giving your new package a build tag of "4_nox" you will be able to differentiate it from the stock Slackware package.
And if you are using slackpkg to keep your system up-to-date, you can add this line to "/etc/slackpkg/blacklist" to prevent your new gd package from being overwritten by Slackware's own version:
Haven't played with php for a while, but If you don't need the gd library, which is very possible, comment the line extension=gd.so in /etc/httpd/php.ini. See how that goes.
Thanks Eric for suggestion, I compiled gd package, but still getting the same warning, and library is not loaded. I think I will install full installation, just to be sure that everything is working. I'm just curious why gd library didn't work for me, after I recompiled it?
I see that during start up there are some other warnings about missing libraries, looks like GTK related. I think web server would work fine without them, but anyway it's better to have all dependencies installed. It would be too time consuming for me to find all dependencies.
Kikinovak, thanks for link, I will check, looks like it can be useful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.