Linux ld找不到已安装的库

Linux ld找不到已安装的库,linux,Linux,我正在尝试安装spice gkt,在某个时候我到达了这个死胡同 我的设置: 具有ARM架构的PC Debian 7正在运行(更改版本) 错误: Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and sp

我正在尝试安装spice gkt,在某个时候我到达了这个死胡同

我的设置:
具有ARM架构的PC
Debian 7正在运行(更改版本)

错误:

Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include/spice-controller'
/usr/bin/install -c -m 644 spice-controller.h '/usr/local/include/spice-controller'
make[6]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk/controller'
make[5]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk/controller'
make[4]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk/controller'
make[4]: Entering directory `/home/cubie/Desktop/spice-gtk-0.22/gtk'
CCLD libspice-client-glib-2.0.la
/usr/bin/ld: cannot find -lcelt
collect2: ld returned 1 exit status
make[4]: *** [libspice-client-glib-2.0.la] Error 1
make[4]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22/gtk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/cubie/Desktop/spice-gtk-0.22'
make: *** [install] Error 2

Spice依赖于已安装的libcelt051。。。所以,我真的不知道是什么导致了这种情况。

/usr/local/bin
通常不用于库


您需要正确安装libcelt。通过从您的发行版软件包管理器安装它,或者下载所需版本,然后使用通常的
/configure&&make&&sudo make install

编译并安装它
libcelt.so
libcelt.a
在哪里?您是否运行了
ldconfig
?您是否编辑了
/etc/ld.so.conf
?您是否将一些
-L
标志传递给了
gcc
?或者可能是符号链接
libcelt-0.5.1。因此
(*我猜全名为OP states libcelt051*)缺少一个等效的
libcelt。因此
?@Maxim Yegorushkin,我找不到它们,我有at/usr/local/bin libcelt051.so和libcelt051。a@BsileStarynkevitch我确实运行了ldconfig,但还没有编辑ld.so.conf,是吗?尚未向gcc传递任何标志。