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

  • Home
  • SEARCH
  • 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 8894863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:37:02+00:00 2026-06-14T23:37:02+00:00

I have my own program with plugins (dynamic shared libraries) on a linux (ubuntu)

  • 0

I have my own program with plugins (dynamic shared libraries) on a linux (ubuntu) system. My libraries (plugins) use OpenCV (maybe not so important).

My plugins are in /usr/local/lib/mysoft/.

I have compiled my program successfully even with libraries, successfully installed so everything seems to be OK up to this point.

When I run my program, it loads a bunch of these libraries based on some configuration file. I have several libraries which are loaded successfully but I cannot load one library. It gives me error when loading (used dlopen() to open the library):

/usr/local/lib/mysoft/libMyPlugin2.so: undefined symbol: _ZN2cv6resizeERKNS_11_InputArrayERKNS_12_OutputArrayENS_5Size_IiEEddi
Segmentation fault (core dumped)
Tue Nov 20 19:11:29 CET 2012

It obviously has some problems to find cv::resize which is part of OpenCV but I don’t understand why.

I checked following things:

  • OpenCV is probably correctly installed since other libraries use it as well and are loaded without problems
  • no dependencies of my program, libMyPlugin2.so or OpenCV are missing (checked with ldd)
  • Architecture of all libraries and binaries seems to be the same (I checked it with objdump -f)

Does anybody have an idea what am I doing wrong?

This post seems to be so relevant but still didn’t help:
Linux shared library that uses a shared library undefined symbol

  • 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-06-14T23:37:03+00:00Added an answer on June 14, 2026 at 11:37 pm

    Well I found the problem, hopefully it can help others…

    The problem – I was missing one OpenCV library when compiling. So I replaced “opencv_core opencv_highgui” by “opencv_core opencv_imgproc opencv_highgui” and everything works.

    So although I was able to compile it one of the dependencies was missing – I guess something has changed in OpenCV cause these sources worked perfectly (even with build) with older versions of the OpenCV.

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

Sidebar

Related Questions

I have my own installer program which I use to install several applications I
In my project I have to use mobile camera from my own program. I
I have my own wcf program which is not WCF project , and i
I have written my own hadoop program and I can run using pseudo distribute
I have made my own file type (.ddd) and I made a simple program
I have a small launcher program, it loads a Splash screen on it's own
I want to use two different Spring web contexts , each have own contextConfig,
I've been trying to make my own plugin system. I have 2 separate projects.
I used this answer and wrote my own program, but I have a specific
Simplified: I am writing plugins to realbasic. I have two plugins with their 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.