develooper Front page | perl.perl5.porters | Postings from December 2004

[perl #33161] Re: perl 5.8.6 build chokes with db 4.3.21 [#11677]

Michael Cahill
December 23, 2004 00:40
[perl #33161] Re: perl 5.8.6 build chokes with db 4.3.21 [#11677]
Message ID:
# New Ticket Created by  Michael Cahill 
# Please include the string:  [perl #33161]
# in the subject line of all future correspondence about this issue. 
# <URL: >

Hi Jeff,

My name is Michael Cahill and I am with Sleepycat Software.
We have assigned support request #11677 to track this issue:

> Perl 5.8.6 build fails with Sleepycat db-4.3.21 on Solaris 9 systems. 
> I am using Sun's StudioOne (version 8) compiler for both DB and Perl.
> Perl 5.8.6 builds with no problems using db-4.2.52.

The issue is that starting in version 4.3, Berkeley DB makes use of
fdatasync to improve the performance.  This requires the librt library
on Solaris, but the 4.3.21 release did not link that into
The result is that applications using Berkeley DB 4.3.21 on Solaris must
add "-lrt" to their link commands.

I haven't built Perl from source, but I think this is how to do it:

  ./Configure -Dlibs="-lrt" ...

The Berkeley DB dependency on librt will be fixed in a
soon-to-be-released update to Berkeley DB.


Michael Cahill                          Sleepycat Software       Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About