On x86_64 .NET uses /lib64/ld-linux-x86-64.so.2. However Yocto defaults everything to /lib.
This can be solved by adding symbolic link `mkdir -p /lib64; ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2` or adding following lines to force multi-lib layout similar to desktop Linux distributions.
```
require conf/multilib.conf
MULTILIBS = "multilib:lib64"
DEFAULTTUNE_virtclass-multilib-lib64 = "x86"
```
# Getting the app ready
Write and debug your app. When ready to publish, use:
```
dotnet publish -r <runtimeidentifier>
```
the identifier is 'linux-x86', 'linux-x64' or 'linux-arm' depending on your target architecture.
For ARM and more details you can take a look at [RaspberryPiInstructions](RaspberryPiInstructions.md).
Package `bin/Debug/netcoreapp2.0/<runtime identifier>/publish` to your image.
That directory has the native executable binary as well as all needed runtime dependencies.
After following these steps to configure Yocto, .NET Core applications should run just like they do on other supported Linux distros.