Search code examples
oraclestrawberry-perlora2pg

ora2pg - Strawberry perl - Can't load module Oracle.xs.dll


When i try to launch the following line :

ora2pg -t SHOW_VERSION -c config/ora2pg.conf

I get the following error :

install_driver(Oracle) failed: Can't load 'C:\Strawberry\perl\site\lib/auto/DBD/Oracle/Oracle.xs.dll' for module DBD::Oracle: load_file:Le module spécifié est introuvable at C:/Strawberry/perl/lib/DynaLoader.pm line 193. at (eval 15) line 3.

Compilation failed in require at (eval 15) line 3.

Perhaps a required shared library or dll isn't installed where expected at C:\Strawberry\perl\site\lib/Ora2Pg.pm line 1552.

I'm using Strawberry perl 5.28, 64bit.

What can I do ?


Solution

  • I solved this by adding the Oracle directory in the PATH.