/lib/ld-linux.so.2: No such file or directory - qt5

In an attempt to install Qt5 in Ubuntu-mate18.04, raspberrypi3b+ I get the following error. Please check the screenshot

You probably don't have the binutils package installed. This provides the ld linker program and the lib you are missing.

Related

How can I fix the Cmake link problem in macOS

I have installed the latest cmake in my MacBook.I also input "brew link cmake". But it still display :
zsh: command not found: cmake
How can I fix it?
If you shell (zsh) cannot find the command for cmake, and if you are sure to have installed the cmake command, then you probably just need to add the path to the cmake command to your PATH environment variable.
There are multiple questions on StackOverflow that explain ways of doing that, such as this very detailed explanation here.

Why sdkmanager does not contain cmake 3.19 and above?

I need to update my project from NDK 21.4 to NDK 23.1. Upon the update, I face this error
C/C++: /usr/bin/ld.gold: fatal error: /usr/local/android-sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtbegin_so.o: unsupported ELF machine number 183
C/C++: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
I change cmake version from 3.10.2 and 3.18.1 but still have similar error. I then change cmake version to 3.22.2. Now the above error goes away.
However, cmake 3.22.2 is not shipped with sdkmanager. Therefore, other developers need to install cmake 3.22.2 locally to build.
My question is: why sdkmanager does not have newer versions of cmake? More particular, does upgrade cmake to 3.22.2 a correct way to resolve the problem above? Or should I spend time on trying to solve the error with cmake versions available within sdkmanager?

library not found for -lPods-Bolts

ld: library not found for -lPods-Bolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Getting this error when I try to compile my code, been stuck on it for so long, think its pretty simple to anyone who knows Xcode development.
These might help:
xCode: Library not found - lPods-Bolts - Exit Code 1
library not found for -lPods
Other than that, off the top of my head, here are a couple of things you can try:
Make sure you have cocoapods installed locally on your machine, and that your environment has a path to it. From a shell prompt, do the following:
$ pod --version
You should see something like "0.39.0" or "1.0.0". If you see "No such file or directory", you'll need to install it (make sure to read the "Install" and "Getting Started" sections completely)
Make sure you have all of your project's pod dependencies installed:
$ pod install
Do a clean build
Good luck!

Build fails after using CocoaPods

I am using CocoaPods for the first time. Installing required libraries causes the build process to break.
Installing Podfile gives this warning:
xcrun: error: active developer path ("/Volumes/Xcode 6.1/Xcode.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)
The following is the build error message:
clang: error: no such file or directory: '/Users/aztunwin/ObjC/DenkoStation/Pods/Target Support Files/Pods-RKValueTransformers/Pods-RKValueTransformers-dummy.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
The first error appears to be because you originally launched Xcode 6.1 from your disk image (.dmg) file, so that's where MacOS appears to be looking for the command line tools. You need to reset that.
Go to terminal and type in:
xcode-select --switch /Applications/Xcode.app
Your copy of Xcode is really found in your /Applications folder (as I can see from the second error output). Once you set the command line tools path using xcode-select, clean your project and restart Xcode and try building again.

Kate Cmake error

I am trying to build Kate on Linux Mint Cinnamon 17.1 64-bit. I downloaded Kate source code and tried to install it according to http://kate-editor.org/get-it/. Now while trying to compile, I am getting cmake error.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTOPENGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/sip
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src/test
-- Configuring incomplete, errors occurred!
What am I doing wrong here? Please help.
Thanks.
I assume You have Qt4 development packages installed in Your system and only missing libqt4-opengl-dev. So, the bluntest solution would be just install it. For example like this:
$ sudo apt-get install libqt4-opengl-dev
Relevant issue on MacOS:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND