configure test for boost_thread fails link on OSX (Darwin 11.4)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
New
|
Undecided
|
Unassigned | ||
drizzle (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
In drizzle-7.2.3, compiling from source on
MacOSX 10.7.5 (Lion), using
Xcode 4.5.2 (i686-apple-
boost-1.52 from MacPorts,
The configure test for boost_thread-mt fails because linkage of conftest fails, because use of boost_thread-mt requires linkage of boost_system-mt.
Changing the AC_LIB_
Problem (CFLAGS/LDFLAGS used to find dependencies via MacPorts):
./configure --prefix=
<...>
checking how to link with libboost_
checking for libc... (cached) no
checking for libboost_
checking for libboost_thread... no
configure: error: boost::thread is required for drizzle
From config.log:
configure:34836: g++ -o conftest -D_THREAD_SAFE -D_THREAD_SAFE -isystem /opt/local/include -I/opt/
Undefined symbols for architecture x86_64:
"boost:
_
"boost:
_
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:34836: $? = 1
See attached patch, which just adds this library to the dependencies. You might want to check for its existence, etc, first, if you wish to maintain the ability to specify locations for each of the boost libraries separately.
Related branches
Changed in drizzle (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
The attachment "Patch to add required library dependency to configure test" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]