Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

322
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda