Wednesday, January 16, 2013

Fix bioperl linking problem on a Apple Snow Leopard laptop

Bioperl related library cannot be linked. The problem seems to be that perl 5.10.0 is installed on this laptop, but bioperl is still tied to 5.8.9.

Add the following line to perl script:
 BEGIN { unshift(@INC,"/opt/local/lib/perl5/site_perl/5.8.9"); }
This fixes the problem, although I need to add this line to every perl script that calls bioperl.

I also rebuilt bioperl and reinstalled it, which went under site_perl/5.10.0 directory. Hopefully, this will fix the bioperl links for all scripts. I tested _2.3get.omega.Jan16,2013.pl, and it indeed worked.




No comments:

Post a Comment