PDA

View Full Version : dbdodbc.h:6:21: libudbc.h: No such file or directory


Gramasso
12-11-02, 06:51
I'm trying to install the perl module DBD:ODBC (Ver 1.0) on linux RedHat 7.3, but when i run the MAKE command it gives me the following error:

/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUtils::Command -e mkpath blib/lib/DBD/ODBC
rm -f blib/lib/DBD/ODBC/Changes.pm
cp Changes blib/lib/DBD/ODBC/Changes.pm
cp ODBC.pm blib/lib/DBD/ODBC.pm
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" < /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c
gcc -c -I. -I/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/DBI -I/usr/local/unixODBC/etc/include -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE ODBC.c
In file included from ODBC.h:9,
from ODBC.xs:1:
dbdodbc.h:6:21: libudbc.h: No such file or directory
make: *** [ODBC.o] Error 1
[root@linux DBD-ODBC-1.00]# find / -name libudbc.h
dbdodbc.h:6:21: libudbc.h: No such file or directory



This is my Configuration:
DBI version = 1.21
Perl version = 5.6.1
ODBC Manager : UnixODBC (the one included in Linux RedHat 7.3)

Anyone can help me ?

Thanks

Emmon
02-07-03, 13:31
Hi

The Libudbc.h actually sounds very much like an OpenLink SW package. I'm not familiar with how the UnixODBC package works but I do know we did bundle some of our drivers previously. For a general how-to and newsgroup, you could try www.iodbc.org. Information pertaining to getting your installation up and running can be got from there.

HTH
Emmon