如何使用 MacPorts 降级动态库?
我的 py-mysql 很糟糕,因为我升级了 MySQL,用 libmysqlclient_r.16.dylib
替换了 libmysqlclient_r.15.dylib
。如何找到并恢复旧版本?
编辑:我发现要安装旧版本的 MySQL,我需要执行@,但我仍在寻找找到旧版本的方法。
My py-mysql is farking because I've upgraded MySQL which replaced libmysqlclient_r.15.dylib
with libmysqlclient_r.16.dylib
. How do I find and get back the older version?
EDIT: I found that to intall an older version of MySQL, I need to do @, but I'm still looking for the way to find the older versions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不知道如何找到旧版本(请仍然回答,我会接受)。但我修复它的方法是激活旧版本:
耶!
Didn't figure out how to find older versions (please answer still, I'll accept). But the way I fixed it was to activate the older version:
Yay!
安装旧版本很痛苦。您必须从 MacPorts SVN 存储库 获取文件,这很棘手,因为您无法直接搜索特定版本。下载适当的端口文件后,就像安装任何其他端口一样简单。有关详细信息,请阅读官方如何安装旧版本的 port 文档。还有一个旧程序 将下载的端口添加到本地端口存储库。
Installing older versions is a pain. You have to grab the files from the MacPorts SVN Repository, which is tricky, since you can't directly search for a particular version. Once you've downloaded the appropriate portfile, it's easy as installing any other port. Read the official how to install an older version of a port document for the details. There's also an older procedure that has you add the downloaded port to a local port repository.