ports/103566: databases/pecl-PDO_SQLITE build failure when databases/sqlite3 WITH_THREADS is installed

Takashi Sato serai at lans-tv.com
Sun Sep 24 15:10:21 UTC 2006


>Number:         103566
>Category:       ports
>Synopsis:       databases/pecl-PDO_SQLITE build failure when databases/sqlite3 WITH_THREADS is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 24 15:10:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Takashi Sato
>Release:        FreeBSD 6.1-RELEASE-p7
>Organization:
>Environment:
FreeBSD hoge.local 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Fri Sep 22 08:13:14 JST 2006     root at server2.local:/usr/src/sys/i386/compile/HOGE  i386

>Description:
If databases/sqlite3 have been installed with option WITH_THREADS, databases/pecl-PDO_SQLITE installation fails on "make configure".

In /usr/ports/databases/pecl-PDO_SQLITE/work/PDO_SQLITE-1.0.1/config.log :

configure:3393: checking for sqlite3_open in -lsqlite3
configure:3423: cc -o conftest -O2 -fno-strict-aliasing -pipe -march=athlon  -R/usr/local/lib -L/usr/local/lib  -lm conftest.c -lsqlite3   >&5
/usr/local/lib/libsqlite3.so: undefined reference to `pthread_create'
/usr/local/lib/libsqlite3.so: undefined reference to `pthread_equal'
/usr/local/lib/libsqlite3.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status


databases/sqlite3 THREADS option are broken?
>How-To-Repeat:
Uninstall sqlite3 if you have already installed sqlite3.

# cd /usr/ports/databases/sqlite3 
# make config
Turn "THREADS" on.
# make install
#cd /usr/ports/databases/pecl-PDO_SQLITE
# make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list