[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems building phast against clapack



On Fri, Jun 03, 2016 at 09:59:00AM +0200, Andreas Tille wrote:
> ../munge-help.sh consEntropy.help_src > consEntropy.help
> gcc -O3 -Wall -I/build/phast-1.4/src/util/../../include -DPHAST_VERSION=\"v1.3\" -DPHAST_HOME=\"/build/phast-1.4/src/util/../..\" -I/build/phast-1.4/src/util/../../src/lib/pcre -fno-strict-aliasing -I/usr/lib/INCLUDE -I/usr/lib/F2CLIBS -c indelHistory.c -o indelHistory.o
> gcc -L/build/phast-1.4/src/util/../../lib  -L/usr/lib/F2CLIBS   -o /build/phast-1.4/src/util/../../bin/indelHistory indelHistory.o -lphast -lclapack -lctmg -lcblas -lc -lf2c -lm
> /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libf2c.so: undefined reference to `MAIN__'

$ ldd -r /usr/lib/x86_64-linux-gnu/libf2c.so.2.1
        linux-vdso.so.1 (0x00007fff4efd0000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7df682a000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7df652c000)
        /lib64/ld-linux-x86-64.so.2 (0x00005572c209f000)
undefined symbol: MAIN__        (/usr/lib/x86_64-linux-gnu/libf2c.so.2.1)

I'd say it's a violation of a "must" policy directive in 10.2, "shared
libraries must be linked against all libraries that they use symbols from"

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: