[asterisk-bugs] [Asterisk 0018493]: [patch] Sqlite3 requires -lpthread to build in configure.ac
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Dec 17 20:30:21 UTC 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18493
======================================================================
Reported By: pprindeville
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18493
Category: Core/BuildSystem
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.8.1.1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-12-16 23:10 CST
Last Modified: 2010-12-17 14:30 CST
======================================================================
Summary: [patch] Sqlite3 requires -lpthread to build in
configure.ac
Description:
At least on astlinux, our libsqlite3.so requires linkage with -lpthread.
Alas, the:
AST_EXT_LIB_CHECK([SQLITE3], ...)
requires [${LIB_PTHREADS}] same as [ICAL] does.
======================================================================
----------------------------------------------------------------------
(0129737) pprindeville (reporter) - 2010-12-17 14:30
https://issues.asterisk.org/view.php?id=18493#c129737
----------------------------------------------------------------------
$ cat build_i586/staging_dir/usr/lib/pkgconfig/sqlite3.pc
# Package Information for pkg-config
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: SQLite
Description: SQL database engine
Version: 3.6.23.1
Libs: -L${libdir} -lsqlite3
Libs.private: -lpthread
Cflags: -I${includedir}
$ pkg-config --libs sqlite3
-lsqlite3
$
But then, we're not setting PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR, either.
Issue History
Date Modified Username Field Change
======================================================================
2010-12-17 14:30 pprindeville Note Added: 0129737
======================================================================
More information about the asterisk-bugs
mailing list