Hello,

has anybody a working setup of the openlink Multi-Tier ODBC driver?
I try to connect the radiator server from my SuSE Linux Box 
to a MS-SQL6 database. 
I have installed the openlink software on both sides and 
the odbctest program on the linux box works. 
So far fine. But when i try to compile the perl DBD-ODBC
package i get an undefined symbol error during the test
of the package. 

The program version i use
DBD-ODBC-0.20
DBI-1.06
perl-5.005_02

Maybe somebody has a working db-connection and can give me some hints
on the setup.


Kind regards,

   Christian Braun.
   Nikoma MediaWorks GmbH


babylon5:/usr/src/Perl/DBD-ODBC-0.20 # perl Makefile.PL -o /usr/local/openlink/lib/

Configuring DBD::ODBC ...

>>>     Remember to actually *READ* the README file!
        And re-read it if you have any problems.

Using DBI 1.06 installed in /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
Using ODBC in /usr/local/openlink/lib/

Umm, this looks like a iodbc type of driver manager.

We expect to find the isql.h, isqlext.h and iodbc.h files (which were
supplied with iODBC) in $ODBCHOME directory alongside
the /usr/local/openlink/lib//libiodbc.a /usr/local/openlink/lib//libiodbc.so library.

Use of uninitialized value at Makefile.PL line 138.
Warning: LD_LIBRARY_PATH doesn't include /usr/local/openlink/lib/

Note (probably harmless): No library found for -l/usr/local/openlink/lib//libiodbc.a
Using DBI 1.06 installed in /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:
    DBI_DSN=            e.g. dbi:ODBC:demo
    DBI_USER=
    DBI_PASS=
Warning: not all required environment variables are set.

 
babylon5:/usr/src/Perl/DBD-ODBC-0.20 # make
cc -c -I. -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI -Dbool=char -DHAS_BOOL 
-I/usr/local/include -O2 -pipe    -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fpic 
-I/usr/lib/perl5/5.00502/i586-linux/CORE -I/usr/local/openlink/lib/ ODBC.c
cc -c -I. -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI -Dbool=char -DHAS_BOOL 
-I/usr/local/include -O2 -pipe    -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fpic 
-I/usr/lib/perl5/5.00502/i586-linux/CORE -I/usr/local/openlink/lib/ dbdimp.c
Running Mkbootstrap for DBD::ODBC ()
chmod 644 ODBC.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBD/ODBC/ODBC.so  -shared -L/usr/local/lib ODBC.o 
dbdimp.o     
chmod 755 blib/arch/auto/DBD/ODBC/ODBC.so
cp ODBC.bs blib/arch/auto/DBD/ODBC/ODBC.bs
chmod 644 blib/arch/auto/DBD/ODBC/ODBC.bs
Manifying blib/man3/DBD::ODBC.3pm

babylon5:/usr/src/Perl/DBD-ODBC-0.20 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/lib/perl5/5.00502/i586-linux -I/usr/lib/perl5/5.00502 -e 'use Test::Harness 
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01base............install_driver(ODBC) failed: Can't load 
'blib/arch/auto/DBD/ODBC/ODBC.so' for module DBD::ODBC: 
blib/arch/auto/DBD/ODBC/ODBC.so: undefined symbol: SQLTables at 
/usr/lib/perl5/5.00502/i586-linux/DynaLoader.pm line 168.

 at (eval 1) line 2

 at t/01base.t line 14
dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
t/02simple..........Can't connect, no database driver specified at t/02simple.t line 16
dubious
        Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at 
/usr/lib/perl5/5.00502/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 2



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to