Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build过程中出现找不到'RTLD_DEEPBIND'的问题 #3

Closed
JohannaXiao opened this issue Dec 4, 2021 · 1 comment
Closed

build过程中出现找不到'RTLD_DEEPBIND'的问题 #3

JohannaXiao opened this issue Dec 4, 2021 · 1 comment

Comments

@JohannaXiao
Copy link

crypto/dso/dso_dlfcn.c:101:17: error: use of undeclared identifier 'RTLD_DEEPBIND'
    int flags = DLOPEN_FLAG;
                ^
crypto/dso/dso_dlfcn.c:88:35: note: expanded from macro 'DLOPEN_FLAG'
#  define DLOPEN_FLAG (RTLD_NOW | RTLD_DEEPBIND)  /* Hope this works everywhere else */
                                  ^
1 error generated.
make[5]: *** [crypto/dso/dso_dlfcn.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [all] Error 2

@jntass 请问这个问题可以怎么解决

@yanshichao0226
Copy link
Contributor

两种解决方法:

  1. 修改这两处,去掉RTLD_DEEPBIND。这个宏是为了支持我们的硬件产品,去掉这个宏不会影响软算法
    1638758783(1)
  2. 升级glibc版本
    1638759134(1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants