DBD::SQLite failing on Solaris + fix
Paul Makepeace
london.pm.org at paulm.com
Wed Feb 8 17:01:15 GMT 2006
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/arch/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...
HTH to anyone else while a patch is rustled up,
Paul
--
Paul Makepeace .............................. http://paulm.com/inchoate/
"What is the weight of Clinton? 18."
-- http://paulm.com/toys/surrealism/
More information about the london.pm
mailing list