[英]Solaris 5.10 x86 CC linker error: ld: fatal: library -lcryptoki: not found
we have SPARC project to port to x86 with static linking. 我们有SPARC项目可以通过静态链接移植到x86。 The final step with CC compiler in the linker fails:
在链接器中使用CC编译器的最后一步失败了:
ld: fatal: library -lcryptoki: not found ld: fatal: library -lrt: not found ld: fatal: library -lsocket: not found etc. ld:致命:库-lcryptoki:找不到ld:致命:库-lrt:找不到ld:致命:库-lsocket:找不到等
The path to the libs are: /usr/local/lib /opt/csw/lib 库的路径是:/ usr / local / lib / opt / csw / lib
Where are these libs have gone? 这些库在哪里去了? Thanks!
谢谢!
Solaris 10 removed system static libraries. Solaris 10删除了系统静态库。 You must dynamically link Solaris 10 (and later) executables.
您必须动态链接Solaris 10(及更高版本)的可执行文件。
Features Removed from the Solaris 10 Operating System
从Solaris 10操作系统中删除的功能
Solaris Static System Libraries
Solaris静态系统库
This announcement applies only to 32-bit static-system libraries and statically linked utilities.
此公告仅适用于32位静态系统库和静态链接的实用程序。 Sixty-four-bit static system libraries and utilities have never been provided.
从未提供过64位静态系统库和实用程序。
Support for 32-bit Solaris static-system libraries and statically linked utilities is no longer provided in Solaris.
Solaris不再提供对32位Solaris静态系统库和静态链接的实用程序的支持。 Of particular note, support for the static C library (/usr/lib/libc.a) is no longer provided in Solaris.
特别要注意的是,Solaris不再提供对静态C库(/usr/lib/libc.a)的支持。
Applications that are linked with existing static system libraries might not work correctly in Solaris.
与现有静态系统库链接的应用程序可能无法在Solaris中正常运行。 Only applications that are dynamically linked with the system libraries that provide the Solaris application binary interface (ABI) are designed for future compatibility.
仅将与提供Solaris应用程序二进制接口(ABI)的系统库动态链接的应用程序设计用于将来的兼容性。
Applications that directly depend on the behavior of system traps might not work correctly in Solaris.
直接依赖系统陷阱行为的应用程序在Solaris中可能无法正常工作。 Applications that link with non-Sun libraries that directly depend on the behavior of system traps, typically libraries that provide substitute ABI functions, might not work correctly in Solaris.
与直接依赖系统陷阱行为的非Sun库链接的应用程序(通常提供替代ABI功能的库)在Solaris中可能无法正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.