如何使用 MacPorts 降级动态库?

发布于 2024-08-08 19:52:25 字数 183 浏览 1 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

锦上情书 2024-08-15 19:52:25

不知道如何找到旧版本(请仍然回答,我会接受)。但我修复它的方法是激活旧版本:

dreBook:~ fedorov$ port installed mysql5
The following ports are currently installed:
  mysql5 @5.0.81_0
  mysql5 @5.1.40_0 (active)
dreBook:~ fedorov$ sudo port activate mysql5 @5.0.81_0
--->  Deactivating mysql5 @5.1.40_0
--->  Activating mysql5 @5.0.81_0
dreBook:~ fedorov$ sudo apachectl restart

耶!

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:

dreBook:~ fedorov$ port installed mysql5
The following ports are currently installed:
  mysql5 @5.0.81_0
  mysql5 @5.1.40_0 (active)
dreBook:~ fedorov$ sudo port activate mysql5 @5.0.81_0
--->  Deactivating mysql5 @5.1.40_0
--->  Activating mysql5 @5.0.81_0
dreBook:~ fedorov$ sudo apachectl restart

Yay!

无所的.畏惧 2024-08-15 19:52:25

安装旧版本很痛苦。您必须从 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文