xulrunner + dynamic linker run-time bindings

Bug #557275 reported by Benoit Chesneau
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
xulrunner-1.9.2 (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: xulrunner-1.9

Since xulrunner isn't installed in default path it can't be linked at runtime. I would suggest to add a xulrunner.conf file in /etc/ld.so.conf.d like this :

$ more /etc/ld.so.conf.d/xulrunner.conf
/usr/lib/xulrunner-1.9.2.2
/usr/lib/xulrunner-devel-1.9.2.2

and running ldconfig at installl.

Revision history for this message
Martin Pokorny (martin-truffulatree) wrote :

I have also encountered this problem, and can confirm that the fix suggested by the bug submitter corrects the problem. However, I don't believe that it's necessary to include the /usr/lib/xulrunner-devel-1.9.2.2 directory in the xulrunner.conf file, since it contains no shared libraries (and those under the lib sub-directory are symlinked to /usr/lib/xulrunner-1.9.2.2).

Changed in xulrunner-1.9 (Ubuntu):
status: New → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

Moving to xulrunner-1.9.2. I'll look into this, thank you for the suggestion.

affects: xulrunner-1.9 (Ubuntu) → xulrunner-1.9.2 (Ubuntu)
Changed in xulrunner-1.9.2 (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. xulrunner is deliberately not installed in to the default search path, so it wouldn't make sense for us to do this change (we may as well just ship it in the default path if we wanted applications to link to it at runtime in the usual way)

Changed in xulrunner-1.9.2 (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Randall Leeds (randall-leeds) wrote :

Chris,
Could you elaborate a bit? Why is it the case for xulrunner that applications should not be able to link to it "in the usual way"?

Revision history for this message
Benoit Chesneau (bchesneau) wrote :

Chris,

Why it's deliberately not installed in the search path like other libs? It make distributions of application relying on xulrunner difficult on ubuntu.

Even you CouchDB package uses an ugly hack by changing search path when it start.SO please elaborrate.

Revision history for this message
Randall Leeds (randall-leeds) wrote :

The reasoning is apparently that xulrunner doesn't have a stable ABI and isn't versioned meaningfully. This is probably a complaint that should be taken up with Mozilla.

Revision history for this message
Chad Miller (cmiller) wrote :

I've heard, paraphrasing: The ABI of xulrunner is unstable, and the library is unversioned. We can't support installs and upgrades for the three or five years that we say we will.

Revision history for this message
eventissimus (ivan-kostyuk) wrote :

I played with CouchDB in Ubuntu 10.04. Later on, after the installation, configuring CouchDB, and first play, I did automatic update.
xulrunner was updated from /usr/lib/xulrunner-1.9.2.10 to /usr/lib/xulrunner-1.9.2.12
It impacted CouchDB too much (query functionality is not working).

This conf file should be created and updated on each package update; or conf file should be created and point to symlink, symlink to version should be created, and symlink should be updated on each package update.

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 557275] Re: xulrunner + dynamic linker run-time bindings

This should only happen if you modified your system with this type of
symlink. If couchdb breaks on an upgrade and you did not modify
your system, please file a bug against couchdb.

On 11/19/2010 02:47 PM, eventissimus wrote:
> I played with CouchDB in Ubuntu 10.04. Later on, after the
installation, configuring CouchDB, and first play, I did automatic update.
> xulrunner was updated from /usr/lib/xulrunner-1.9.2.10 to
/usr/lib/xulrunner-1.9.2.12
> It impacted CouchDB too much (query functionality is not working).
>
> This conf file should be created and updated on each package update; or
> conf file should be created and point to symlink, symlink to version
> should be created, and symlink should be updated on each package update.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.