Date: Tue, 3 Mar 2020 13:56:52 +0400 From: Gleb Popov <arrowd@freebsd.org> To: Yuri <yuri@rawbw.com> Cc: freebsd-haskell@freebsd.org Subject: Re: How to specify an extra lib during a port build? Message-ID: <CALH631kYpo5NpuWfx9MSYcNo0c8yC0sYj4tH3uKa%2B=g1Dz1iHw@mail.gmail.com> In-Reply-To: <6b2f2978-db6a-62ed-f12b-1477148a2ddf@rawbw.com> References: <6b2f2978-db6a-62ed-f12b-1477148a2ddf@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 3, 2020 at 8:32 AM Yuri <yuri@rawbw.com> wrote: > While attempting to port one Haskell package, I got this failure: > > |Configuring library for hmatrix-0.20.0.0.. cabal: Missing dependency on > a foreign library: * Missing (or bad) C library: gfortran This problem > can usually be solved by installing the system package that provides > this library (you may need the "-dev" version). If the library is > already installed but in a non-standard location then you can use the > flags --extra-include-dirs= and --extra-lib-dirs= to specify where it > is.If the library file does exist, it may contain errors that are caught > by the C compiler at the preprocessing stage. In this case you can > re-run configure with the verbosity flag -v3 to see the error messages. > libgfortran.so is in /usr/local/lib/gcc9. It seems like > ||--extra-lib-dirs=| is a configure flag for ghc. > > What is a proper way to resolve this? > > > Thanks, > Yuri > > || > Hmm. Are you using USE_GCC, by any chance? > _______________________________________________ > freebsd-haskell@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-haskell > To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kYpo5NpuWfx9MSYcNo0c8yC0sYj4tH3uKa%2B=g1Dz1iHw>