This is the old SliTaz forum - Please use the main forum.slitaz.org

X session problem after tazpkg upgrade
  • Hi,
    After a tazpkg upgrade and reboot, X session does not start.
    The system stays in text mode (but user login works).

    I do not know if it is related but when I try to run Xorg, system complains about libcrypto.so.0.9.8 (yes libcrypto package is installed):

    root@slitaz:~# Xorg
    Xorg: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file ore directory
    root@slitaz:~#


    Would anyone give me some hints to help me getting my X session back?

    Thanks.
    Stephane
  • slicelslicel April 2010
    If the problem started after an upgrade, maybe the upgrades have bugs.

    If not-

    tazpkg get-install libcrypto --forced

    Also-

    http://forum.slitaz.org/index.php/discussion/973/had-to-delete-xorg.conf/
  • seawolfseawolf April 2010
    FWIW, earlier this week I had to pull libcrypto and libssl v0.9.8 off a v3 LiveCD.

    The upgrade to v1.0.0 didn't work with the apps that were compiled against it (Midori at first, Xorg after reboot), and the old v0.9.8 was removed from my system.

    The libcrypto package was available when I had the problem.
  • @slicel
    Thank for the link,
    I must admit that I was not really clear, but when I stated "yes libcrypto is installed", actually I did tazpkg get-install libcrypto --forced.

    @seawolf
    I definitely agree with you that something is wrong.
    But would you mind telling me what to do in order to get my x session back?

    Thanks
    Stephane
  • slicelslicel April 2010
    If the latest package is bad, revert to an old version by force installing the old versions from a live cd iso made before the problem.

    For example, in a live cd session, the package manager can repackage the cd's already installed files into a tazpkg at /var/cache/tazpg. Then, copy the repackaged old packages from the live cd session to / on the problem system's hd partition, close the live cd session, and boot the problem system to command line.

    # cd /
    # tazpkg install libcrypto --forced

    I forget if you need the version number in the command when installing from a cd or hd.

    You might have to repeat with other packages until the errors stop.

  • mojomojo April 2010
    Hello Stephane
    I am running slitaz-3.0 stable.
    We know slitaz has bugs, don't upgrade without backing up first.
    When linux tells you it can't find a file search for it.
    Most programs access the libraries by symbolic links.
    tux@slitaz:~$ tazpkg list-files libcrypto
    Installed files with : libcrypto
    ================================================================================
    /usr/lib/libcrypto.so
    /usr/lib/libcrypto.so.0.9.8
    ================================================================================
    2 files installed with libcrypto.

    tux@slitaz:~$ ls -la  /usr/lib/libcrypto*

    lrwxrwxrwx 1 root root 18 Mar 4 00:50 /usr/lib/libcrypto.so -> libcrypto.so.0.9.8
    -r-xr-xr-x 1 root root 1250084 Mar 4 00:50 /usr/lib/libcrypto.so.0.9.8

    /usr/lib/libcrypto.so is a symlink that points to /usr/lib/libcrypto.so.0.9.8

    Verify that /usr/lib/libcrypto.so.0.9.8 exists

    Make the symlink to it.

    root@slitaz: ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so


    Replace the 0.9.8 above to match filename if different.










Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social