Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After building kmscon, I try to run it but get the error message:

% ./kmscon
/home/janus/kmscon/.libs/lt-kmscon: symbol lookup error: /home/janus/kmscon/.libs/libuterm.so.1: undefined symbol: xkb_state_get_keymap

Full terminal log here: https://gist.github.com/ysangkok/5363162

share|improve this question

1 Answer 1

I solved it by

  • changing #include <xkbcommon/xkbcommon.h> to #include "xkbcommon/xkbcommon.h"
  • configuring with PKG_CONFIG_PATH="$HOME/libxkbcommon/" ./configure
  • ln -s ~/libxkbcommon/xkbcommon ~/kmscon/xkbcommon.
share|improve this answer
    
Could you care to expand the answer with why it worked? E.g. #include <xkbcommon/xkbcommon.h> searched in standard places. It did not find it and rather then point to a new location I just copied it to my homedir (ok, you softlinked it) and I told the include to search in a specific hard coded path. –  Hennes Nov 17 at 17:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.