Bug 718504

Summary: SOCI should be linked with the multi-thread version of the Boost libraries
Product: [Fedora] Fedora Reporter: Denis Arnaud <denis.arnaud_fedora>
Component: sociAssignee: Denis Arnaud <denis.arnaud_fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: denis.arnaud_fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: soci-3.0.0-23.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-12 21:57:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Denis Arnaud 2011-07-03 17:40:16 UTC
Description of problem:
The current SOCI libraries (e.g., <= 3.0.0-21) are linked with the single-threaded version of the Boost libraries. Instead, they should be linked with the multi-threaded version of the Boost libraries.

Version-Release number of selected component (if applicable): 3.0.0-21


How reproducible: Always


Steps to Reproduce:
1. Install soci-core
2. Do, in a terminal:
 $ ldd /usr/lib64/libsoci_core.so.3.0.0 | grep boost
3. Watch the result
  
Actual results:
 libboost_date_time.so.1.46.0 => /usr/lib64/libboost_date_time.so.1.46.0
 libboost_program_options.so.1.46.0 => /usr/lib64/libboost_program_options.so.1.46.0

Expected results:
 libboost_date_time-mt.so.1.46.0 => /usr/lib64/libboost_date_time.so.1.46.0
 libboost_program_options-mt.so.1.46.0 => /usr/lib64/libboost_program_options.so.1.46.0

Additional info:
As almost all the other Boost-depending Fedora components rely on the multi-threaded version of the Boost libraries, linking with SOCI means coming with both versions of the Boost libraries. For instance, when the programs exit, the static variables are garbage-collected twice, meaning erratic core dumps.

Comment 1 Fedora Update System 2011-07-03 18:04:01 UTC
soci-3.0.0-23.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/soci-3.0.0-23.fc15

Comment 2 Fedora Update System 2011-07-03 18:25:18 UTC
soci-3.0.0-19.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/soci-3.0.0-19.fc14

Comment 3 Fedora Update System 2011-07-04 18:52:25 UTC
Package soci-3.0.0-23.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing soci-3.0.0-23.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/soci-3.0.0-23.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-07-12 21:57:29 UTC
soci-3.0.0-19.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-07-12 22:00:24 UTC
soci-3.0.0-23.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.