Open zzzzyp-sgg opened 1 year ago
Hi, I try to build this program on my RPi4, and my system is Ubuntu20.04 + ROS noetic, when I run "catkin_make", errors will occur /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dladdr@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tosem_trywait@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlclose@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tosem_post@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlerror@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_mutexattr_init@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_key_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_detach@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_setspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tosem_close@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to __libc_single_threaded@GLIBC_2.32' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_join@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_mutex_trylock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference todlsym@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_getspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tostd::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_key_delete@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_condattr_setclock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to sem_open@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tostat@GLIBC_2.33' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to dlopen@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_mutexattr_settype@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to pthread_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_mutexattr_destroy@GLIBC_2.34' collect2: error: ld returned 1 exit status make: *** [Makefile:53: Acquisition] Error 1
dladdr@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
dlclose@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
dlerror@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_key_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_setspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
__libc_single_threaded@GLIBC_2.32' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_mutex_trylock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_getspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_key_delete@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
sem_open@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
dlopen@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
Do you know how to solve this problem?Thanks!
I changed to a lower version of the Spinnaker library and the problem was resolved. The problem was probably caused by the latest library not being compatible with the Raspberry PI ARM64 architecture
Hi, I try to build this program on my RPi4, and my system is Ubuntu20.04 + ROS noetic, when I run "catkin_make", errors will occur /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
dladdr@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
sem_trywait@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference todlclose@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
sem_post@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference todlerror@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_mutexattr_init@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_key_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_detach@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_setspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
sem_close@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to__libc_single_threaded@GLIBC_2.32' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_join@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_mutex_trylock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
dlsym@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_getspecific@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_key_delete@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_condattr_setclock@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference tosem_open@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
stat@GLIBC_2.33' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference todlopen@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_mutexattr_settype@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference topthread_create@GLIBC_2.34' /usr/bin/ld: ../../lib/libSpinnaker.so: undefined reference to
pthread_mutexattr_destroy@GLIBC_2.34' collect2: error: ld returned 1 exit status make: *** [Makefile:53: Acquisition] Error 1Do you know how to solve this problem?Thanks!