Kirk wrote: >I have a linux 7.3 OS, successfully installed informix-client-sdk and am >trying to install DBD::Informix to no avail. The dbd install is telling me >file libifsql.so can't be found...well, it doesnt exist !! Now what? : > >########################################### >%> perl Makefile.PL > >Configuring IBM Informix Database Driver for Perl Version 1.00.PC2 >(2002-02-01) (aka DBD::Informix) > You are using DBI version 1.20 and Perl version 5.006001 >Remember to actually read the README file! > >Perl: perl5.006001 i386-linux dl_dlopen.xs >System: linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 >10:30:48 est 2002 i686 unknown >Compiler: >gcc -O2 -march=i386 -mcpu=i686 -fno-strict-aliasing -I/usr/local/include > >Using INFORMIX-ESQL Version 9.51.UC3 from /usr/local/informix-client-sdk > >Beware: DBD::Informix is not yet aware of all the new IUS data types. > >Assert macro will be disabled! > >Testing whether your Informix test environment will work... >/usr/local/informix-client-sdk/lib/esql/libifos.so: the use of `mktemp' is >dangerous, better use `mkstemp' >../esqltest: error while loading shared libraries: libifsql.so: cannot open >shared object file: No such file or directory > > >The test program esqltest compiled successfully (which is good). >However, it did not run successfully (which is bad). > >If the esqltest program did not produce any output: > This suggests that there is a problem with the ESQL/C runtime > environment, or with the database permissions (in which case, you > should have seen diagnostics from the esqltest program itself). > Consider whether the shared library path environment variable (eg > LD_LIBRARY_PATH or SHLIB_PATH) is set correctly. > >If the esqltest program did produce some output: > This suggests that you do not have enough permissions in your > Informix environment. You really need DBA (at least RESOURCE) > level privileges on the database you are using. > >If you might be having problems with ESQL/C, try to compile and run >the simple ESQL/C program esqlbasic.ec, which has no Perl related >code in it at all -- it is a pure ESQL/C program: > > esql -o esqlbasic esqlbasic.ec && esqlbasic > >If you can't get that to work, then the problem is with ESQL/C >and not with DBD::Informix per se, and you need to get your ESQL/C >installation fixed so that you can compile and run the esqlbasic >program successfully. > >Make sure you've read the whole README file before asking the >DBI/DBD community for help! > >################################################## > > >The file(s) it's looking for do not exist! Now what? >
Using $IXD as an abbreviation for $INFORMIXDIR or /usr/local/informix-client-sdk, does the file libifos.so exist in $IXD/lib/esql (or $IXD/lib)? If not, then is it mentioned in$IXD/etc/clientsdkfiles (or whatever the files list in $IXD/etc is called)? If the file is mentioned in the files list but is not installed, then you've got a faulty installation, either through some mistake that you made or through erroneous packaging of the product. If the file is not mentioned in the files list, then there is a bug somewhere in the 'esql' script. Further, I don't understand how it linked -- it should have complained that it could not find libifos.a at link time. If the file is where I've suggested, then you presumably need to set LD_LIBRARY_PATH to include $IXD/lib and $IXD/lib/esql (both directories are needed, regardless of the fact that the majority of libraries are indeed in $IXD/lib/esql). Most of this seems to be covered by the commentary about "if the esqltest program did not produce any output" which you included in the email, and which is also detailed in the README file (which is also mentioned in the message). Now, if you'd been asking about "where's _stat()?" or something similar, then there might have been more information and another story to give you. Incidentally, I'm guessing by "Linux 7.3" you mean "RedHat Linux 7.3"? -=JL=-
