I am running the make on the DBD::Informix module and I am getting an error that it can't create the Informix.so
file. If you take a look at the first step it did for the make
it removed the original Informix.so
file. But it looks like an environment variable that has a value of "/usr/bin/perl"
is being appended to the path so it is not able to create (make) the new Informix.so
file.
Has anyone seen this before? It looks like INFORMIXC is the variable that's being appended to it. Can I change this? I tried the suggestion in this article from CPAN and downgraded to that module but no luck.
Error
/opt/informix/bin/esql: line942: /home/pdoug/.cpan/sources/authors/id/J/JO/JOHNL/DBD-Informix-2013.0521/"/usr/bin/perl": No such file or directory
make: *** [blib/arch/auto/DBD/Informix/Informix.so] Error 127
[root@sandbox-support DBD-Informix-2013.0521]# make
rm -f blib/arch/auto/DBD/Informix/Informix.so
INFORMIXC='"/usr/bin/perl" esqlld' ESQLLD='gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp- buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ' esql -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro Informix.o dbdimp.o dbdattr.o sqltoken.o sqltype.o ixblob.o odbctype.o kludge.o link.o esqlcver.o esqlc_v6.o -o blib/arch/auto/DBD/Informix/Informix.so \
Installed version 6.66 as recommended from a similar issue and it didn't fix the issue
Writing /root/.cpan/Metadata
ExtUtils::MakeMaker
(no description)
B/BI/BINGOS/ExtUtils-MakeMaker-7.04.tar.gz
/root/perl5/lib/perl5/ExtUtils/MakeMaker.pm
Installed: 6.66
CPAN: 7.04 Not up to date
Chris Williams (BINGOS)
chris@bingosnet.co.uk