make 命令的输出 FBReader open source - /usr/bin/ld: 找不到 -llinebreak

make 命令的输出 FBReader open source - /usr/bin/ld: 找不到 -llinebreak

我是 Ubuntu 新手。我想做一个 FBReader 开源项目。请帮我解决我不足的地方?

Creating libzltext.so.0.14.0 .../usr/bin/ld: **cannot find -llinebreak
collect2: ld returned 1 exit status**
make[1]: *** [libzltext.so.0.14.0] Error 1

答案1

FBReader/README.build

FBReader requires
** expat -- library for XML parsing. AFAIK, all popular destributions
includes package with name like 'expat-dev' or 'libexpat-dev'.
If you cannot find expat in your distribution, please visit
http://expat.sourceforge.net
** libz and libbz2 -- libraries for zip and bzip2 (de)compression
** UI library -- this depends on your target platform. For desktop,
Qt library, version 3.* or 4.*
OR
GTK+ library, version >= 2.4
should be installed
** liblinebreak (http://vimgadgets.cvs.sourceforge.net/vimgadgets/common/tools/linebreak/)
   library for line breaking in a Unicode sequence
** libfribidi -- for bidirectional text support
** lincurl, version >= 7.17 -- for network libraries integration
** libsqlite3

您需要从源代码安装liblinebreak,下载此压缩包并在解压档案的位置输入以下命令:

 sudo apt-get install automake
 ./bootstrap
 aclocal
 autoconf
 automake --add-missing
 ./configure
 make
 sudo make install

相关内容