Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Linux/Ubuntu DLL that depends on libboost_thread-mt.so.1.38.0. I've tried various ways including building my own version of LibBoost 1.38.0 yet none of my methods have worked. I was wondering if 1.38.0 is available pre-compiled on earlier versions of Ubuntu or if my architecture (64 Bit) is not compatible with LibBoost. Does anyone have any pointers on how to fix this error?

share|improve this question
    
This should probably be on Stackoverflow, but have you tried "boost1.38" or "libboost1.38" or similar? –  gparent Mar 23 '12 at 16:21
    
Or try adding -dev as well. There should also be specific packages for the threading library, filesystem and what not, and one that includes everything. –  gparent Mar 23 '12 at 16:35

1 Answer 1

Normally when you are trying to compile against a library on Linux or any other UNIX with gcc or various other compilers the following flags need to be set:

-L<location of the library> -l<library name>

<location of the library> could be /usr/lib, /usr/local/lib or any other directory that library may be located in <library name> is in your case: boost_thread-mt

If you are doing this on Ubuntu and you have installed boost 1.38.0 from packages there should be a corresponding -dev package that installs all things that you need to be able to compile your code with that library.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.