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]

From:
Michael Cahill
Date:
December 23, 2004 00:40
Subject:
[perl #33161] Re: perl 5.8.6 build chokes with db 4.3.21 [#11677]
Message ID:
rt-3.0.11-33161-103462.3.65254081501774@perl.org
# New Ticket Created by  Michael Cahill 
# Please include the string:  [perl #33161]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33161 >


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 libdb-4.3.so.
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.

Regards,
Michael.


--
Michael Cahill                          Sleepycat Software
mailto:mjc@sleepycat.com                http://www.sleepycat.com




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About