Check if your perl was build with pthread and cl libraries included (perl -V). Those two need to be the first libraries in the lib list.
If not, reconfigure/compile perl (5.8) using: ./Configure -Uuseshrplib -Ui_dbm useposix=true -A prepend:libswanted='cl pthread ' Greetings, ----------------------------------- Frans Postma, (050-58) 81 852 ATOS Origin, Unix Support "If at first you don't succeed, skydiving isn't for you" > -----Oorspronkelijk bericht----- > Van: Vassiliy Truskov [mailto:[EMAIL PROTECTED] > Verzonden: donderdag 20 maart 2003 1:19 > Aan: [EMAIL PROTECTED] > Onderwerp: DBD::ODBC 1.05 on HP. Need help! > > > Hello, everybody. > > I'm trying to build DBD::ODBC 1.05 module on HP. It looks > like it was built > correctly, but the first test failed with the following error: > t/01base............/usr/lib/dld.sl: Can't shl_load() a library > containing Thread Local Storage: /usr/lib/libc.2 > /usr/lib/dld.sl: Exec format error. > > I have DBI-1.35 successfully installed. The driver manager is > sdk iodbc. > I used perl2exe perl5. The output of perl-V is > Summary of my perl5 (revision 5.0 version 6 subversion 1) > configuration: > Platform: > osname=hpux, osvers=10.01, archname=PA-RISC1.1 > uname='hp-ux papis b.10.01 b 9000831 2006002989 16-user license ' > config_args='-es [EMAIL PROTECTED] > [EMAIL PROTECTED] -Dcf_by=IndigoSTAR' > hint=previous, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > Compiler: > cc='cc', ccflags ='-D_HPUX_SOURCE -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -Ae', > optimize='-O', > cppflags='-D_HPUX_SOURCE -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -Ae' > ccversion='A.10.30', gccversion='', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=4 > alignbytes=8, usemymalloc=y, prototype=define > Linker and Libraries: > ld='ld', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt -lsec > perllibs=-lnsl_s -ldld -lm -lc -lndir -lcrypt -lsec > libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a > Dynamic Linking: > dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E > -Wl,-B,deferred ' > cccdlflags='+z', lddlflags='-b -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: USE_LARGE_FILES > Built under hpux > Compiled at Jun 24 2001 14:23:22 > %ENV: > PERL="perl" > @INC: > /disk1/vassiliy_db/perl2exe/perl2exe/perl5/lib/5.6.1/PA-RISC1.1 > /disk1/vassiliy_db/perl2exe/perl2exe/perl5/lib/5.6.1 > > /disk1/vassiliy_db/perl2exe/perl2exe/perl5/lib/site_perl/5.6.1 > /PA-RISC1.1 > /disk1/vassiliy_db/perl2exe/perl2exe/perl5/lib/site_perl/5.6.1 > /opt/perl5/lib/site_perl > . > > I built this module on the others platforms (tru64, aix and > sun) with > no problem. > If there are any other information I can provide to verify > the problem? > > Thanks, > Vassiliy > >