Author Topic: svn rev2227 successfully installed in Debian Sid but couldn't run  (Read 10353 times)

zjf705

  • Guest
I downloaded the .deb packages from link below:

http://download.berlios.de/codeblocks/CB_20060322_rev2227_ubuntu.deb

After the installation when i tried to run C::B in terminal,
i got the error message like this:

codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZN11FileFilters9MSVC7_EXT :(

And then i tried several other svn packages such as rev2220, reve2236 the same error message showed up.

Is there anything to do to solve this problem?

Thank you very much

Best regards,
zjf705

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #1 on: March 25, 2006, 03:13:57 pm »
Hello,

Before downloading the .deb package did you have another version of C::B installed? RC2 may be?

Occasionally, I let one of my colleague tests the packages (on kubuntu 5.10). The last tested version was IIRC rev2218 which worked fine.

Best wishes,
Michael

zjf705

  • Guest
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #2 on: March 25, 2006, 04:34:02 pm »
Thank you Michael

I did installed another version of C::B about two weeks ago. I downloaded the source code of C::B with svn and compiled it and installed to /opt/codeblocks/ according to the instructions in the wiki. It works well but I also wanted to try the .deb packages because I would like to install it on several other computers running Debian Sid and build from source is time consuming. So first I tested the svn rev2227 .deb packages on my Laptop and got these errors.

I will try to uninstall the former version and see how that works.

Best wishes.

zjf705
« Last Edit: March 25, 2006, 04:36:16 pm by zjf705 »

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #3 on: March 25, 2006, 04:41:07 pm »
I will try to uninstall the former version and see how that works.

Let us know if it works :).

My colleague installed the first .deb package on kubuntu 5.10 where no C::B has never been installed. It worked. Then he installed the other packages overwriting the previous one. He told me that he had no problems and that C::B worked fine. Anyway, I am not sure it is so good to install over a previous installation.

Best wishes,
Michael

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #4 on: March 25, 2006, 05:55:05 pm »
...I downloaded the source code of C::B with svn and compiled it and installed to /opt/codeblocks/ according to the instructions in the wiki...
Then you have libcodeblocks.so in /usr/lib or /usr/local/lib or some other place in ld.so.conf, that means that the "old" version of libcodeblocks is used by default. I don't know where Michael puts the libcodeblocks in his deb packages but if he uses the linux project file to build them then it will most probably be in your codeblocks installation dir.
Bottom line: You should remove the old version.
Life would be so much easier if we could just look at the source code.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #5 on: March 25, 2006, 05:59:05 pm »
I don't know where Michael puts the libcodeblocks in his deb packages but if he uses the linux project file to build them then it will most probably be in your codeblocks installation dir.

Hello,

I use the debian directory that Yannis has provided time ago.

Best wishes,
Michael

zjf705

  • Guest
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #6 on: March 25, 2006, 06:10:46 pm »
Quote
Let us know if it works :).

I removed the earlier version but it still didn't work. :(
And still the same error message.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #7 on: March 25, 2006, 06:13:54 pm »
Then check if you do not have more than one libcodeblocks.so installed in your system.

Best wishes,
Michael

zjf705

  • Guest
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #8 on: March 25, 2006, 06:31:41 pm »
Then check if you do not have more than one libcodeblocks.so installed in your system

I found another libcodeblocks.so in /usr/lib, seemed that the earlier version didn't remove this file when it was uninstalled.

After i delete libcodeblocks.so and reinstall the rev2227 C::B finally can be started. But after the splash screen a debug report is generated and ask me if i would like to report this bug. But when i click on OK to report or Cancel to suppress, the application just terminated. And this time the error message is like this:

addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file

(codeblocks:8731): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(codeblocks:8731): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

zjf705

  • Guest
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #9 on: March 25, 2006, 06:49:33 pm »
Problem Solved

I find another libwxscintilla.so.0 in /lib and it may conflict with /usr/lib/libwxscintilla.so.0 which is installed by the later version.

I removed libwxscintilla.so.0 in /lib and finally C::B start successfully. :D

Thanks everybody,
Thank you a zillion Michael. :D

Best wishes

zjf705

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: svn rev2227 successfully installed in Debian Sid but couldn't run
« Reply #10 on: March 26, 2006, 08:20:17 pm »
I removed libwxscintilla.so.0 in /lib and finally C::B start successfully. :D

Great :D.

Best wishes,
Michael