RE: Problem running Perl DBD-DB2-0.78 on AIX 5.3 using the DB2 UDB v8.2 (on AIX 5.3) client libraries



Hi,



I am having problems running DBI-1.48 using DBD-DB2-0.78.
The issue is that when I run a "make test" prior to running a "make
install" for the compilation of the Perl DBD-DB2-0.78 module on AIX 5.3
using the client libraries that come with DB2 UDB v8.2 (installed on AIX
5.3 as well) only 60% of the tests pass (The IBM VAC v6.0 C/C++
compiler was used for compilation) . The "make install" when invoked
complains that it cannot load the following two libraries: "libdb2.a and
libdb2osse.a" even though the "$DB2_HOME" directory is set using the
"export DB2_HOME=/db2home/db2fald1"; both of the aforementioned
libraries exist under the "$DB2_HOME/sqllib/lib" directory.



The "make install" for the DBD-DB2-0.78 Perl module will
compile without any fatal errors. However, when the DBI-1.48/
DBD-DB2-0.78 combination is called within the body of a "main" Perl
script the following errors are produced:



Can't load
'/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBD/DB2/DB2.so
' for module DBD::DB2: 0509-022 Cannot load module
/db2home/db2fald1/sqllib/lib/libdb2.a(shr.o).

0509-150 Dependent module
/db2home/db2fald1/sqllib/lib/libdb2osse.a(shr.o) could not be loaded.

0509-152 Member shr.o is not found in archive

0509-022 Cannot load module
/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBD/DB2/DB2.so.

0509-150 Dependent module
/db2home/db2fald1/sqllib/lib/libdb2.a(shr.o) could not be loaded. at
/usr/opt/perl5/lib/5.8.2/aix-thread-multi/DynaLoader.pm line 229.

at ./falcon_bmg.pl line 5

Compilation failed in require at ./falcon_bmg.pl line 5.

BEGIN failed--compilation aborted at ./falcon_bmg.pl line 5.



It still complains about not being able to load the shared object
libraries "libdb2.a" and "libdb2osse.a" ; any thoughts and/or insights
you might have to possibly solve this, would be highly appreciated.





Thanks



C.L. Grassi







Relevant Pages

  • fault installing DBD::mysql in solaris 9
    ... people said that a new mysql server compiled by them solved the problem ... I configure the make as it was recommended by the install document ... detection includes or libraries problems. ... The GD module I compiled again, with the fixed compilation ...
    (comp.lang.perl.modules)
  • Installing DjVu plug-in
    ... I had an unsuccessful attempt to install DjVuLibre -3.5.17 plug-in on ... bash: Gyurka@bakacs: command not found ... You can then perform the compilation by typing ...
    (Fedora)
  • Re: Linux Vs. FreeBSD
    ... >>> required to install a binary under ideal conditions. ... an automated compilation system is an ... > good way to handle very small packages where the amount of time needed ... daily updates typically take about 1.5 ...
    (comp.os.linux.misc)
  • RE: Unable to install DBD:Sybase-1.08 on my AIX 5.2 server with Perl 5.8.0 DBI-1.43
    ... Contact your program supplier to add ... Compilation will proceed shortly. ... Subject: Unable to install DBD:Sybase-1.08 on my AIX 5.2 server with ... any attachments. ...
    (perl.dbi.users)
  • Re: Linux Vs. FreeBSD
    ... >>> required to install a binary under ideal conditions. ... an automated compilation system is an ... Maybe a windows machine would slow to a halt. ... > good way to handle very small packages where the amount of time needed ...
    (comp.os.linux.misc)