-
Notifications
You must be signed in to change notification settings - Fork 21
Service Fabric on Linux: libFabricResources.so is missed #1226
Comments
@OlegKarasik - experienced something similar in issue: #1203 |
@OlegKarasik To unblock youself, Can you set
@chenxumsft / @maburlik What is recommendation for services running in the containers wrt LD_LIBRARY_PATH ? |
@OlegKarasik I now noticed that you are hitting the exception in Closing this. Let us know if you face any problem with this. |
@ashishnegi |
@OlegKarasik Can you make sure that you have all these libraries in your Also, please double check this on a separate machine as these |
Here is the list of
I am building docker image so I tried to reinstall everything from the scratch multiple times - the result is always the same. |
@OlegKarasik I will look into your dockerfile.. Here is some documentation on how to consume it. |
@OlegKarasik It seems that the problem is with If you follow documentation, you should be installing You can try converting the script to |
Thank you very much for all the help. I have worked through the documentation and script. According to them everything should work but it don't. I have replaced The error I am getting is:
|
@OlegKarasik Or Did you actually converted script to Did you try |
I have tried both. Here are the errors when using
|
@jeffreychenmsft Can you help @OlegKarasik get a working container image of service fabric ? |
@OlegKarasik Here is a setup script which you can use in Dockerfile before installing service fabric. Also look at more files under src/prod/src/linux/dockers/ |
I hope I understand everything right. I've tried to run the above setup script and after that execute:
This effectively results in the:
I have added:
And everything returned to the previous state with the error Please correct me if I am doing something wrong but currently it is still not working. |
In case if this would be helpful to anyone. I have created a Docker Image that allows to run unit-tests that use Service Fabric classes. |
Thanks @OlegKarasik . Closing this issue. |
Good day,
I was building docker container for build & test of C# application (.NET Standard 2.0) that uses Service Fabric packages and encountered the following error while tried to run
dotnet test
command:I have checked the
/opt/microsoft/servicefabric/bin/Fabric/Fabric.Code/
path and found thatlibFabricCommon.so
is there (below is the output ofls
)Then I traced the dependencies of
libFabricCommon.so
and found thatlibFabricResources.so
isn't installed (below is the output ofldd
)Can you help me understand what is wrong here?
Here is the docker file I used to prepare build image:
The text was updated successfully, but these errors were encountered: