:SQLite failing on Solaris + fix

IvorW combobulus at xemaps.com
Thu Feb 9 09:21:46 GMT 2006



> -----Original Message-----
> From: Paul Makepeace [mailto:london.pm.org at paulm.com]
> Sent: 08 February 2006 17:01
> To: London.pm
> Cc: msergeant at messagelabs.com
> Subject: DBD::SQLite failing on Solaris + fix
> 
> 
> 
> Some kind of ld.so error on Solaris 2.6 getting hold of fdatasync()
> with DBD::SQLite,
> 
> http://www.nntp.perl.org/group/perl.cpan.testers/281183
>   
>   t/60metadata............install_driver(SQLite) failed: 
> Can't load 
> '/export/software/.cplanplus/5.8.7/build/DBD-SQLite-1.11/blib/
> arch/auto/DBD/SQLite/SQLite.so' for module DBD::SQLite: 
> ld.so.1: /bin/perl: fatal: relocation error: file 
> /export/software/.cplanplus/5.8.7/build/DBD-SQLite-1.11/blib/a
> rch/auto/DBD/SQLite/SQLite.so: symbol fdatasync: referenced 
> symbol not found at 
> /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 
> 230.  at (eval 3) line 3
> Compilation failed in require at (eval 3) line 3.
> 
> By the power of brute force find & nm, I've somehow figured out that
> -lposix4 needs to be passed to the linker (LDDLFLAGS). I 
> quickly botched
> the Makefile rather than doing it properly the Makefile.PL
> 
> cpan.testers needs a "I have a fix for this" button...

rt.cpan.org is a more suitable place - you can upload patches.

> HTH to anyone else while a patch is rustled up,
> Paul

I've reproduced this problem on Solaris 2.8 (Sparc), and I am offering to try out your patch when it's ready. Does this issue happen on other *nix platforms?



More information about the london.pm mailing list