-
Notifications
You must be signed in to change notification settings - Fork 4.9k
mac3.6客户端驱动找不到taosnative.dylib #30535
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
Comments
我还是没想明白,为什么java.version的不一致,最终会导致在native connectImpl可以被调用,但是却执行失败,而不是在调用connectImpl的这一刻,由jdk runtime抛出java异常。 |
注意到warning message中有提到 |
@DuanKuanJun @sheyanjie-qq 你们可以回复下 |
This issue will be fixed in next Community Edition. |
问题原因是 mac 系统下,libtaos 加载 libtaosnative,找的路径不全,需要加上安装路径。 |
添加环境变量:DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib;TD_LIBRARY_PATH=/usr/local/lib/ |
我和你一样的报错,你解决了么?你为何创建软连? 目前/opt/homebrew/Cellar/tdengine/3.3.6.0/driver 下有文件libtaos.3.3.6.0.dylib libtaosws.dylib |
不用创建软连接,添加DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib;TD_LIBRARY_PATH=/usr/local/lib/ 就行。Mac OS在2023年之后,/usr/local/lib:/usr/lib不再是DYLD_FALLBACK_LIBRARY_PATH的默认值,你可以试试 |
好了,感谢感谢感谢 |
macos15.4 taos-jdbc3.6 服务端客户端3.3.6 已对新库仿照老库加了软链
The text was updated successfully, but these errors were encountered: