Skip to content
Advertisement

how can I guide compiler to use a certain library?

I’m trying to compile skeltrack according to this guide http://tayyabnaseer.blogspot.com.tr/2012/05/installing-skeltrack-on-ubuntu.html

I successfully compiled and installed first two libraries. However when it comes to skeltrack I get followin compilation error:

JavaScript

I am on Ubuntu 13.10 32 bit platform. I searched for the error on the net and I came to conclusion that my glib 2.32 doesn’t contain that functions. I successfully compiled and installed glib 2.38. But linker is looking for old glib 2.32 library. Here are libgio libraries in my computer:

JavaScript

How can I tell the linker to use correct libgio that it is looking for?

Advertisement

Answer

I figured out how to link a specific library after looking at following weblinks:

Specifically, setting LDFLAGS as,

JavaScript

did the trick.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement