Quote:
Originally Posted by Rhyader
What does all this "/../../../../" gobbeldygook refer to?
|
"
../" means parent directory so "
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld" is shortened to "
/usr/x86_64-suse-linux/bin/ld"
It seems that the ld executable is being executed, so other than being confusing and not ideal, that bit isn't relevant to the error.
This is the significant part:
Code:
ld: cannot find -lz
collect2: error: ld returned 1 exit status
As per "ld --help", the -l option expects a library name to follow it, and similarly -z should be followed by something, so you need to find whatever is trying to call ld and correct the arguments it is providing.
Edit: Corrected based on messages below, the
-l option expects a library name, and this error indicates a failure to find the library named "
z" (aka
zlib), and specifically the development version
zlib-devel (which is usually in a separate package to the main library).