在mac

时间:2016-08-15 10:06:26

标签: mysql macos perl

我正按照Installing Perl, DBD::mysql and Ensembl on OSX

中的描述进行操作

然后我打开终端时总是出错

-bash: eval: line 33: syntax error: unexpected end of file

但是,我成功安装了DBD::mysql但是当我尝试安装核心依赖项时,它给了我一个错误

Admins-MBP:~ admin$ sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
ln: /usr/lib/libmysqlclient.18.dylib: Operation not permitted
Admins-MBP:~ admin$ 

所以我在Stack Overflow问题Rails on OSX 10.11 El Capitan: Library not loaded: libmysqlclient.18.dylib

中找到了解决方案

我使用了解决方案

sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib

现在我执行以下操作并收到错误

Admins-MBP:~ admin$ sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib
Admins-MBP:~ admin$ perl ~/src/ensembl/misc-scripts/ping_ensembl.pl
Can't open perl script "/Users/admin/src/ensembl/misc-scripts/ping_ensembl.pl": No such file or directory
Admins-MBP:~ admin$ 

有人可以帮我处理它并让这个bioperl运行吗?

0 个答案:

没有答案