无法安装libjack-dev

我在Ubuntu 14.04上。 64位,我正在尝试安装linuxband。 要做的是我需要安装包libjack-dev,但是当我这样做时,我获得以下消息:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libjack-dev : Depends: libjack0 (= 1:0.121.3+20120418git75e3e20b-2.1ubuntu1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

关键是我确实安装了另一个libjack-jackd2,但是当我为linuxband运行./configure时,我得到:

 checking for JACK_MIDI_NEEDS_NFRAMES... no 

这是列表中唯一没有的。 当我运行make时,它会生成大量未定义的引用(示例:

 src/main/c/linuxband-player.c: In function 'main': src/main/c/linuxband-player.c:768:2: warning: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:261) [-Wdeprecated-declarations] g_thread_init(NULL); ^ 

或以后

 linuxband-player.c:(.text+0x50b): undefined reference to `jack_transport_query' linuxband-player.c:(.text+0x586): undefined reference to `jack_transport_query' linuxband-player.c:(.text+0x5a1): undefined reference to `jack_last_frame_time' linuxband-player.c:(.text+0x615): undefined reference to `jack_last_frame_time' linuxband-player.c:(.text+0x672): undefined reference to `smf_peek_next_event' linuxband-player.c:(.text+0x6b5): undefined reference to `smf_event_is_metadata 

等等)

直到它结束:

  /tmp/ccrh0o5V.o:remote_control.c:(.text+0xf01): more undefined references to `g_log' follow collect2: error: ld returned 1 exit status make: *** [target/linuxband-player] Error 1 

有人可以帮忙吗?

我有一个类似的情况,其中libjack0不会自动安装,因为skype:i386搞砸了它(因为Skype没有适用于Linux的64位版本)。

我的解决方案就是强迫它:

 sudo apt-get install libjack0 

然后它要我确认libjack0安装,这意味着卸载了一些其他冲突的程序(包括我的特定情况下的Skype)。 然后它顺利安装了libjack-dev (对我来说这是构建Audacity的要求)。