Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.15k stars 213 forks source link

Qucs undefined symbol #323

Closed jymag2 closed 9 years ago

jymag2 commented 9 years ago

When I try running qucs from the command line by using qucs [options], it says: qucs: symbol lookup error: qucs: undefined symbol: _ZN9QListData11detach_growEPii. I installed qucs from tarball version 0.0.18. Using centos 6.6, qt-4.8.6. Is this how to open the GUI? Have you seen this problem before? Thank you for your time and help.

in3otd commented 9 years ago

I have tried building Qucs using the 0.0.18 tarball from Sourceforge in Ubuntu (Qt 4.8.0) and everything went fine; I could start the GUI from the command line by typing qucs and see the command line options with qucs -h.

Did you build previous/later versions of qucs before? I saw similar errors when building different versions and not cleaning up the installation directory before. I guess the build system somehow picks up old libraries instead of the new ones. It shouldn't happen normally, but I haven't been able to systematically reproduce the issue.

felix-salfelder commented 9 years ago

C++ symbols are scrambled, but you can

$ c++filt _ZN9QListData11detach_growEPii
QListData::detach_grow(int*, int)

c++filt is part of binutils.

ldd $( which qucs ) |grep libQt

tells you, which Qt libraries are linked to your qucs. you can use readelf to display the symbol tables of these libraries,

(yes, i don't know why your symbol is missing, but this might help you figure it out)

guitorri commented 9 years ago

Please reopen if there are still problems.