Problem description
Error when running QT program under Ubuntu:
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Solution
GL library needs to be installed:
execute the following command
sudo apt-get install libgl1-mesa-dev
Read More:
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- Common errors and solutions of Qt development application under Ubuntu
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia
- ln: failed to create symbolic link ‘/usr/bin/pip’: File exists
- Command /usr/bin/codesign failed with exit code 1
- -Bash: /usr/local/apache-maven-3.6.3/bin/mvn: insufficient permissions
- Error: /usr/bin/python: Error while finding module specification for ‘virtualenvwrapper.hook_loader’
- Today’s file “/usr/bin/yum”, line 30 problems
- XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
- Can not start, can not find QT pligins “windows” problem after installing QT vs environment 2021-06-13
- Installing qt5.8.0 error reporting during installation process
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error
- Cannot remove entries from nonexistent file /usr/local/bin/anaconda2/lib/python2.7/site-packages/eas
- command/usr/bin/codesign failed with exit code 1- code sign error
- E: Sub process / usr / bin / dpkg returned an error code (1) solution
- ssh-copy-id:/usr/bin/ssh-copy-id: ERROR: No identities found
- QT encountered in CentOS installation( qt.qpa.plugin : Could not load the Qt platform plugin “xcb” )
- VUE Error: Cannot find module ‘webpack/bin/config-yargs’
- Error: Cannot find module’webpack/bin/config-yargs’ solution