Displaying 20 results from an estimated 157 matches for "lgfortran".
Did you mean:
gfortran
2007 Nov 03
0
installing packages on OS X -- lgfortran problem
I am trying to install two packages that are not available at CRAN
(rmutil, dna). When trying the R CMD INSTALL with either file, I get
an error message that ends with
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate file
for: -lgfortran
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: file: -lgfortran
is not an object file (not allowed in a library)
Can anyone please help?
I have R 2.6 on a Macbook running 10.4.10. I have installed XCode 2.5.
A complete error message is given below.
Thank you!
Stefanie
* Installing to l...
2015 May 08
2
Unable to install packages: "/usr/bin/ld: cannot find -lgfortran"
Dear all,
I'm using R version 3.2.0 in Ubuntu 12.04 LTS.
While trying to install any package I get the error: "/usr/bin/ld: cannot
find -lgfortran"
If I open a Terminal and run "ldconfig -p | grep libgfortran"?, I get:?
"libgfortran.so.3 (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libgfortran.so.3"
I've been an R user for two years and this is the first time I get this
error. I've uninstalled R and re-i...
2008 Mar 20
1
How to cope with : /usr/bin/ld/: cannot find -lgfortran
Good Morning,
I am running R-2.6.1-1.rh5.i386.rpm under RED HAT Enterprise Linux 5, but I get this message error
/usr/bin/ld/: cannot find -lgfortran when trying installing R CMD INSTALL ade4_1.4-5.tar.gz.
Please help me to cope with this problem.
Best regards,
Souleymane
_________________________________________________________________
[[alternative HTML version deleted]]
2012 Jun 24
2
Win 64 package build - ERROR: loading failed for 'x64'
...web: academic2.american.edu/~jpnolan
...........................................................................................................
----------------- Makevar.win ------------------------------------------
ifeq "$(WIN)" "64"
PKG_LIBS=../../../win64/test_win64.a -lgfortran
else
PKG_LIBS=../../../win32/test_win32.a -lgfortran
endif
PKG_CPPFLAGS=-I/JohnsWork/test/src/
------------- 00install.out -----------------------------------------
* installing *source* package 'test' ...
** libs
*** arch - i386
gcc -I"C:/PROGRA~1/R/R-215~1.0/include" -DNDE...
2016 Jan 27
2
rstan warning messages
...command, but got warnings!
install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/")
...
g++ -m64 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RcppEigen.so RcppEigen.o RcppExports.o fastLm.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas -lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package 'RcppEigen'
* removing '/usr/lib64/R/library/RcppEigen'
...
** package 'RCurl' successfully unpack...
2007 Jun 08
2
R CMD SHLIB error using OS X
...fined dynamic_lookup
-single_module -multiply_defined suppress -L/usr/local/lib -o
mhroc_prop.so mhroc_prop.o mvndstpack.o
-L/Library/Frameworks/R.framework/Resources/lib/ppc -lRlapack
-L/Library/Frameworks/R.framework/Resources/lib/ppc -lRblas
-L/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.0 -lgfortran -lgcc_s.10.4
-lSystemStubs -L/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.0
-lgfortran -lgcc_s.10.4 -lSystemStubs
-F/Library/Frameworks/R.framework/.. -framework R
Any ideas?
Thank you,
Richard Zur
2007 Nov 22
1
problem updating packages on Ubuntu 7.10
...are/R/include -I/usr/share/R/include -fpic -g -O2 -c ranksort.c -o ranksort.o
gfortran -fpic -g -O2 -c rcorr.f -o rcorr.o
gfortran -fpic -g -O2 -c wclosest.f -o wclosest.o
gcc -std=gnu99 -shared -o Hmisc.so cidxcn.o cidxcp.o hoeffd.o jacklins.o largrec.o ranksort.o rcorr.o wclosest.o -lgfortran -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [Hmisc.so] Error 1
ERROR: compilation failed for package 'Hmisc'
** Removing '/usr/local/lib/R/site-library/Hmisc'
** Restoring previous '/usr/local/lib/R/site-libr...
2013 Apr 11
1
Cannot find ldfortran (R on Cygwin)
...part of the setup
I chose "All" during installation, for all packages. So I have the FULL
installlation of cygwin up and running, including gfortran.
*Under Cygwin, how do I check and configure the path to the various
libraries?*
I am trying below command and it says, cannot find "lgfortran"
But I have installed gfortran from "All" and "Libs" during setup
I access R as below
1) R
2) install.pacakges('vegan')
3) After choosing mirror, here is the output I get
* installing *source* package ‘vegan’ ...
** package ‘vegan’ successfully unpacked and MD5 sum...
2009 May 12
2
[Fwd: Re: ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]]
...kages("robustbase"), which downloads the source and tries to
compile. But the gcc step fails:
gcc -std=gnu99 -shared -o robustbase.so R-rng4ftn.o init.o lmrob.o mc.o
qn_sn.o rf-common.o rffastmcd.o rfltsreg.o wgt_himed.o -L/usr/lib/R/lib
-lRlapack -lblas -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm
-L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lRlapack
collect2: ld returned 1 exit status
Also, when you say "fill a bug with Ubuntu", is there an r-sig-ubuntu or
the Launchpad for general bug reports in Ubuntu?
Thanks
Agus
Dirk...
2009 Aug 16
1
Installing quantreg package under Ubuntu
...) I get:
gcc -std=gnu99 -shared -o quantreg.so akj.o boot.o brute.o chlfct.o
cholesky.o combos.o crq.o crqfnb.o dsel05.o etime.o extract.o idmin.o
iswap.o kuantile.o mcmb.o penalty.o powell.o rls.o rq0.o rq1.o rqbr.o
rqfn.o rqfnb.o rqfnc.o sparskit2.o srqfn.o srqfnc.o srtpai.o -llapack
-lblas -lgfortran -lm -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -llapack
> sessionInfo()
R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;L...
2013 Mar 21
1
Error message installing package R package
...-2.15.3/library/Matrix/include"
-I"/share/apps/R-2.15.3/library/stats/include" -fpic -g -O2 -c
local_stubs.c -o local_stubs.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o
local_stubs.o -L/share/apps/R-2.15.3/lib -lRlapack
-L/share/apps/R-2.15.3/lib -lRblas -lgfortran -lm
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [lme4.so] Error 1
ERROR: compilation failed for package 'lme4'
* removing '/share/apps/R-2.15.3/library/lme4'
The downloaded source packages are in
'/tmp/RtmpcTIcHw/downloaded...
2010 May 06
2
help on compile r-2.10.0 on 64 bit window
....o d
os_wglob.o malloc.o ../main/libmain.a ../appl/libappl.a ../nmath/libnmath.a getl
ine/gl.a ../extra/xdr/libxdr.a ../extra/pcre/libpcre.a ../extra/bzip2/libbz2.a .
./extra/intl/libintl.a ../extra/trio/libtrio.a ../extra/tzone/libtz.a ../extra/t
re/libtre.a ../extra/xz/liblzma.a dllversion.o -L. -lgfortran -lRblas -L../../bi
n -lRzlib -lRgraphapp -lRiconv -lcomctl32 -lversion
cp R.dll ../../bin
x86_64-w64-mingw32-gfortran -O3 -c blas.f -o blas.o
x86_64-w64-mingw32-gfortran -O3 -c cmplxblas.f -o cmplxblas.o
-------- Building ../../../bin/Rblas.dll --------
x86_64-w64-mingw32-gcc -std=gnu99 -shared...
2009 May 12
2
ubuntu problem with 'r-cran-robustbase' [FWD Agustin Lobo]
...problem is that if I try to install the source with
install.packages("robustbase"), I get:
gcc -std=gnu99 -shared -o robustbase.so R-rng4ftn.o init.o lmrob.o mc.o
qn_sn.o rf-common.o rffastmcd.o rfltsreg.o wgt_himed.o -L/usr/lib/R/lib
-lRlapack -lblas -L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm
-L/usr/lib/gcc/i486-linux-gnu/4.2 -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lRlapack
collect2: ld returned 1 exit status
Despite the fact that I do have Rlapack:
~$ R CMD config LAPACK_LIBS
-L/usr/lib/R/lib -lRlapack
Am I doing something wrong?
Thanks
Agus
--
Dr. Agust...
2010 Dec 15
1
Problem with lme4 package
..." -fpic -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -c local_stubs.c -o local_stubs.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o
local_stubs.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas
-lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [lme4.so] Error 1
ERROR: compilation failed for package ?lme4?
* removing ?/home/suchy/R/x86_64-unknown-linux-gnu-library/2.12/l...
2011 Jan 26
1
Compilation errors when installing gee
...ge ?gee? ...
** libs
gfortran -fpic -O2 -g -c dgedi.f -o dgedi.o
gfortran -fpic -O2 -g -c dgefa.f -o dgefa.o
gcc -I/usr/lib64/R/include -I/usr/local/include -fpic -O3 -g -std=gnu99 -c ugee.c -o ugee.o
gcc -shared -Bdirect,--hash-stype=both,-Wl,-O1 -o gee.so dgedi.o dgefa.o ugee.o -lblas -lgfortran -lm -lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/bin/ld: cannot find -lblas
collect2: ld returned 1 exit status
make: *** [gee.so] Error 1
ERROR: compilation failed for package ?gee?
* removing ?/homedirs4/sghms/medmicro/users/awitney/R/x86_64-redhat-linux-gnu-library/2.12/gee?
The downloaded packag...
2007 Oct 20
1
path to libgfortran 'hardcoded' in R?
...ude -I/usr/local/lib/R/include
-I/usr/local/include -fpic -g -O2 -c rfutils.c -o rfutils.o
gcc -std=gnu99 -shared -L/usr/local/lib -o randomForest.so classTree.o
regTree.o regrf.o rf.o rfsub.o rfutils.o
-L/usr/local/lib/gcc-4.2.2/gcc/i386-portbld-freebsd7.0/4.2.2
-L/usr/local/lib/gcc-4.2.2 -lgfortran -lm -lgcc_s -L/usr/local/lib/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
*** Error code 1
Stop in /tmp/R.INSTALL.QXafuj/randomForest/src.
ERROR: compilation failed for package 'randomForest'
** Removing '/usr/local/lib/R/library/randomForest'
** Restoring previous '/usr/local...
2008 Oct 20
1
[LLVMdev] mixed bc file
...gfortran_st_write' which could not be resolved!
lli[0x85c245f]
/lib/libc.so.6(abort+0x101)[0x6988b1]
lli(_ZN4llvm3JIT25getPointerToNamedFunctionERKSs+0xd2)[0x8267952]
Aborted
I have also tried to link gfortran dynamic libraries like this and here is a error message:
# llvm-ld test.bc testf.bc -lgfortran
llvm-ld: error: Cannot find library 'gfortran'
Note:gcc can find library 'gfortran'.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081020/27a83930/attachment.html>
2008 Apr 09
1
getNativeSymbolInfo fails with Fortran symbol.
...routine initaquaphy(odeparms)
external odeparms
double precision pars(19)
common /myparms/pars
call odeparms(19, pars)
return
end
$ R CMD SHLIB Aquaphy.f
gfortran -fpic -g -O2 -c test.f -o test.o
gcc -std=gnu99 -shared -L/usr/local/lib -o test.so test.o -lgfortran -lm
and linked into the package dll (or so). Help for is.loaded() and
getNativeSymbolInfo() say not to use symbol.For() to convert
to Fortran-specific symbols. However, on Linux, getNativeSymbolInfo
is unable to find 'initaquaphy' in 'test.so', but does find
'initaquaphy_...
2012 Jan 12
1
Problems compiling packages from source: can't find -lquadmath.
...output:
* installing *source* package ?gee? ...
** libs
gfortran -fpic -O3 -pipe -g -c dgedi.f -o dgedi.o
gfortran -fpic -O3 -pipe -g -c dgefa.f -o dgefa.o
gcc -std=gnu99 -I/usr/share/R/include -fpic -O3 -pipe -g -c ugee.c -o ugee.o
gcc -std=gnu99 -shared -o gee.so dgedi.o dgefa.o ugee.o -lblas
-lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/usr/lib64/R/lib -lR
/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [gee.so] Error 1
ERROR: compilation failed for package ?gee?
* removing ?/usr/local/lib/R/site-library/gee?
The downloaded packages are in
?/tmp/Rtmp7Cg...
2012 Apr 25
1
trouble installing SparseM
...ng: cast from pointer to integer of different size
gfortran -fpic -O3 -pipe -g -c sparskit.f -o sparskit.o
gfortran -fpic -O3 -pipe -g -c subscr.f -o subscr.o
gcc -std=gnu99 -shared -o SparseM.so bckslv.o chol.o chol2csr.o
cholesky.o csr.o extract.o iohb.o readwrite.o sparskit.o subscr.o
-lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [SparseM.so] Error 1
ERROR: compilation failed for package ?SparseM?
* removing ?/home/erin/R/x86_64-pc-linux-gnu-library/2.15/SparseM?
The down...