Re: After building 4.5 from trunk can't run firefox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Lance Taylor wrote:
Patrick Horgan <phorgan1@xxxxxxxxx> writes:

On Linux dell 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC
2009 i686 GNU/Linux
gcc (GCC) 4.5.0 20091224 (experimental)
Mozilla Firefox 3.5.7pre, Copyright (c) 1998 - 2009 mozilla.org

After building gcc trunk, when I tried to run firefox the next time I
got this error:

/usr/lib/firefox-3.5.7pre/firefox: error while loading shared
libraries: libstdc++.so.6: failed to map segment from shared object:
Permission denied

I see that this is being somehow caused by using a new version of gcc,
but I have no idea what could be causing it.
Turns out it had nothing to do with gcc. On ubuntu apparmor is set up by default to not allow firefox access to /usr/local/lib/*. To fix it I had to add a line to /etc/apparmor.d with the content /usr/local/lib/** rm, then do /etc/init.d/apparmor restart, as root or with sudo of course. I'm only posting it here because someone might search and find the thread, so I thought I should close it. Sorry for the noise.

Patrick


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux