我使用以下库制作了一个简单的bioperl脚本
use warnings;
use strict;
use Bio::SeqIO;
use File::Basename;
use Getopt::Std;
它曾经可以工作,但是由于一些perl更新,它失败了:
dyld:懒惰的符号绑定失败:找不到符号:_Perl_xs_handshake 引用自:/opt/local/lib/perl5/site_perl/5.26/darwin-thread-multi-2level/auto/IO/IO.bundle 预期用于:平面名称空间
模型:未找到符号:_Perl_xs_handshake 引用自:/opt/local/lib/perl5/site_perl/5.26/darwin-thread-multi-2level/auto/IO/IO.bundle 预期用于:平面命名空间
我使用macport有时使用cpan(也许不是一个好主意!)来维护我的OSX笔记本电脑(10.13.5)
我的perl -V给出:
我的perl5(修订版5,版本26,subversion 2)配置的摘要:
平台: osname =达尔文 osvers = 17.6.0 archname = darwin-thread-multi-2level uname ='darwin highsierra.internal.macports.net 17.6.0 darwin内核版本17.6.0:2018年5月8日星期二15:22:16根目录:xnu-4570.61.1〜1release_x86_64 x86_64' config_args ='-des -Dprefix = / opt / local -Dscriptdir = / opt / local / bin -Dvendorprefix = / opt / local -Dusemultiplicity = y -Dusethreads -Duseshrplib -Dcc = / usr / bin / clang -Dman1ext = 1pm- Dman3ext = 3pm -Dinstallstyle = lib / perl5 -Dman1dir = / opt / local / share / man / man1p -Dman3dir = / opt / local / share / man / man3p -Dsitebin = / opt / local / libexec / perl5.26 / sitebin -Dsiteman1dir = / opt / local / share / perl5.26 / siteman / man1 -Dsiteman3dir = / opt / local / share / perl5.26 / siteman / man3 -Dvendorbin = / opt / local / libexec / perl5.26 -Dvendorman1dir = / opt /本地/共享/perl5.26/man/man1 -Dvendorman3dir = / opt /本地/share/perl5.26/man/man3 -Dpager = / usr / bin / less -sR -Dperlpath = / opt / local / bin / perl5.26 -Dstartperl =#!/ opt / local / bin / perl5.26 -Acppflags = -I / opt / local / include -Accflags = -pipe -Os -Alddlflags = -L / opt / local / lib- WL,-headerpad_max_install_names -Aldflags = -L / opt / local / lib -WL,-headerpad_max_install_names' 提示=推荐 useposix = true d_sigaction =定义 useithreads =定义 usemultiplicity =定义 use64bitint =定义 use64bitall =定义 uselongdouble = undef usemymalloc = n default_inc_excludes_dot =定义 bincompat5005 =未定义 编译器: cc ='/ usr / bin / clang' ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min = 10.13 -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I / opt / local / include -DPERL_USE_SAFE_PUTENV' 优化='-O3' cppflags ='-I / opt / local / include -fno-common -DPERL_DARWIN -mmacosx-version-min = 10.13 -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I / opt / local / include' ccversion ='' gccversion ='4.2.1兼容的Apple LLVM 9.1.0(clang-902.0.39.2)' gccosandvers ='' intsize = 4 长尺寸= 8 ptrsize = 8 doublesize = 8 字节序= 12345678 doublekind = 3 d_longlong =定义 longlongsize = 8 d_longdbl =定义 longdblsize = 16 longdblkind = 3 ivtype ='long' ivsize = 8 nvtype ='double' nvsize = 8 Off_t ='off_t' lseeksize = 8 alignbytes = 8 原型=定义 链接器和库: ld ='/ usr / bin / clang' ldflags ='-mmacosx-version-min = 10.13 -L / opt / local / lib -Wl,-headerpad_max_install_names -fstack-protector-strong' libpth = / opt / local / lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault .xctoolchain / usr / lib / usr / lib libs = -lpthread -lgdbm -ldbm -ldl -lm -lutil -lc perllibs = -lpthread -ldl -lm -lutil -lc libc = so = dylib Usehrplib = true libperl = libperl.dylib gnulibc_version ='' 动态链接: dlsrc = dl_dlopen.xs dlext =捆绑 d_dlsymun = undef ccdlflags ='' cccdlflags ='' lddlflags ='-mmacosx-version-min = 1.13 -bundle-未定义的dynamic_lookup -L / opt / local / lib -Wl,-headerpad_max_install_names -fstack-protector-strong'
此二进制文件的特征(来自libperl): 编译时选项: HAS_TIMES 多重性 PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API 建于达尔文之下 编译于2018年6月19日13:45:49 %ENV: PERL5LIB =“ / opt / local / lib / perl5 / site_perl / 5.26 :: / opt / biotools / ensembl_main / bioperl-1.2.3:/ opt / biotools / ensembl_main / bioperl-live:/ opt / biotools / ensembl_main / ensembl /模块:/ opt / biotools / ensembl_main / ensembl-compara /模块:/ opt / biotools / ensembl_main / ensembl-variation / modules:/ opt / biotools / ensembl_main / ensembl-functgenomics / modules:/ opt / biotools / ensembl_main / ensembl-外部/模块:/ opt / biotools / ensembl_main / ensembl-tools /模块:/ opt / biotools / circos / lib:/ opt / biotools / circosapi / lib:/ opt / biotools / GeneNomenclatureUtils /模块:/ opt / biotools / Haplotyping -0.1.0 / Perl:/ opt / biotools / hmmer / PfamScan:/ opt / biotools / kaviar:/ opt / biotools / pita / lib:/opt/biotools/vcftools/lib/perl5/site_perl/5.24:/ work / MyScripts /模块:/ work / MyScripts / pharmgkb:/ opt / biotools / mummer / scripts” @INC: /opt/local/lib/perl5/site_perl/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.26 /opt/biotools/ensembl_main/bioperl-1.2.3 / opt / biotools / ensembl_main / bioperl-live / opt / biotools / ensembl_main / ensembl / modules / opt / biotools / ensembl_main / ensembl-compara / modules / opt / biotools / ensembl_main / ensembl-variation / modules / opt / biotools / ensembl_main / ensembl-functgenomics / modules / opt / biotools / ensembl_main / ensembl-external / modules / opt / biotools / ensembl_main / ensembl-tools / modules / opt / biotools / circos / lib / opt / biotools / circosapi / lib / opt / biotools / GeneNomenclatureUtils /模块 /opt/biotools/Haplotyping-0.1.0/Perl / opt / biotools / hmmer / PfamScan / opt / biotools / kaviar / opt / biotools / pita / lib /opt/biotools/vcftools/lib/perl5/site_perl/5.24 / work / MyScripts /模块 / work / MyScripts / pharmgkb / opt / biotools / mummer / scripts /opt/local/lib/perl5/site_perl/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.26 /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.26 /opt/local/lib/perl5/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/5.26
我怀疑我更改了某些路径或依赖项,但找不到。 有想法吗?
预先感谢