免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3449 | 回复: 1
打印 上一主题 下一主题

Can't shl_load() a library containing Thread Local Storage [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-08-12 13:26 |只看该作者 |倒序浏览
I meet following error message when I use '-lcl ':
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
the '-lcl' is required for the function U_STACK_TRACE(),  can anyone
give me any help?
Thanks in advance!

论坛徽章:
0
2 [报告]
发表于 2003-10-09 18:59 |只看该作者

Can't shl_load() a library containing Thread Local Storage

The problem is that any shared library that contains Thread Local Storage (TLS) cannot be used as a dependency of another shared library. There are at least two ways around this problem. First, you can link each incomplete executable against each of the dependent library that use TLS. Second, you can use the LD_PRELOAD environment variable to load the dependent shared libraries at startup. You can specify multiple shared libraries by separating each library name with a colon. You can specify the full path the the library, or leave the path off the library name to cause the loader to use the standard search path.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP