Author Topic: can't run CB in openSUSE  (Read 4491 times)

Offline denisco

  • Single posting newcomer
  • *
  • Posts: 8
can't run CB in openSUSE
« on: January 09, 2009, 08:41:32 pm »
I am new to linux I unpack the tar files and there where tree rpm which I installed via Yast2 in my openSUSE 11.0.

When I type codeblocks in a command prompt it says:
codeblocks: error while loading shared libraries: libwx_gtk2u_aui-2.8.so.0: cannot open shared object file: No such file or directory

I can't find that either???

What am I suppose to do now???

Thanks in advance for any help.
DenisCo

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: can't run CB in openSUSE
« Reply #1 on: January 09, 2009, 09:33:09 pm »
hi there,

I'm not an expert but I had problems running c::b on suse 11.0 too.

I had to check if the wxGtk package was installed and that the wxWidgets packages were NOT installed, that did the trick for me...

I hope it helps.

Regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline denisco

  • Single posting newcomer
  • *
  • Posts: 8
Re: can't run CB in openSUSE
« Reply #2 on: January 09, 2009, 10:34:06 pm »
Found and did install wxGTK 2.8.7, still same result.

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: can't run CB in openSUSE
« Reply #3 on: January 09, 2009, 10:39:29 pm »
Just a question: did you already search for libwx_gtk2u_aui-2.8.so.0 on your system and did you find it?

Regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: can't run CB in openSUSE
« Reply #4 on: January 09, 2009, 10:44:57 pm »
try to run
Code
sudo /sbin/ldconfig
and after that codeblocks

btw. the library file should be /usr/lib/libwx_gtk2u_aui-2.8.so.0 or /usr/lib64/libwx_gtk2u_aui-2.8.so.0 (i586 or x86_64 version of suse)
Nightly builds for openSUSE

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: can't run CB in openSUSE
« Reply #5 on: January 09, 2009, 11:00:40 pm »
I remember that at the time there was a problem with the location of the lib. If I recall right they where under /usr/lib64 and code::blocks svn5177 did not find it there, so I made a link to the file under /usr/lib and everything went fine. I posted it on the forum and indeed it seems to have been a problem there with suse 11.0.

Regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline denisco

  • Single posting newcomer
  • *
  • Posts: 8
Re: can't run CB in openSUSE
« Reply #6 on: January 09, 2009, 11:28:45 pm »
found in
/usr/local/lib/libwx_gtk2_aui-2.8.so.0
Not
/usr/lib/libwx_gtk2_aui-2.8.so.0

Should I move it or something???

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: can't run CB in openSUSE
« Reply #7 on: January 09, 2009, 11:52:47 pm »
did you compile wxgtk by yourself? no official package puts libraries to /usr/local.
go to yast's software install/uninstall and reinstall wxgtk (right click -> update) from the base or update repository (you can choose it in the "versions" tab)
Nightly builds for openSUSE

Offline denisco

  • Single posting newcomer
  • *
  • Posts: 8
Re: can't run CB in openSUSE
« Reply #8 on: January 10, 2009, 03:46:15 am »
Finally I got it to work.
seems that installing wxgtk from yast did the trick.

Thansk a lot.