libtool
[Top][All Lists]
Advanced

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

Re: linker cant locate a 3rd party lib


From: Ralf Wildenhues
Subject: Re: linker cant locate a 3rd party lib
Date: Tue, 11 Oct 2005 22:08:11 +0200
User-agent: Mutt/1.5.9i

Hi Jack,

Your mail would be readable more easily if the mailer wouldn't insert
URLs everywhere -- is there a way to turn that off, together with HTML
encoding maybe?  Thanks.

* Jack Nguyen wrote on Tue, Oct 11, 2005 at 07:41:43PM CEST:
> after
> ./configure and make resulted in libfoo.la <http://libfoo.la>, i tried
> $libtool gcc -o test test.c libfoo.la <http://libfoo.la>
> gcc -o test test.c ./.libs/libfoo.a -L /src/dir/ -lmkl_lapack -lm
> /usr/bin/ld cannot find -lmkl_lapack
>  How do you add -L /mkl_lapac/dir in either 
> configure.ac<http://configure.ac>or
> Makefile.am <http://Makefile.am>. Obviously LD_FLAGS doesnt do it!

Try LDFLAGS instead of LD_FLAGS:

  ./configure LDFLAGS=-L/mkl_lapac/dir
  make

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]