You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'autogen.sh' fails, stating that package 'readline' is not found; in Debian 10, it's 'readline-common' not 'readline'. It gives the following alternative, but I thought it reportable.
Alternatively, you may set the environment variables READLINE_CFLAGS and READLINE_LIBS to avoid the need to call pkg-config.
Thus far, a workaround is to do these in shell before ./autogen.sh :
which fixes the readline issue, but then we have (backticks adjusted for compatibility):
/usr/bin/ld: liquidsfz.o: in function 'liquidsfz_user_data_dir[abi:cxx11]()': /usr/include/c++/8/bits/fs_path.h:184: undefined reference to 'std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: liquidsfz.o: in function 'liquidsfz_user_data_dir[abi:cxx11]()': /home/jeb/Downloads/liquidsfz-0.2.3/src/liquidsfz.cc:129: undefined reference to 'std::filesystem::create_directories(std::filesystem::__cxx11::path const&)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:431: liquidsfz] Error 1
To deal with that, we add to the autogen initiation :
./autogen.sh LIBS="-lstdc++fs"
The text was updated successfully, but these errors were encountered:
'autogen.sh' fails, stating that package 'readline' is not found; in Debian 10, it's 'readline-common' not 'readline'. It gives the following alternative, but I thought it reportable.
Alternatively, you may set the environment variables READLINE_CFLAGS and READLINE_LIBS to avoid the need to call pkg-config.
Thus far, a workaround is to do these in shell before ./autogen.sh :
export READLINE_LIBS="-lreadline"
export READLINE_CFLAGS='CFLAGS="-O2"'
which fixes the readline issue, but then we have (backticks adjusted for compatibility):
/usr/bin/ld: liquidsfz.o: in function 'liquidsfz_user_data_dir[abi:cxx11]()': /usr/include/c++/8/bits/fs_path.h:184: undefined reference to 'std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: liquidsfz.o: in function 'liquidsfz_user_data_dir[abi:cxx11]()': /home/jeb/Downloads/liquidsfz-0.2.3/src/liquidsfz.cc:129: undefined reference to 'std::filesystem::create_directories(std::filesystem::__cxx11::path const&)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:431: liquidsfz] Error 1
To deal with that, we add to the autogen initiation :
./autogen.sh LIBS="-lstdc++fs"
The text was updated successfully, but these errors were encountered: