0

我正在为带有 tinycore v3 的嵌入式系统编译 avahi 0.6.27

我想删除对库 ssp 的依赖(堆栈粉碎保护)。为此,我使用该选项--disable-stack-protector并进行编译。运行 avahi-daemon 时仍然给我库 ssp 的错误:

/usr/local/sbin/avahi-daemon: 加载共享库时出错: libssp.so.0: can't open shared object file: No such file or directory

我必须再添加一个选项还是不能删除依赖项?

我正在使用 ubuntu 10.04 进行编译

./configure --prefix=/usr/local --localstatedir=/var --with-distro=none --disable-stack-protector --disable-qt3 --disable-qt4 --disable-gdbm --disable-mono --with-avahi-user=tc --with-avahi-group=staff --with-avahi-priv-access-group=staff --with-autoipd-user=tc --with-autoipd-group=staff --disable-gtk3  --disable-nls --disable-glib --disable-gobject --disable-introspection --disable-gtk --disable-gtk3 --disable-dbus --disable-dbm --disable-gdbm --enable-libdaemon --disable-python --disable-pygtk --disable-python-dbus --disable-monodoc --disable-autoipd --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-rtf --disable-doxygen-xml --disable-doxygen-chm --disable-doxygen-chi --disable-doxygen-html --disable-doxygen-ps --disable-doxygen-pdf --disable-core-docs --disable-manpages --disable-xmltoman --disable-tests --disable-compat-libdns_sd --disable-compat-howl --with-distro=none --with-xml=expat
4

1 回答 1

0

将我的正确评论变成答案;

最有可能的依赖项之一是针对 ssp 而不是 avahi-daemon 本身编译的。我会使用“ldd”工具检查所有依赖项(和 avahi-daemon)。

于 2015-03-18T23:50:22.620 回答