User forums > Help

undefined symbol: _ZTI17wxScrollingDialog

<< < (2/2)

cvicente:
So, basically I got a little bit lost on all the packages that I end up by installing to accommodate needed dependencies.

Somewhere along these last 48h I decided that it should be a good idea to install (or was installed as a dependency of any other packet) the libcodeblocks shared libraries that come with the Ubuntu-server 10.04 LTS repository. By doing this aptitude also installs codeblocks 8.02, so basically yes, I had it installed while trying to build the 10.05 C::B.

Anyway, after removing all the packages and start a new fresh build I end-up with a new error:

codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object

It seems that while doing "sudo make install", the shared libraries were placed in /usr/local/lib/ as libcodeblocks.so.0.0.1.

So, I've basically copied to /usr/lib, created a link to libcodeblocks.so.0 and C::B is up and running.

Thanks for the help!

oBFusCATed:

--- Quote from: cvicente on January 26, 2012, 01:21:46 pm ---So, I've basically copied to /usr/lib, created a link to libcodeblocks.so.0 and C::B is up and running.

--- End quote ---
Doing this is very wrong.
So be prepared for problems in the future.
Have you tried to run ldconfig?

Have you seen this link: http://apt.jenslody.de/ there are prebuild packages for debian/ubuntu?

cvicente:

--- Quote from: oBFusCATed on January 26, 2012, 01:32:54 pm ---Have you tried to run ldconfig?

Have you seen this link: http://apt.jenslody.de/ there are prebuild packages for debian/ubuntu?

--- End quote ---

Yes I have run ldconfig.

And yes I've already checked Jens repository and was very tempted to use it, but I rather prefer to be build the available release directly from codeblocks.

Regards

Jenna:

--- Quote from: cvicente on January 26, 2012, 01:21:46 pm ---So, basically I got a little bit lost on all the packages that I end up by installing to accommodate needed dependencies.

Somewhere along these last 48h I decided that it should be a good idea to install (or was installed as a dependency of any other packet) the libcodeblocks shared libraries that come with the Ubuntu-server 10.04 LTS repository. By doing this aptitude also installs codeblocks 8.02, so basically yes, I had it installed while trying to build the 10.05 C::B.

Anyway, after removing all the packages and start a new fresh build I end-up with a new error:

codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object

It seems that while doing "sudo make install", the shared libraries were placed in /usr/local/lib/ as libcodeblocks.so.0.0.1.

So, I've basically copied to /usr/lib, created a link to libcodeblocks.so.0 and C::B is up and running.

Thanks for the help!

--- End quote ---
Do not copy the libs manually, it can break the system.
Either use --prefix=/usr to install C::B directly below /usr/{bin|lib|share} or read this link to solve the issue, if C::B is build below /usr/local the correct way.

cvicente:
Well... yeah, I know you're right! I'll rebuild once again!

Thank you once again!

Navigation

[0] Message Index

[*] Previous page

Go to full version