LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Upgrade killed X Missing libffi.so.6 (http://www.linuxquestions.org/questions/slackware-14/upgrade-killed-x-missing-libffi-so-6-a-4175418212/)

zasavage 07-23-2012 06:20 AM

Upgrade killed X Missing libffi.so.6
 
Hi there

I wanted to see what cuurent looked like and used slapt-get

After it all installed i restarted and now x is dead

It says cant find shared libffi.so.6

Sorry cant give the whole error , typing from my phone :(


Regards

Lawrence

audriusk 07-23-2012 06:49 AM

You are missing libffi package which was recently added to -current.

Instead of blindly upgrading a better idea is to carefully read the ChangeLog and use slackpkg as follows:
Code:

slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system


Didier Spaier 07-23-2012 06:53 AM

in -current this library is provided by the libffi package. But the shared version previously included in gcc-java has been removed, see changelog dated in Mon Jun 25 05:17:48 UTC 2012.

My guess is that somehow slapt-get misbehaved about this update.

Anyhow slapt-get's usage is *not* recommended to upgrade Slackware, better use slackpkg instead. Let me quote "man slackpkg"
Code:

Slackpkg can be used to upgrade the whole distribution.
      The usual way is to do:

            # slackpkg update
            # slackpkg install-new
            # slackpkg upgrade-all
            # slackpkg clean-system

For now, check if libffi is installed (version included in -current and if not, install it.

EDIT audriusk was faster than me...


All times are GMT -5. The time now is 07:22 AM.