News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Startup error after fresh installation of Ubuntu 19.10

Started by doctor_vitus, October 20, 2019, 10:01:42 PM

Previous topic - Next topic

doctor_vitus

Hi everybody,

yesterday I did a fresh installation of Ubuntu Mate 19.04 / x86-64. I installed Codeblocks 17.12 from the standard repository, but it fails to start with the message

Quote
codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI32IncrementalSelectIteratorIndexed

I googled for the error message and followed the suggestions found:

- called ldconfig als root
- uninstalled (purged) and re-installed codeblocks and libcodeblocks0
- deleted ~/.config/codeblocks

Unfortunately the error still keeps appearing.

Other programs based on wxWidgets like Filezilla work fine.

Does anyone have an idea what to do?

BR and thanks in advance,
doctor_vitus

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

You're mixing packages. Remove all codeblocks packages and install from a single place.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

doctor_vitus

Quote from: stahta01 on October 21, 2019, 01:05:38 AM
Similar error in that post. Tim S.

Similar error. but completely different circumstances. :) dfatcb upgraded an existing installation. while I started with a completely new one on an empty hard disk. I transferred only my home directory from my old installation.

Quote from: oBFusCATed on October 21, 2019, 03:17:39 AM
You're mixing packages. Remove all codeblocks packages and install from a single place.

No, I installed everything from the Ubuntu standard repository, with no additional package sources added.

oBFusCATed

This means that the packages provided by your distro are broken.
If you're using distro packages please contact them for support.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

doctor_vitus

I have to shamefully admit that I found the cause for the problems. :-[

I uninstalled and purged CodeBlocks and libcodeblocks0 again and re-booted the system. When I opened my terminal window and run "codeblocks" (just to ensure it's gone), I couldn't believe my eyes. I got the error message again.

Now I ran "whereis codeblocks", and it pointed me to /usr/local/bin. Now I realized what had happened.

Apart from my home folder, I copied my old /usr/local/bin folder, where I put some small self-written programs (mainly in Python), to my new installation. For some unknown reason, the folder also contained an obviously self-compiled CodeBlocks 17.12 executable. I wonder why this hasn't caused any problems in my old Ubuntu installation.

After removing it and re-installing CodeBlocks, it worked fine. ;D

Thanks a lot for your support and BR,
doctor_vitus