Not sure but try "rpm -Vv" on your glib packages.

I have the following installed :
glib-1.2.10-10
glib2-2.2.1-1
glibc-devel-2.3.2-27.9.7
glibc-common-2.3.2-27.9.7
glibc-kernheaders-2.4-8.10
glib-devel-1.2.10-10
glibc-2.3.2-27.9.7

I remembered seeing the same GLIB_2.0 error while I was installing
DBD::DB2 on my laptop. i think I did up2date ( RedHat 9.0) and that
solved the problem.

Good luck.

-Sumitro.



On Fri, 2004-02-06 at 11:53, Carlos Calderon wrote:
> Thanks for the prompt help. I was able to run perl Makefile.pl and
> make but now I'm seeing the below when trying to run make test:
> 
> # make test
> make[1]: Entering directory `/tmp/DBD-DB2-0.74/Constants'
> make[1]: Leaving directory `/tmp/DBD-DB2-0.74/Constants'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/base....install_driver(DB2) failed: Can't load
> '/tmp/DBD-DB2-0.74/blib/arch/auto/DBD/DB2/DB2.so' for module DBD::DB2:
> /usr/IBMdb2/
> V7.1/lib/libdb2.so.1: symbol _res, version GLIBC_2.0 not defined in
> file libc.so.6 with link time reference at /usr/lib/perl5/5.8.0/
> i386-linux-thread-multi/DynaLoader.pm line 229.
>  at (eval 1) line 3
> Compilation failed in require at (eval 1) line 3.
> Perhaps a required shared library or dll isn't installed where
> expected
>  at t/base.t line 16
> t/base....dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 4-5
>         Failed 2/5 tests, 60.00% okay
> t/main....ok
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/base.t     255 65280     5    2  40.00%  4-5
> Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67%
> okay.
> make: *** [test_dynamic] Error 29
> 
> Any other ideas?
> 
> Carlos Calderon
> IBM Pervasive Computing
> (919) 543-9153
> 
> 
> 
> Sumitro Chowdhury
> <[EMAIL PROTECTED]>
> 
> 02/06/2004 10:18 AM
> Please respond to
> chowdhurys
>         
>         To:      
> Carlos
> Calderon/Raleigh/[EMAIL PROTECTED]
>         cc:      
> dbi-users
> <[EMAIL PROTECTED]>
>         Subject:      
> Re: Linux sqlcli.h,
> sqlcli1.h and sqlext.h
> 
> 
> Hello Carlos,
> In linux, the directory "/usr/IBMdb2/V7.1/include" contains all these
> files. ( DB2 V7.2 ).
> 
> Normally these files get installed when you install DB2 Application
> Development Client. Simply downloading/copying these .h files may not
> help.
> 
> Also before installing DBD::DB2, export variables DB2DIR and DB2_HOME
> to
> "/usr/IBMdb2/V7.1" or whereever you have installed the App. dev.
> client.
> 
> See
> http://www-3.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/download.d2w/report
> 
> HTH,
> 
> Sumitro Chowdhury.
> 
> 
> On Fri, 2004-02-06 at 08:15, Carlos Calderon wrote:
> > Hi,
> > 
> > I am trying to install the DB2 DBD driver to write Perl scripts for 
> > querying a DB2 database. I was able to build the DBI and the test.pl
> was 
> > successful. But when I tried to compile the driver I got this
> message:
> > 
> > Constants.xs:16:20: sqlcli.h: No such file or directory
> > Constants.xs:16:20: sqlcli1.h: No such file or directory
> > Constants.xs:16:20: sqlext.h: No such file or directory
> > make[1]: *** [Constants.o] Error 1
> > 
> > Can you please let me know where I can download these .h files from?
> > 
> > Thanks in advance
> > 
> > Carlos Calderon
> > IBM Pervasive Computing
> > (919) 543-9153
> 
> 

Reply via email to