Bug 1346309 - undefined symbol when starting mongodb
Summary: undefined symbol when starting mongodb
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mongodb
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Skalický
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-14 13:51 UTC by Michael Bayer
Modified: 2016-06-18 18:57 UTC (History)
8 users (show)

Fixed In Version: mongodb-3.2.6-4.fc24
Clone Of:
Environment:
Last Closed: 2016-06-18 18:57:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Bayer 2016-06-14 13:51:07 UTC
Description of problem:

a fresh install of mongodb on F24 refuses to run due to symbol error


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


How reproducible:

always

Steps to Reproduce:
1. yum install mongodb mongodb-server
2. mongod
3.

Actual results:

[root@photon2 classic]# yum install mongodb mongodb-server
Yum command has been deprecated, redirecting to '/usr/bin/dnf install mongodb mongodb-server'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Failed to synchronize cache for repo 'rcm-tools-fedora-rpms', disabling.
Last metadata expiration check: 1:16:12 ago on Tue Jun 14 08:28:53 2016.
Dependencies resolved.
================================================================================
 Package               Arch          Version                Repository     Size
================================================================================
Installing:
 libstemmer            x86_64        0-4.585svn.fc24        fedora         71 k
 mongodb               x86_64        3.2.4-1.fc24           fedora         14 M
 mongodb-server        x86_64        3.2.4-1.fc24           fedora         10 M
 mozjs38               x86_64        38.2.1-8.fc24          fedora        2.4 M
 yaml-cpp              x86_64        0.5.1-13.fc24          fedora        165 k

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 27 M
Installed size: 86 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): libstemmer-0-4.585svn.fc24.x86_64.rpm    234 kB/s |  71 kB     00:00    
(2/5): mozjs38-38.2.1-8.fc24.x86_64.rpm         648 kB/s | 2.4 MB     00:03    
(3/5): yaml-cpp-0.5.1-13.fc24.x86_64.rpm        586 kB/s | 165 kB     00:00    
(4/5): mongodb-server-3.2.4-1.fc24.x86_64.rpm   589 kB/s |  10 MB     00:17    
(5/5): mongodb-3.2.4-1.fc24.x86_64.rpm          793 kB/s |  14 MB     00:18    
--------------------------------------------------------------------------------
Total                                           1.3 MB/s |  27 MB     00:20     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : yaml-cpp-0.5.1-13.fc24.x86_64                               1/5 
  Installing  : mozjs38-38.2.1-8.fc24.x86_64                                2/5 
  Installing  : libstemmer-0-4.585svn.fc24.x86_64                           3/5 
  Installing  : mongodb-3.2.4-1.fc24.x86_64                                 4/5 
  Installing  : mongodb-server-3.2.4-1.fc24.x86_64                          5/5 
  Verifying   : mongodb-3.2.4-1.fc24.x86_64                                 1/5 
  Verifying   : mongodb-server-3.2.4-1.fc24.x86_64                          2/5 
  Verifying   : libstemmer-0-4.585svn.fc24.x86_64                           3/5 
  Verifying   : mozjs38-38.2.1-8.fc24.x86_64                                4/5 
  Verifying   : yaml-cpp-0.5.1-13.fc24.x86_64                               5/5 

Installed:
  libstemmer.x86_64 0-4.585svn.fc24         mongodb.x86_64 3.2.4-1.fc24        
  mongodb-server.x86_64 3.2.4-1.fc24        mozjs38.x86_64 38.2.1-8.fc24       
  yaml-cpp.x86_64 0.5.1-13.fc24            

Complete!
[root@photon2 classic]# mongod
mongod: symbol lookup error: mongod: undefined symbol: _ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
[root@photon2 classic]# 


Expected results:

server runs

Additional info:

this was a dnf upgrade from f23 to f24.

Comment 1 Michael Bayer 2016-06-14 13:58:03 UTC
poking around for those symbols I'm seeing this:

[root@photon2 classic]# strings /usr/lib64/libboost_regex.so | grep transform_primary
_ZN5boost14c_regex_traitsIcE17transform_primaryB5cxx11EPKcS3_
_ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIcE17transform_primaryB5cxx11EPKcS4_
_ZN5boost14c_regex_traitsIwE17transform_primaryB5cxx11EPKwS3_
_ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIwE17transform_primaryB5cxx11EPKwS4_


which is definitely a tad different.   boost-regex here is:

boost-regex-1.60.0-5.fc24.x86_64

Comment 2 Marek Skalický 2016-06-14 15:19:39 UTC
Thanks for reporting.

This is fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2016-eae91c887b
I think this update is so long in testing because of F24 final freeze.

Comment 3 Fedora Update System 2016-06-15 06:49:31 UTC
mongodb-3.2.6-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-eae91c887b

Comment 4 Fedora Update System 2016-06-18 18:57:30 UTC
mongodb-3.2.6-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.