简体   繁体   English

Solaris 5.10 x86 CC链接器错误:ld:致命:库-lcryptoki:找不到

[英]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.

相关问题 ld:致命的:库-lm:在solaris 10中找不到 - ld: fatal: library -lm: not found in solaris 10 DiInstallDevice x86的链接器错误 - Linker error with DiInstallDevice x86 “ ld:找不到体系结构x86_64的符号”上的“铛:错误:链接器命令失败,退出代码为1” - “clang: error: linker command failed with exit code 1” on “ld: symbol(s) not found for architecture x86_64” 链接器错误:ld:找不到体系结构x86_64的符号 - Linker error : ld: symbol(s) not found for architecture x86_64 Xcode链接器错误:ld:-twsapi找不到库 - Xcode linker error: ld: library not found for -twsapi Swift Static Library based on C++ sources: linker command failed error: ld: symbol(s) not found for architecture x86_64 clang - Swift Static Library based on C++ sources: linker command failed error: ld: symbol(s) not found for architecture x86_64 clang 调试X86生成的Visual Studio链接器错误 - Visual Studio Linker Error for Debug X86 Build ld:找不到体系结构x86_64的符号clang:错误:链接器命令失败,退出代码为1(使用-v查看调用) - ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:找不到体系结构x86_64的符号clang:错误:链接器命令失败,退出代码为1(使用-v查看 - ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see C ++库编程错误:找不到架构x86_64的ld:符号 - C++ Library programming error: ld: symbol(s) not found for architecture x86_64
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM