Bug 1333355 - mongodb fails to link: symbol lookup error: mongod: undefined symbol: _ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
Summary: mongodb fails to link: symbol lookup error: mongod: undefined symbol: _ZNK5bo...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mongodb
Version: rawhide
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-05-05 11:20 UTC by Petr Pisar
Modified: 2016-05-09 11:38 UTC (History)
8 users (show)

Fixed In Version: mongodb-3.2.6-1.fc25
Clone Of:
Environment:
Last Closed: 2016-05-09 11:38:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1331983 0 unspecified CLOSED linker errors in boost (built with gcc-6.0.0) when building with gcc-6.1.1 2021-02-22 00:41:40 UTC

Internal Links: 1331983

Description Petr Pisar 2016-05-05 11:20:07 UTC
It's not possible to execute mongodb from mongodb-server-3.2.4-1.fc25.x86_64 if boost 1.60.0-6.fc25 is installed:

$ mongod --fork --logpath /tmp/t/mongod.log --pidfilepath /tmp/t/mongod.pid --dbpath /tmp/t --smallfiles
mongod: symbol lookup error: mongod: undefined symbol: _ZNK5boost16re_detail_10600031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_

Rebuilding mongodb helps. It looks like GCC changed C++ symbol mangling so older mongodb build is not ABI-compatible with newer boost library. See bug #1331983.

Please rebuild mongodb package.


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