Bug 1260572 - firefox does not start: /usr/lib64/firefox/libxul.so: undefined symbol: PR_SyncMemMap
Summary: firefox does not start: /usr/lib64/firefox/libxul.so: undefined symbol: PR_Sy...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 22
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-07 09:37 UTC by udayb
Modified: 2015-09-07 10:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-07 10:01:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description udayb 2015-09-07 09:37:50 UTC
Description of problem:

After the latest update, firefox does not start. Running it from command line yields:

$ firefox
XPCOMGlueLoad error for file /usr/lib64/firefox/libxul.so:
/usr/lib64/firefox/libxul.so: undefined symbol: PR_SyncMemMap
Couldn't load XPCOM.

Version-Release number of selected component (if applicable):

firefox-40.0.3-1.fc22.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Run firefox
2.
3.

Actual results:

$ firefox
XPCOMGlueLoad error for file /usr/lib64/firefox/libxul.so:
/usr/lib64/firefox/libxul.so: undefined symbol: PR_SyncMemMap
Couldn't load XPCOM.
$

Expected results:
Firefox should have started


Additional info:

$ sudo dnf -y update xulrunner
Last metadata expiration check performed 0:50:51 ago on Mon Sep  7 14:15:57 2015.
Dependencies resolved.
Nothing to do.
Complete!
$ rpm -q xulrunner
xulrunner-38.0-1.fc22.x86_64

Comment 1 udayb 2015-09-07 09:39:03 UTC
packages firefox and xulrunner are fine.

$ sudo rpm -V firefox xulrunner
$
(terminates without any output)

Comment 2 udayb 2015-09-07 09:45:57 UTC
I just realized that libxul.so was linked to an old non-standard nspr instead of /lib64/libnspr4.so; not sure why this didn't happen with previous versions of firefox I had.

$ ldd /usr/lib64/firefox/libxul.so | grep nspr
	libnspr4.so => /usr/local/lib/libnspr4.so (0x00007ff7e64a6000)

$ rpm -qf /usr/local/lib/libnspr4.so
file /usr/local/lib/libnspr4.so is not owned by any package
$ rpm -qf /usr/local/lib/libnspr4.a
file /usr/local/lib/libnspr4.a is not owned by any package

$ ls -l /usr/local/lib/libnspr4.*
-rwxr-xr-x. 1 root root 1458694 Nov 30  2013 /usr/local/lib/libnspr4.a
-rwxr-xr-x. 1 root root  722514 Nov 30  2013 /usr/local/lib/libnspr4.so

These had been around since Nov 2013. After removing these, things work.

Comment 3 Martin Stransky 2015-09-07 10:01:03 UTC
You can also remove the xulrunner package, is not used any more.


Note You need to log in before you can comment on or make changes to this bug.