question

Upvotes
Accepted
1 1 3 3

Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `dlopen'

cmake command is cmake -DBUILD_ETA_UNIT_TESTS=OFF -DBUILD_ETA_APPLICATIONS=OFF ..



[ 58%] Linking CXX executable ../../../../../../../../Cpp-C/Ema/Executables/UBU20_64_GCC940/Optimized/Shared/Cons100

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `dlopen'

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `dlclose'

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `dlerror'

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `dlsym'

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `shm_open'

/usr/bin/ld: ../../../../../../../../Cpp-C/Eta/Libs/UBU20_64_GCC940/Optimized/Shared/librssl.so.3.6.8.0: undefined reference to `shm_unlink'

collect2: error: ld returned 1 exit status

make[2]: *** [Cpp-C/Ema/Examples/Training/Consumer/100_Series/100_MP_Streaming/CMakeFiles/Cons100_shared.dir/build.make:91: ../Cpp-C/Ema/Executables/UBU20_64_GCC940/Optimized/Shared/Cons100] Error 1

make[1]: *** [CMakeFiles/Makefile2:2808: Cpp-C/Ema/Examples/Training/Consumer/100_Series/100_MP_Streaming/CMakeFiles/Cons100_shared.dir/all] Error 2

make: *** [Makefile:84: all] Error 2


ema-api#technology
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
58.5k 161 45 65

@jxu2

Thanks for reaching out to us.

RTSDK doesn't support Ubuntu.

Please build and use the libraries on the supported platforms.

  • Oracle Linux Server 7.X Release 64-bit

  • Red Hat Enterprise Server 8.X Release 64-bit

  • CentOS 7.X Release 64-bit

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.