Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

319
Vistas
analysing data using R, AWS lambda and python

I was trying to replicate this post created by Amazon web services in to using R and AWS lambda link. Its corresponding GitHub link is at link. Whilst running the following commands

cp /usr/lib64/libblas.so.3 $HOME/lambda/lib/
cp /usr/lib64/liblapack.so.3 $HOME/lambda/lib/

I got the following errors correspondingly.

cp: cannot stat '/usr/lib64/libblas.so.3': No such file or directory
cp: cannot stat '/usr/lib64/liblapack.so.3': No such file or directory

However, I managed to circumvent it by specifically installing the blas and lapack libraries

sudo yum -y install blas
sudo yum -y install lapack 

However, on running the AWS lambda function - I'm getting the following module initialisation error

module initialization error: lib/libRrefblas.so: undefined symbol: xerbla_

Can someone help with this? Thanks. There's also an issue raised in the last two days with respect to this.

Update: Found this blog that explains the process of running R on AWS lambda link. It is up-to-date. As the author notes - it's befuddling that manual loading of the libraries cause the xerbla_ error.

about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I was able to overcome this error by forcing the use of the system version by removing the local version of the file as such:

rm lib/libRrefblas.so

about 4 years ago · Santiago Trujillo Denunciar

0

I couldn't just remove libRrefblas.so because my version of R was looking for it (even though I had made sure to install Lapack and BLAS before installing R). I had to

    rm lib/libRrefblas.so
    cp /usr/lib64/libblas.so.3 lib/
    mv lib/libblas.so.3 lib/libRrefblas.so
about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda