olad is looking in the wrong location for libolaserver.so.0
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, linux
- Área
- build-system
Línea de trabajo
The entry point is the installed olad command; compare it with olad in the build directory and the attached strace files. Inspect the installation and runtime-library configuration behind make all and sudo make install; done means olad starts outside the build directory without the missing libolaserver.so.0 error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
System info :
rainfay@port:~/ola-0.10.9/olad$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
--- GCC info ----
rainfay@port:~/ola-0.10.9/olad$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
rainfay@port:~/ola-0.10.9/olad$
Okay issue description
Fresh build
After running
#make all
#sudo make install
then running the olad command via
root@port:~# olad
olad: error while loading shared libraries: libolaserver.so.0: cannot open shared object file: No such file or directory
root@port:~#
vs running the following in the build directory which works
rainfay@port:~/ola-0.10.9/olad$ ./olad
common/io/IOUtils.cpp:39: open(/dev/dmx0): No such file or directory
plugins/opendmx/OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such file or directory
common/io/IOUtils.cpp:39: open(/dev/kldmx0): No such file or directory
plugins/karate/KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such file or directory
plugins/pathport/PathportNode.cpp:164: Pathport packet too small to fit a pdu header
plugins/pathport/PathportNode.cpp:164: Pathport packet too small to fit a pdu header
^Crainfay@port:~/ola-0.10.9/olad$
Attached the following straces
[strace OLAD.txt](https://github.com/OpenLightingProject/ola/files/14814640/strace.OLAD.txt)
Running the non working command
[straceinsrc.txt](https://github.com/OpenLightingProject/ola/files/14814641/straceinsrc.txt)
Running the working command
Looking at the non working strace.
It searches for libolaserver.so.0 in a lot of locations then gives up at ...
openat(AT_FDCWD, "/usr/lib/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
running a find command
root@port:~# find /usr/ -type f -name "libolaserver*"
/usr/local/lib/libolaserverplugininterface.a
/usr/local/lib/libolaserver.so.0.0.0
/usr/local/lib/pkgconfig/libolaserver.pc
/usr/local/lib/libolaserver.la
/usr/local/lib/libolaserver.a
/usr/local/lib/libolaserverplugininterface.la
/usr/local/lib/libolaserverplugininterface.so.0.0.0
---
The location the program is looking for the library is the wrong location.
vs the working strace
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/tls/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/tls/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/tls", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/x86_64/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/x86_64/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/x86_64/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/rainfay/ola-0.10.9/olad/.libs/x86_64", 0x7fff7e1937e0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/rainfay/ola-0.10.9/olad/.libs/libolaserver.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\217\4\0\0\0\0\0"..., 832) = 832
Looks in the same directory structure and finds it...
- Lenguaje dominante
- C++
- Estrellas
- 773
- Forks
- 233
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenLightingProject/ola
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoquestion Type-DeviceSupport
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
OpenLightingProject/ola#2056 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
OpenLightingProject/ola#2053 · 1 comentario ·
-
v0.11.0Quizá libre de nuevo @peternewman la tomó hace 227 días y no hay ningún pull request abierto. Abierto
OpenLightingProject/ola#2038 · 18 comentarios · 2 asignados ·
Todos los issues de OpenLightingProject/ola
Issues similares
-
[内容勘误] STL常用模式章节实战演练中代码有问题Abiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
deepseek-ai/DeepEP#830 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
google-ai-edge/LiteRT-LM#4701 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
HarperFast/rocksdb-js#1131 ·
Los mantenedores suelen responder en 1 día
-
Swapped cache lookups in ScanModelAndDecideAllDiffExpansionPosiblemente ocupada @Lian292213 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día