WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved]: Missing dep in gpicview.tcz.dep  (Read 1335 times)

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
[Solved]: Missing dep in gpicview.tcz.dep
« on: March 14, 2023, 09:12:06 AM »
Greetings!

I think it would be correct to add shared-mime-info.tcz to the gpicview.tcz.dep file. Though ususally shared-mime-info.tcz is already used by some other software, still very ascetic configs may miss it.

Regards!
« Last Edit: March 15, 2023, 09:43:26 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: Missing dep in gpicview.tcz.dep
« Reply #1 on: March 14, 2023, 11:20:04 PM »
Hi jazzbiker
I did some testing and agree. TC10 through TC14, x86 and x86_64 repos updated.

Turns out gpicview needs shared-mime-info for the  All Supported Images  file filter
in the file chooser to work. Setting it to  All Files  allowed selecting and displaying
images. Under TC14  All Files  allowed selecting, but trying to display an image
caused an error dialog to pop up. In addition, the  Flip  and  Rotate  icons showed
up as blank white boxes.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Missing dep in gpicview.tcz.dep
« Reply #2 on: March 15, 2023, 04:42:10 AM »
Hi Rich,

Your investigation is comprehensive and exhaustive as usual :-) By the way here we can see an example of dependency hidden from ldd's all-seeing eye.

Thank You, would You be so kind to mark the thread as solved?
« Last Edit: March 15, 2023, 04:54:08 AM by jazzbiker »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: [Solved]: Missing dep in gpicview.tcz.dep
« Reply #3 on: March 15, 2023, 12:12:18 PM »
Hi jazzbiker
Yes, ldd will only find libraries that have been linked to. If a library
is loaded with dlopen at runtime, it won't show up.
This might happen
with a program that adapts to its environment. It's likely gparted uses
dlopen to test if various libraries are available and uses this information
for the chart it displays when you click  View -> File System Support.
However, ldd will list  libdl.so  if a program calls  dlopen.
Of course config, icon, data, etc. files won't show up either.

... would You be so kind to mark the thread as solved?
Of course.  :)