Slackware 14 - Problems Starting X
I think I posted this in the wrong forum the first time... Here goes again.
I downloaded Slackware 14 64-bit to a DVD and installed it yesterday. After the installation was completed and the computer rebooted I attempted to startx at the root prompt and received the following error: error while loading shared libraries libgcrypt.so.11: cannot open shared object file: No such file or directory I attempted to run xorgsetup an at the x server screen I chose "yes" to probe hardware and received the same error: error while loading shared libraries libgcrypt.so.11: cannot open shared object file: No such file or directory I then attempted to run xorgconfig and received: command not found I thought maybe there was an error during installation so I re-installed the OS twice again and had the exact same experience. I searched google but was not able to find anything meaningful. If I left out any vital information please let me know what is needed. Thanks in advance, |
First edit /etc/slackpkg/mirrors and remove that # from one mirror
the run that command slackpkg install libgcrypt |
I'll be up front... you are dealing with a newbie.
I'm not sure if this is normal or not but I can't even use ping or ifconfig. I get the error: command not found I was just trying to verify network connection before looking or the package. I'll try the DVD. Thanks for all your help! |
Quote:
Code:
slackpkg update gpg Code:
slackpkg install libgcrypt |
slackpgk: command not found
I think I have bigger problems... :-) |
Quote:
|
If you feel that you have posted a thread in the wrong forum please use the Report button and ask a moderator to move the thread instead of creating a new thread.
|
Thanks for the quick response Ruario. I did choose Full Install (recommended). When I began having problems I assumed that I didn't choose full so I completely re-installed from scratch and had the same problems. In fact I did that twice doubting myself.
|
Quote:
Try to use more TAB key on the command line. It will autocomplete the commands for you so you will decrease the probability of such typos. Next time type slackp<TAB> and it will expand to slackpkg |
Quote:
Code:
for dir in a ap d e f k kde l n t tcl x xap xfce y ; do upgradepkg --install-new slackware*/${dir}/*.t?z ; done |
Quote:
What sort of partition schema did you setup to install onto? Can you ls /bin /usr/bin etc to see if the binary for ping for example is actually there? Also, are you logged in as root? ifconfig for example will return command not found if you aren't root I believe, ping should work as a normal user though |
I am logged in as root. When looking at the /bin and /usr/bin I see a lot of stuff but no ping. As for "slackpkg" I made a typo in the forum but I double checked the command history and it was correct. Also also tried slackp then TAB there are no options. If I do a slack then TAB I see "slackdtxt" and "slacktrack".
I am running Slackware 14 and bash shell. The partitions are Linux Swap 8000MB and the remainder are primary ext4 on a 250GB harddrive. |
I issued the following command in the installation media directory and it went through a ton of packages but indicated that it was skipping because they were already installed.
Quote:
|
Ok, try reinstalling just the packages that contain ping and slackpkg. Once again mount your Slackware DVD, switch to root, cd into the mount point and issue the following:
Code:
upgradepkg --install-new slackware*/n/iputils-*.txz slackware*/ap/slackpkg-*.txz Could you also try the following (also as root): Code:
echo $PATH |
oh and issue the following (as root) and print back the results:
Code:
which slackpkg |
The result of - echo $PATH: /usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin
After issuing: upgradepkg --install-new slackware*/n/iputils-*.txz slackware*/ap/slackpkg-*.txz I get file not found... I looked in the /mnt/dvd/slackware64/n/ directory and found iputils-s20101006-x86_64-2.txz but not one that ends in .tgz I tried the upgradepkg --install-new on the .txz file and it said it was being skipped because it was already installed. Then I looked in the /mnt/dvd/slackware64/ap/ directory and found slackpkg-2.82.0-noarch-8.tgz no not one that ends in .txz I tried the upgradepkg --install-new on the .tgz file and it said it was being skipped because it was already installed. It seems strange that I had exactly the opposite of what we were looking for. :-) Here are the results of which slackpkg: which: no slacpkg in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin) Here are the results of which ping: which: no ping in (/usr/local/sbin:/usr/sbin:/sbin:/user/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin) |
I made another typo in the results section regarding "which slack" but this was correct in the console.
|
Please post the output of
Code:
ls -l /usr/bin/slackpkg |
Quote:
Quote:
I'll be very interested in your response to TobiSGD's question. |
Actually I think TobiSGD meant:
Code:
ls -l /usr/sbin/slackpkg |
Same for both...
cannot access /usr/sbin/slackpkg: no such file or directory cannot access /usr/bin/slackpkg: no such file or directory Thank you so much for digging into this with me! |
I'm not sure if this is relevant but...
"locate slackpkg" gives: /var/log/packages/slackpkg-2.82.0-noarch-8 |
Quote:
Quote:
What is your partitioning scheme? Did you put /usr on its own partition and if yes, is it actually mounted? |
Newbie here...sorry :-) I accepted the defaults for most options.
I do know that /dev/sda2 is mounted at / and /usr is under / along with /etc, /home, /root, /lib, /opt, /var and list goes on. |
Quote:
Anyways, there seems to be something seriously wrong with this machine. I would recommend to make a clean re-install and see if the same or at least similar issues occur again. If so, this might as well be a hardware problem (failing disk or memory would come to my mind). But before you do that, I would like to see the output of the commands Code:
df -h |
df -h:
/dev/sda2 size: 222G - Used: 6.0G - Avail: 205G - Mounted / tmpfs size: 1.9G - Used: 0G - Avail: 1.9G - Mounted /dev/shm /dev/sr0 size: 2.3G - Used: 2.3G - Avail: 0G - Mounted /mnt/dvd ls /usr/sbin resulted in about 151 results. I don't have a way to copy/paste here and that's a lot to type! :-) I've installed 3 times with this media with the same result. I'm going to re-burn the media and try again. I'll post an update... |
Quote:
Also, 6GB used space seems to little for me for a full install, but I currently have no clean install to compare. |
While burning the media again I had some errors. I'm downloading again and will try again. I'll update... Thanks again.
|
What about
Code:
cat /var/log/packages/slackpkg* I have slack-14 32-bit standard full install and I have 415 entries in /usr/sbin. So you really are missing files in your system although everything seems to be installed. For me full install takes around 11G although I've added Java and eclipse there already that might take some room but yes 6G is way too little. |
Maybe the slackware iso you installed is a broken
|
Quote:
|
This has been solved. After downloading the iso again the install was perfect. Thank you for all your help!
|
Nice that you found a solution. Please mark this thread as solved using the thread tools at the top of the thread.
|
All times are GMT -5. The time now is 02:18 PM. |