Domanda

I am trying to install the mongodb driver for PHP on my Amazon Linux server. I am currently running php 5.4 and have installed php54-devel. When I try to run "sudo pecl install mongo", I get the error:

/usr/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/Data/Dumper/Dumper.so: undefined symbol: Perl_Istack_sp_ptr

I get the same error when I just run "cpan" so I think it's deeper than just the PHP extension.

È stato utile?

Soluzione

I fixed the problem by deleting /usr/local/lib64/perl5/auto and running cpan again. I don't know much about perl, but from my research it seems that there must have been an incompatibility due to a previous upgrade.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top