Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required 'readline' package not found in Debian 10 #28

Open
jebofponderworthy opened this issue Jul 5, 2021 · 0 comments
Open

Required 'readline' package not found in Debian 10 #28

jebofponderworthy opened this issue Jul 5, 2021 · 0 comments

Comments

@jebofponderworthy
Copy link

jebofponderworthy commented Jul 5, 2021

'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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant