aliyun / alibabacloud-nls-cpp-sdk

The C++ SDK for Alibaba nature language and speech APIs.
Apache License 2.0
52 stars 30 forks source link

undefined reference to `ber_free' #15

Open juaby opened 1 year ago

juaby commented 1 year ago

OS: Debian 5.10.158-2 (2022-12-13) x86_64

./scripts/build_linux.sh all release

NlsSdk3.X_LINUX/lib/libalibabacloud-idst-speech.so: undefined reference to `ber_free'

wertyac commented 4 months ago

the same issue。

season4675 commented 2 months ago

这个问题是在最后一步编译demo时链接动态库libalibabacloud-idst-speech.so发现缺少ber_free。可以在demo/Linux/CMakeLists.txt 增加链接,比如 target_link_libraries(demo alibabacloud-idst-speech pthread ldap lber ........)