- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use OS ubuntu 20.04. For my project case I use Intel Sdk pfga for Opencl standard version 18.1. after I have generated .aocx and compiling host. When I try to run the following error was generated.
error while loading shared libraries: libalteracl.so: wrong ELF class: ELFCLASS64
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Please check the document below
https://software.intel.com/content/www/us/en/develop/tools/opencl-sdk.html
The supported versions of Operating system are mentioned as 16.04 and 18.04.
Please use any of them because the software would have been validated against them,
For a similar issue please refer
https://forums.intel.com/s/question/0D50P00003yyNaESAU/wrong-elf-class-elfclass32?language=en_US
Thanks and Regards
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/usr/bin/ld: skipping incompatible /home/guta/intelFPGA/18.1/hld/host/arm32/lib/libalteracl.so when searching for -lalteracl
/usr/bin/ld: skipping incompatible /home/guta/intelFPGA/18.1/hld/board/de1_soc/arm32/lib/libintel_soc32_mmd.so when searching for -lintel_soc32_mmd
/usr/bin/ld: cannot find -lintel_soc32_mmd
/usr/bin/ld: skipping incompatible /home/guta/intelFPGA/18.1/hld/host/arm32/lib/libelf.so when searching for -lelf
collect2: error: ld returned 1 exit status
Makefile:74: recipe for target 'bin/host' failed
make: *** [bin/host] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have changed my OS to ubuntu 18.04, but still the error no fixed for me. Please ............?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have change the my OS to ubuntu 18.04, but still the problem no fixed. Please help me???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you get to any clue with it?
I have similar problem with my DE10-nano. The "libalteracl.so" either with 18.1 or 16.1 images, using the included executables. Below the complete log...
root@socfpga:~# ls -l
total 28
-rw-r--r-- 1 root root 225 Apr 27 2016 README
drwx------ 2 root root 4096 Jan 24 2017 boardtest
drwx------ 2 root root 4096 Apr 27 2016 hello_world
-rw-r--r-- 1 root root 279 Apr 16 2014 init_opencl.sh
drwxr-xr-x 7 root root 4096 Oct 5 2015 opencl_arm32_rte
drwx------ 2 root root 4096 Jan 24 2017 swapper
drwx------ 2 root root 4096 Jan 24 2017 vector_add
root@socfpga:~# sh init_opencl.sh
root@socfpga:~# cd boardtest/
root@socfpga:~/boardtest#
root@socfpga:~/boardtest#
root@socfpga:~/boardtest# ls
boardtest.aocx boardtest_host
root@socfpga:~/boardtest# ./boardtest_host
./boardtest_host: error while loading shared libraries: libalteracl.so: cannot open shared object file: No such file or directory

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page