Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6245991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:36:32+00:00 2026-05-24T12:36:32+00:00

I am trying to write my own MySQL storage engine which uses a key-value

  • 0

I am trying to write my own MySQL storage engine which uses a key-value store as a back-end.

I wrote now my first version which implements the mandatory parts and I am able to compile, link, and install my MySQL source instance. After doing so I tried to load my new plugin with the following command in the mysql console:

install plugin ramcloud soname 'ha_ramcloud.so';

The error I get is the following:

ERROR 1126 (HY000): Can't open shared library '/usr/local/mysql/lib/plugin/ha_ramcloud.so' (errno: 13 undefined symbol: _ZNSt8_Rb_treeImmSt9_IdentityImESt4lessImESaImEE8_M_eraseEPSt13_Rb_tree_nodeImE)

Now I have no idea how to debug this problem. The client library from the key-value store uses the -std=c++0x compiler flag and I start to think that this could be part of the problem. But when I check with ldd, my storage engine links against the same libstdc++ version as the other engines delivered with mysql which can be loaded without any problems.

Are there any tricks in how to figure out where this problem comes from?

EDIT: The symbol which does not get found is

std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>, std::allocator<unsigned long> >::_M_erase(std::_Rb_tree_node<unsigned long>*)

This looks like something from libstdc++ (STL) and is probably from my use of std::set. How can this happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:36:32+00:00Added an answer on May 24, 2026 at 12:36 pm

    It was a stupid error: the MySQL build system uses the -fno-implicit-templates option. Removing this for my plugin solved the problem (I could also make an explicit instance, but since I program only a prototype this should be ok).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I'm trying to write my own custom Rails routes for my app,
I'm trying to write my own toy My Toy Language -> MSIL compiler in
I am trying to write our own RIA services provider to expose data from
I have been trying to write my own diff3 wrap script for SVN and
I have been trying to write a small app with its own option windows.
(Edit: randrange is just random.randrange, I didn't write my own RNG) I'm trying to
I'm trying write a query to find records which don't have a matching record
I trying to write my own Event Aggregation class and i go some articles
I'm trying to write my own function to block events. Here is what I
I am trying to write my own Game of Life , with my own

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.