首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装闸门软件

安装闸门软件
EN

Ask Ubuntu用户
提问于 2018-10-30 21:01:59
回答 1查看 152关注 0票数 0

我正试图在Ubuntu16.04上安装(make -j4)步骤:

代码语言:javascript
复制
/usr/bin/ld: cannot find -lPostscript
/usr/bin/ld: cannot find -lPhysics
collect2: error: ld returned 1 exit status
CMakeFiles/Gate.dir/build.make:16728: recipe for target 'Gate' failed
make[2]: *** [Gate] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

我怎样才能找到“附言”和“物理”?

EN

回答 1

Ask Ubuntu用户

发布于 2018-10-31 03:47:47

来自man ld

代码语言:javascript
复制
   -l namespec
   --library=namespec
       Add the archive or object file specified by namespec to the list of files to link.
       This option may be used any number of times.  If namespec is of the form :filename, ld
       will search the library path for a file called filename, otherwise it will search the
       library path for a file called libnamespec.a.

       On systems which support shared libraries, ld may also search for files other than
       libnamespec.a.  Specifically, on ELF and SunOS systems, ld will search a directory for
       a library called libnamespec.so before searching for one called libnamespec.a.  (By
       convention, a ".so" extension indicates a shared library.)  Note that this behavior
       does not apply to :filename, which always specifies a file called filename.

所以,您需要的文件是libPhysics.solibPhysics.alibPostscript.solibPostscript.a

我在Ubuntu包存档中找不到这些文件,所以我想它们是打算通过前面的步骤来设置的。

检查您的工作(您输入的命令是否正确,命令是否有效?)在前面的步骤上。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1088695

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档