A
A
alexey_abramov2015-07-08 11:27:51
linux
alexey_abramov, 2015-07-08 11:27:51

Link libraries can't work with files - why?

Hello.
There is a C++ project in Eclipse that uses several libraries. Libraries are connected normally, and functions are called.
Libraries already internally work with files located in the /home/libs/extern directory
Functions that work directly with these files are not called, an error is displayed


Program received signal SIGSEGV, Segmentation fault.
0xb7d68adc in vtable for __cxxabiv1::__class_type_info ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6

Other functions work fine
There is a suggestion that libraries cannot get in and work with files located in /home/libs/extern. Everything is working correctly for the library developer.
The question is how to configure / connect the / home / libs / extern folder normally so that these functions work? Set read and write permissions, added to $PATH. Unfortunately, this did not work.
If you have any suggestions, please write, I have been working in Linux recently, maybe I am connecting or doing something wrong. I did not find any description of this error on the Internet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-07-08
@EvgenijDv

I understand correctly that you are using pre-built libraries and just linking them to your project? What compiler and version of libstdc++ was used to build the library from its author, and what version of libstdc++ is installed on your machine?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question