Code::Blocks Forums

User forums => Help => Topic started by: Pecan on August 26, 2012, 04:24:04 pm

Title: compiling svn "cannot find -lcodeblocks"
Post by: Pecan on August 26, 2012, 04:24:04 pm
I'm trying to re-compiler svn codeblocks under ubuntu.
When compiling the src target I get the message
"/usr/bin/ld: cannot find -lcodeblocks" when it's actually there in the devel dir as codeblocks.so .

Even when I explicity add the search dir, I still get the message.

What am I doing wrong?

Title: Re: compiling svn "cannot find -lcodeblocks"
Post by: oBFusCATed on August 26, 2012, 04:52:17 pm
The file must be libcodeblocks.so
What is the version of your C::B you're using to compile C::B? (I guess you're compiling from inside C::B).
Title: Re: compiling svn "cannot find -lcodeblocks"
Post by: Pecan on August 26, 2012, 05:06:09 pm
Thanks, I did the rename and I'm cooking again.

Looks like my ubuntu is just too old now, 'cause it'll only install codeblocks 8.02

If svn 8249 completes, I'll uninstall the old 8.02

Thanks again
Title: Re: compiling svn "cannot find -lcodeblocks"
Post by: oBFusCATed on August 26, 2012, 05:25:39 pm
Probably you can try to install a nightly build.
Also you can always use the autotools build system or you can even build debian packages from svn sources (this is the best long-term option in my opinion).