/usr/bin/ld: cannot find -l collect2: error: ld returned 1 exit status
1
ld -l<xxx> --verbose
如
/usr/bin/ld: cannot find -lhdb
则
1 2 3 4 5 6 7 8 9
ld -lhdb --verbose ... attempt to open /usr/lib64/libhdb.so failed attempt to open /usr/lib64/libhdb.a failed attempt to open /usr/local/lib64/libhdb.so failed attempt to open /usr/local/lib64/libhdb.a failed attempt to open /lib64/libhdb.so failed attempt to open /lib64/libhdb.a failed ...
[mjpeg @ 0x227f2c0] bits 223 is invalid [flac @ 0x227c400] decoding for stream 1 failed [flac @ 0x227c400] Could not find codec parameters for stream 1 (Video: mjpeg, none(bt470bg/unknown/unknown), lossless): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options
...
Automatic encoder selection failed for output stream #0:0. Default encoder for format ipod (codec h264) is probably disabled. Please choose an encoder manually. Error selecting an encoder for stream 0:0
More precisely, a double dash (–) is used in most bash built-in commands and many other commands to signify the end of command options, after which only positional arguments are accepted. Example use: lets say you want to grep a file for the string -v - normally -v will be considered the option to reverse the matching meaning (only show lines that do not match), but with – you can grep for string -v like this: grep – -v file