On Fri, Nov 20, 2009 at 01:28:44PM -0500, Ryan Hafen <rha...@gmail.com> wrote:
> Here's what I have in /home/uname/local/lib
> 
> libjpeg.so -> libjpeg.so.7.0.0
> libjpeg.so.7 -> libjpeg.so.7.0.0
> libjpeg.so.7.0.0
> 
> Would the extra ".0" be doing anything?  I've tried specifying  
> LD_LIBRARY_PATH too and it didn't work.

It should.

Try this:

    echo "main(){}" > test.c
    gcc test.c -L/home/uname/local/lib/ -ljpeg -o test
    ldd ./test
    LD_LIBRARY_PATH=/home/uname/local/lib/ ldd ./test

What the output of these commands?

Matthias



Reply via email to