WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Thunar wont start / work ---> dependency issue  (Read 2217 times)

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Thunar wont start / work ---> dependency issue
« on: October 15, 2019, 06:40:54 PM »
Hello:

My old and rarely accessed TC 8.1 installation went south so I decided to re-install using 10.1.
Yes, I had an image of the 1.0Gb SD card where it lived somewhere but ...

In any case, one of the first issues I have (there are a few more) is that after installing Thunar, it refused to start.

It installed correctly as far as I could see (deps seem OK) but it refused to start whether it is from the bar, menu or command line.

Code: [Select]
c@box:~$ thunar
thunar: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory
tc@box:~$

So looked for and I installed libffi5.tcz and that was it.

Code: [Select]
Title:          libffi5.tcz
Description:    Foreign function interface
Version:        3.0.10
Author:         Anthony Green
Original-site:  http://sourceware.org/libffi/
Copying-policy: Free, see source code for details
Size:           12k
Extension_by:   bmarkus
Tags:           LIBRARY COMPATIBILITY
Comments:       Library is provided for compatibility reason to make
                older applications usable on current system with new version
                of libffi.
                ----
                It can coexist with other versions of libffi.
                ----
                Do not compile new apps against this old lib.   
                When creating tcz, user current libffi-dev.tcz
                from the repository.                                         

Change-log:  ----
Current:        2014/11/15 packed for TC 6.0


Unless I am mistaken, the currently available version of Thunar (from 2014) was compiled against libffi5.tcz, which would be the reason for the problem. 

Code: [Select]
Title:          Thunar.tcz
Description:    Modern file manage for Linux desktop
Version:        0.10.2
Author:         Jannis Pohlmann, Nick Schermer, Benedikt Meurer
Original-site:  http://www.xfce.org
Copying-policy: LGPL v2
Size:           524k
Extension_by:   bmarkus
Tags:           LIBRARY XFCE4
Comments:       Binaries only
                ----
                Compiled for RPI
Change-log:     ----
Current:        2014/04/11 First version, 1.6.3


Cheers,

MM

    [EDIT]: Added code tags.  Rich
« Last Edit: October 15, 2019, 08:25:00 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: Thunar wont start / work ---> dependency issue
« Reply #1 on: October 15, 2019, 08:21:56 PM »
Hi madmax
.... Unless I am mistaken, the currently available version of Thunar (from 2014) was compiled against libffi5.tcz, which would be the reason for the problem. ...
You are correct. I'm guessing Thunar depends directly on libffi5 while other dependencies (glib2) of the extension depend on libffi.

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar wont start / work ---> dependency issue
« Reply #2 on: October 15, 2019, 09:18:08 PM »
Hello:
... correct.
... Thunar depends directly on libffi5 ...

So I guess it's either adding libffi5 to Thunar's .dep file or compiling a new version against libffi-dev.tcz.

Modding the .dep file is surely easier but ...
Would a 2019 compilation have any advantage over the current 2014 version?

Cheers,

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Thunar wont start / work ---> dependency issue
« Reply #3 on: October 16, 2019, 01:45:40 AM »
dep file adjusted - thanks for reporting this.

A recompilation would be better, so that the outdated libffi5 could be eliminated.

Alternately, you could compile the latest version, which would allow dropping libffi5, gtk2 and gnome-icon-theme.

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar wont start / work ---> dependency issue
« Reply #4 on: October 16, 2019, 09:56:05 AM »
Helo>
dep file adjusted - thanks for reporting this.
You're welcome ...

... recompilation would be better, so that the outdated libffi5 could be eliminated.
... you could compile the latest version, which would allow dropping libffi5, gtk2 and gnome-icon-theme.
I'm afraid compilation is rather over my head, I'm still struggling to get it (and other TC stuff) TC running properly.
Eventually I'll learn how to do it ...

Cheers,

MM