Code::Blocks Forums

User forums => Help => Topic started by: denisco on January 09, 2009, 08:41:32 pm

Title: can't run CB in openSUSE
Post by: denisco 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
Title: Re: can't run CB in openSUSE
Post by: frithjofh 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
Title: Re: can't run CB in openSUSE
Post by: denisco on January 09, 2009, 10:34:06 pm
Found and did install wxGTK 2.8.7, still same result.
Title: Re: can't run CB in openSUSE
Post by: frithjofh 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
Title: Re: can't run CB in openSUSE
Post by: TheTuxKeeper 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)
Title: Re: can't run CB in openSUSE
Post by: frithjofh 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
Title: Re: can't run CB in openSUSE
Post by: denisco 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???
Title: Re: can't run CB in openSUSE
Post by: TheTuxKeeper 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)
Title: Re: can't run CB in openSUSE
Post by: denisco 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.