[R-pkg-devel] Library not loaded =?utf-8?Q?=E2=80=98libgdal.dylib=E2=80=99_?=when building package on travis (osx)

Patrick Schratz patrick.schratz at gmail.com
Sat Apr 29 13:29:39 CEST 2017


Nope, still an open issue. I also do not have any ideas left what I could try next.

Tried the export hints (e.g. bash profile) given in 'brew info gdal2' and checked with my local configuration but I do not see what the possible issue could be here.

On 29. Apr 2017, 13:24 +0200, Alexandre Courtiol <alexandre.courtiol at gmail.com>, wrote:
> Did you already sort out your issue?
>
> On 28 April 2017 at 17:19, Patrick Schratz <patrick.schratz at gmail.com (mailto:patrick.schratz at gmail.com)> wrote:
> > Hi everyone,
> >
> > the following error gives me headaches. When building my package on Travis CI (OS X build), I get the following error:
> >
> > Building with: R CMD build
> > 4.64s$ R CMD build .
> > * checking for file ‘./DESCRIPTION’ ... OK
> > * preparing ‘RQGIS’:
> > * checking DESCRIPTION meta-information ... OK
> > * installing the package to build vignettes
> > -----------------------------------
> > * installing *source* package ‘RQGIS’ ...
> > ** R
> > ** data
> > *** moving datasets to lazyload DB
> > ** inst
> > ** byte-compile and prepare package for lazy loading
> > Error in dyn.load(file, DLLpath = DLLpath, ...) :
> > unable to load shared object '/Users/travis/R/Library/rgdal/libs/rgdal.so':
> > dlopen(/Users/travis/R/Library/rgdal/libs/rgdal.so, 6): Library not loaded: /Builds/unix/recipes/build/gdal-2.1.3-obj/libgdal.dylib
> > Referenced from: /Users/travis/R/Library/rgdal/libs/rgdal.so
> > Reason: image not found
> >
> > • rgdal 1.2-7 is installed successfully
> > • GDAL 1.11.5 and GDAL 2.1.3 installed via homebrew
> > • Package builds correctly locally (osx) and on my linux travis build
> >
> > Build log: https://travis-ci.org/jannes-m/RQGIS/jobs/226822143
> >
> >
> > PhD Student at Department of Geography - GIScience group
> > Friedrich-Schiller-University Jena, Germany
> > Tel.: +49-3641-9-48973 (tel:%2B49-3641-9-48973)
> > Web: https://pat-s.github.io
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-package-devel at r-project.org (mailto:R-package-devel at r-project.org) mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>
> --
> Alexandre Courtiol
>
> http://sites.google.com/site/alexandrecourtiol/home
>
> "Science is the belief in the ignorance of experts", R. Feynman

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list