Hi List. I hope this observation is ok for this list.

When compiling ffmpeg from svn with on Ubuntu Karmic (gcc (Ubuntu
4.4.1-4ubuntu9) 4.4.1) building a static monolithic executable with this
configure line the detection of libschroedinger fails.

./configure \
        --prefix=/usr/local \
        --enable-gpl \
        --enable-nonfree \
        --enable-runtime-cpudetect \
        --enable-static \
        --disable-shared \
        --enable-pthreads \
        --enable-runtime-cpudetect \
        --extra-cflags='--static -L/usr/local/include' \
        --extra-libs='-static -L/usr/local/lib' \
        --enable-ffmpeg \
        --enable-ffplay \
        --enable-ffprobe \
        --enable-ffserver \
        --enable-libschroedinger

The root cause is that `pkg-config --libs schroedinger-1.0` does not
include -lm *after* -lorc-0.4.

Editing /usr/local/lib/pkgconfig/orc-0.4.pc and adding -lm to the end of
the Libs: line fixes that problem and ffmpeg can be configured and compiled.

My ORC is from git today.

Thanks.

-- 
Mark

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to