All right.. this is a really weird problem.
As root (I figured I ought to be safe when doing this..) I ran "slapt-get --update," which is supposed to update all packages that have been modified. It ran (took a long time) and I thought "Ok, cool, it's done." I logout of root and switch to deadly7. I type "startx" to, well, start x. It changes screens and then brings me right back to the main BASH-y screen that you get when you just log in. It says some errors and stuff.. here's everything that shows on my monitor.
Quote
"2005 i586
Build Date: 14 January 2006
Before reporting problems, check http://wiki.X.org
to make sure that you have the latest version.
Module Loader present
Marks: (--) probed, (**) from config file (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implimented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 4 02:33:50 2006
(==)Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
OpenSSL version mismatch. Built against 90707f, you have 90801f which: no dbus-launch in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)
/usr/bin/xfce4-session: error while loading shared libraries: libcairo.so.2: can not open shared object file: No such file or directory.
OpenSSL version mismatch, Built against 90707f, you have 90801f
waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing."
However, when I switch to KDE, KDE loads up. When I try to use any of the programs that I updated, they don't work at all.. Is there anything short of becoming more familiar with Slackware's install that I can do to fix this?
There are 2 problems:
#1: you're missing libcairo, which xfce seems to require now. Figure out where you get it from and get it.
#2: openssh/openssl doesn't work right when you do --update, which I recently discovered too. Manually compile/install openssl then openssh to the right place. Make sure you also edit /etc/rc.d/rc.sshd to point to /usr/local... instead of /usr... It shouldn't be too difficult.
Good luck!
#1 http://packages.debian.org/unstable/libs/libcairo-ruby is that the right thing?
#2 Uh. I don't know how to compile with Linux. What's the "right place" to install the files to? And do I have to delete any files modified by --update?
How do you manually update files, anyways?
You'll need to find the Slackware package. It's not going to work if you try installing a package that's intended for Debian.
They're packages. You just use # pkginstall.
http://www.slackware.com/changelog/current.php?cpu=i386
Holy hell I love Google Groups! (http://groups.google.com/group/alt.os.linux.slackware/browse_thread/thread/fd3b206c24d465b8/9276c4be531c47de?lnk=st&q=libcairo+slackware&rnum=1&hl=en#9276c4be531c47de)
Sidoh: was that a reference to my "How do you update" question?
Quote from: deadly7 on March 04, 2006, 12:04:51 PM
http://www.slackware.com/changelog/current.php?cpu=i386
Holy hell I love Google Groups! (http://groups.google.com/group/alt.os.linux.slackware/browse_thread/thread/fd3b206c24d465b8/9276c4be531c47de?lnk=st&q=libcairo+slackware&rnum=1&hl=en#9276c4be531c47de)
Google Groups is nice. I've used it many times before for issues similar to this one.
Quote from: deadly7 on March 04, 2006, 12:04:51 PM
Sidoh: was that a reference to my "How do you update" question?
Yep.
Yay! XFCE and all updated programs work now. Now to simply update OpenSSH/OpenSSL.
'tis all fixed. Thanks for the help iago/Sidoh.
You didn't break it, it's a feature for things not to work out of the box with Linux.
Quote from: Warriorx86] link=topic=5069.msg58381#msg58381 date=1141498929]
You didn't break it, it's a feature for things not to work out of the box with Linux.
If you actually read the beginning of the topic, you'll realize that he ran
# slapt-get, a 3rd party program.
Quote from: Warriorx86] link=topic=5069.msg58381#msg58381 date=1141498929]
You didn't break it, it's a feature for things not to work out of the box with Linux.
Stop being such a pigheaded moron.
Closed, it's fixed.
Quote#!/bin/sh
# Start/stop/restart the secure shell server:
sshd_start() {
# Create host keys if needed.
if [ ! -r /etc/ssh/ssh_host_key ]; then
/usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''
fi
if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
/usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
fi
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
/usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
fi
/usr/sbin/sshd
}
sshd_stop() {
killall sshd
}
sshd_restart() {
if [ -r /var/run/sshd.pid ]; then
echo "WARNING: killing listener process only. To kill every sshd process, you must"
echo " use 'rc.sshd stop'. 'rc.sshd restart' kills only the parent sshd to"
echo " allow an admin logged in through sshd to use 'rc.sshd restart' without"
echo " being cut off. If sshd has been upgraded, new connections will now"
echo " use the new version, which should be a safe enough approach."
kill `cat /var/run/sshd.pid`
else
killall sshd
fi
sleep 1
sshd_start
}
case "$1" in
'start')
sshd_start
;;
'stop')
sshd_stop
;;
'restart')
sshd_restart
;;
*)
echo "usage $0 start|stop|restart"
esac
What do I replace?? None of it seems at all relevant to OpenSSL..
Did you have to install SSHD? Does SSHD work/is it running? ($ ps aux | grep "sshd")
If you have it installed and it's working, don't worry about it.
Yeah, it seems to be working. It just spits out an error when I quit XFCE about OpenSSL version mismatch.
Quote from: deadly7 on March 04, 2006, 03:26:52 PM
Yeah, it seems to be working. It just spits out an error when I quit XFCE about OpenSSL version mismatch.
SSHD uses OpenSSL, but it isn't OpenSSL.
Since you updated OpenSSL, iago was probably saying that you should update SSHD too. After you do that, chage /etc/rc.d/rc.sshd in the ways iago suggested.
Change line 14. I get the same error. too lazy to fix.
Quote
jimmy@x86:~$ ssh
OpenSSL version mismatch. Built against 9060df, you have 90801f
Download OpenSSH/compile it against your new OpenSSL libraries.