On Thu, 9 Nov 2006 09:34:22 -0500, Michel Salim wrote:
The problem is that each version of Mozilla/Firefox uses a different installation prefix. For Firefox 1.5.0.7 this is /usr/lib/firefox-1.5.0.7
When a application links with some Mozilla/Firefox library the full path gets saved in the final executable.
In case of liferea, the dependency is not actually that hard-coded.
It is, it is.
This has been the result of discussion in an upstream bug ticket.
liferea uses LD_LIBRARY_PATH to add Firefox's installation directory before calling the actual liferea-bin binary. This path is detected at build time and hardcoded into the script.
It used to be like this, but has been error-prone (leading to crashes, even) and has changed to a really hardcoded path in the binary.
My mystake, then. The ones in Extras still use the script, and ldd-ing the actual binary did not show a dependency on Firefox.
$ strings /usr/lib/liferea/liblihtmlm.so |grep fire /usr/lib/firefox-1.5.0.7