On 11/9/06, Michael Schwendt fedora@wir-sind-cool.org wrote:
On Wed, 8 Nov 2006 19:59:10 -0500, Michel Salim wrote:
Op donderdag 09-11-2006 om 08:36 uur [tijdzone +0900], schreef Naoki:
In this specific case I'd be wondering why liferea needs a very specific version of firefox. I just checked the app in question and it states a requirement of : firefox = 1.5.0.7
I'm not familiar with liferea, but I am a developer of a application which uses GtkEmbedMoz, an GTK firefox embedding widget and I think liferea is in the same situation as I am.
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.