Changes between Version 47 and Version 48 of BuildingQtOnLinux


Ignore:
Timestamp:
Feb 18, 2011 7:46:16 PM (13 years ago)
Author:
bharathwaaj.s@gmail.com
Comment:

Added solution provided by kling on irc for fixing Gold Linker Error.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnLinux

    v47 v48  
    5757
    5858== Common Build Errors ==
     59
     60=== Gold Linker Error ===
     61{{{
     62/usr/bin/gold: fatal error: out of file descriptors and couldn't close any
     63}}}
     64
     65This is a bug in Gold Linker. See [http://sourceware.org/bugzilla/show_bug.cgi?id=10708 here][[BR]]
     66To fix this try the following with root privileges and build:
     67{{{
     68ulimit -n 65535
     69}}}
     70
     71If you don't have root privileges you should add the following in ''/etc/security/limits.conf'' file
     72{{{
     73* hard nofile 65535
     74}}}
     75
     76This might need restarting X11/reboot.
     77
     78If you wan't a quick temporary workaround, try the following. (Tested in Ubuntu 10.10)
     79{{{
     80sudo -s;
     81ulimit -n 65535;
     82exec su - yourusername
     83}}}
    5984
    6085=== Using Qt 4.2 ===