From nobody@FreeBSD.org  Wed Nov 21 18:26:35 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DFD9416A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 18:26:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C80B813C4CC
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 18:26:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lALIQYAH082883
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 18:26:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lALIQYE4082882;
	Wed, 21 Nov 2007 18:26:34 GMT
	(envelope-from nobody)
Message-Id: <200711211826.lALIQYE4082882@www.freebsd.org>
Date: Wed, 21 Nov 2007 18:26:34 GMT
From: Ben Schumacher <me@benschumacher.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: p5-DBD-SQLite should be build with -lpthread
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118186
>Category:       ports
>Synopsis:       databases/p5-DBD-SQLite should be build with -lpthread
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 18:30:00 UTC 2007
>Closed-Date:    Thu Jan 08 10:55:15 UTC 2009
>Last-Modified:  Thu Jan 08 10:55:15 UTC 2009
>Originator:     Ben Schumacher
>Release:        FreeBSD 6.2-RELEASE-p8 amd64
>Organization:
>Environment:
>Description:
p5-DBD-SQLite doesn't work as built from ports because it is not linked to libpthread.so. You can workaround this with an LD_PRELOAD environment, but that seems a bit excessive.
>How-To-Repeat:
Use this script (also "make test" fails):
#!/usr/bin/env perl
use strict;
use warnings;
use DBI;
use DBD::SQLite;

my $dbh = DBI->connect("dbi:SQLite:dbname=test.db", "", "", { RaiseError => 1, PrintError => 0});


>Fix:
Include -lpthread in linked libraries. This could be done by adding LIBS="-lsqlite3 -lpthread" to CONFIGURE_ARGS in the Makefile.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Nov 22 10:44:39 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118186 
State-Changed-From-To: open->feedback 
State-Changed-By: clsung 
State-Changed-When: Tue Apr 1 01:57:46 UTC 2008 
State-Changed-Why:  
Do you still suffer this problem? I don't encounter the problem 
in both i386/amd64. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118186 
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Thu Jan 8 10:54:36 UTC 2009 
State-Changed-Why:  
Submitter feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118186 
>Unformatted:
