News:

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

Main Menu

can't run CB in openSUSE

Started by denisco, January 09, 2009, 08:41:32 PM

Previous topic - Next topic

denisco

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

frithjofh

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

denisco

Found and did install wxGTK 2.8.7, still same result.

frithjofh

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

TheTuxKeeper

try to run
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

frithjofh

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

denisco

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???

TheTuxKeeper

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

denisco

Finally I got it to work.
seems that installing wxgtk from yast did the trick.

Thansk a lot.