When i try to compile a program linking a library with gcc (on the recent 13.1.0), with a command like this:
g++ -I/path/to/header -L/path/to/library -llibrary file.cpp
the output tell me 'cannot find -llibrary: no such file or directory'
i already deleted and reinstalled gcc and tried to change the invocation order with the same result