Boost logo

Boost Users :

Subject: Re: [Boost-users] [Ubuntu 8.04] Linking Problem in Eclipse with Boost 1.41 Libraries
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-12-01 12:24:11


Brooks Garrison wrote:

> Volodya,
>
>> As I have explained earlier, the -L option to the static linker has nothing
>> to do with dynamic linker. What is the output of
>>
>> ls -l /home/bgarrison/local/lib/libboost_thread*
>
> bgarrison_at_STK:~$ ls -l /home/bgarrison/local/lib/libboost_thread*
> -rw-r--r-- 1 root root 166080 2009-12-01 10:57
> /home/bgarrison/local/lib/libboost_thread.a
> lrwxrwxrwx 1 root root 25 2009-12-01 10:56
> /home/bgarrison/local/lib/libboost_thread.so ->
> libboost_thread.so.1.41.0
> -rwxr-xr-x 1 root root 85176 2009-12-01 10:56
> /home/bgarrison/local/lib/libboost_thread.so.1.41.0
>
>> ? And did you set LD_LIBRARY_PATH this time? If so, what exact commands did you
>> use? Did you use 'export'?
>
> Yes I did. Sorry for the confusion. In my .bashrc file (~/.bashrc), I added
>
> # append to LD_LIBRARY_PATH
> LD_LIBRARY_PATH=/home/bgarrison/local/lib:$LD_LIBRARY_PATH
> export LD_LIBRARY_PATH
>
> to the end and saved it.

Ok, and are you sure this file has any effect? Couple weeks ago, when I was still on 8.04,
it had something called 'dash' as default shell. What does

        echo $LD_LIBRARY_PATH

in the terminal say? What does:

        LD_LIBRARY_PATH=/home/bgarrison/local/lib:$LD_LIBRARY_PATH your_program

do?

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net