- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am running into into errors while compiling the sample applications with WICED-Smart-SDK-2.1.1 immediately afterunziping and 7z'ing the SDK. Is there a separate toolchain that I would need to download to find the missing files in the toolchain?
The following is the command which I am trying to run to build the proximity sample application:
./make proximity-BCM920737TAG_Q32 build
../../Tools/common/Linux64/perl: error while loading shared libraries: libperl.so.5.14: cannot open shared object file: No such file or directory
Compiling spar_setup.c
Compiling proximity.c
Compiling sparinit.c
make[2]: *** No rule to make target `base'. Stop.
make[1]: *** [../tier2/brcm/mandatory/bld//patch.symdefs] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [proximity-BCM920737TAG_Q32] Error 2
Looking at how the perl binary is linked we see that indeed it is relying on the libperl shared library:
ldd Tools/common/Linux64/perl
linux-vdso.so.1 => (0x00007ffffd39c000)
libperl.so.5.14 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f253b6cb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f253baac000)
Looking for this shared library in the SDK didn't yield any results:
>find . -name libperl.so.5.14
>find . -name libperl.so
Looking at the files in the Toolchain in the Linux64 directory we see:
ls -la Tools/common/Linux64
total 696
drwxrwxr-x 2 ben ben 4096 Sep 8 12:31 .
drwxrwxr-x 7 ben ben 4096 Sep 8 12:31 ..
-rwxrwxr-x 1 ben ben 13545 Sep 8 12:31 bin2c
-rw-rw-r-- 1 ben ben 7365 Sep 8 12:31 bin2c.c
-rwxrwxr-x 1 ben ben 60064 Sep 8 12:31 cat
-rwxrwxr-x 1 ben ben 70984 Sep 8 12:31 cp
-rwxrwxr-x 1 ben ben 39448 Sep 8 12:31 cut
-rwxrwxr-x 1 ben ben 119885 Sep 8 12:31 dash
-rwxrwxr-x 1 ben ben 39328 Sep 8 12:31 echo
-rwxrwxr-x 1 ben ben 166112 Sep 8 12:31 make
-rwxrwxr-x 1 ben ben 35344 Sep 8 12:31 md5sum
-rwxrwxr-x 1 ben ben 31664 Sep 8 12:31 mkdir
-rwxrwxr-x 1 ben ben 10416 Sep 8 12:31 perl
-rwxrwxr-x 1 ben ben 47088 Sep 8 12:31 rm
-rwxrwxr-x 1 ben ben 39360 Sep 8 12:31 uname
If you could provide any guidance I would really appreciate it.
Thanks again.
-ben
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This looks like a similar issue to one that another user ran into on the Mac.
Take a look here, third post by vik86 from the bottom: Re: Build Issue on MAC 2.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This looks like a similar issue to one that another user ran into on the Mac.
Take a look here, third post by vik86 from the bottom: Re: Build Issue on MAC 2.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! That worked and I was able to build the application!
Just another quick question, do you know in which SDK this would be fixed?
-Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This should be fixed within SDK 2.2, which will be released in the next day or two.