Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 672
    • Issues 672
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 307
    • Merge requests 307
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpine
  • aportsaports
  • Issues
  • #13007
Closed
Open
Created Sep 14, 2021 by Rolly Estabillo@rollye830

Error loading shared library libcuda.so.1 results in fatal error

I'm getting an issue when trying to run my service as a docker image. This service uses the deep learning model vgg16. However, when I run my service in my IDE, I don't get the fatal error although I get the same missing library message and my service executes successfully. Below is the full stack trace. Please help. Thanks!

Warning: Could not load Loader: java.lang.UnsatisfiedLinkError: no jnijavacpp in java.library.path: [/usr/lib/jvm/java-11-openjdk/lib/server, /usr/lib/jvm/java-11-openjdk/lib, /usr/lib/jvm/java-11-openjdk/../lib, /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
2021-09-13 18:54:08.214  WARN 1 --- [nio-8443-exec-4] org.nd4j.linalg.factory.Nd4jBackend      : Skipped [JCublasBackend] backend (unavailable): java.lang.UnsatisfiedLinkError: /data/?/.javacpp/cache/cuda-10.2-7.6-1.5.3-linux-x86_64.jar/org/bytedeco/cuda/linux-x86_64/libjnicudart.so: Error loading shared library libcuda.so.1: No such file or directory (needed by /data/?/.javacpp/cache/cuda-10.2-7.6-1.5.3-linux-x86_64.jar/org/bytedeco/cuda/linux-x86_64/libjnicudart.so)
2021-09-13 18:54:08.223  INFO 1 --- [nio-8443-exec-4] org.nd4j.linalg.factory.Nd4jBackend      : Loaded [CpuBackend] backend
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000000021c6, pid=1, tid=375
#
# JRE version: OpenJDK Runtime Environment (11.0.11+9) (build 11.0.11+9-alpine-r0)
# Java VM: OpenJDK 64-Bit Server VM (11.0.11+9-alpine-r0, mixed mode, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# C  0x00000000000021c6
#
# Core dump will be written. Default location: /data/core.1
#
# An error report file with more information is saved as:
# /data/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://gitlab.alpinelinux.org/alpine/aports/issues 
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Edited Sep 14, 2021 by Kevin Daudt
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking