Can't compile using shared libraries: Ubuntu 10.10 64bit

Asked by Jaron Lucero

When attempting to build from source, shared libraries are often not recognised as installed. Even though the required libraries are installed the program will not make. If I install the (library name)-dev package with the static libraries the source will compile without issue. I can't figure out why only static libraries will work. Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu build-essential Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You need the -dev pckages as they provide the headers which tell apps how to talk to the binaries. Its kindof like an instruction manual on the lib.

What are you compiling, there may be a PPA with the thing you are trying to compile already made (unless you need specific compilation options)

Remember to make a deb file out of your efforts so you can install / remove the app easier, if it is a package in the normal repos, you may want to pin the version so updates don't overwrite your efforts.

Can you help with this problem?

Provide an answer of your own, or ask Jaron Lucero for more information if necessary.

To post a message you must log in.