We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Pdf viewer service is not working on Fedora

Hello,


I am develop on a machine with fedora 37, in the past I had the same issue with a different fedora version.

The pdf is not displayed.

Probably the pdf viewer server also not works at rhel and centos systems, but I can't confirm it.

When I deploy the app to a ubuntu based container it is working just fine fine.


Do you have any suggestion, what can help me to get the server running.


Moritz


1 Reply

VV Visvesvar Venkatesan Syncfusion Team March 28, 2023 02:45 PM UTC

Kindly find the command to run in Fedora.

FROM fedora:latest

Run dnf install dotnet-sdk-3.1 -y

RUN dnf install dotnet-runtime-3.1 -y

RUN dnf install fontconfig -y

 


Kindly find the commands to run in Red hat 8 OS.


Commands:

sudo ln -s /usr/lib64/libdl-2.28.so /usr/lib64/libdl.so 

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y 

sudo dnf install epel-release -y 

sudo dnf install libgdiplus -y 

sudo ln -s libgdiplus.so gdiplus.dll 

 


The ln command is used to create a hard link or a symbolic link to an existing file or directory and here the command creates the symbolic link for libgdiplus.so file with the gdiplus.dll name in the lib folder. It is referred to in gdiplus graphics APIs at the application level.


Note: You can try without the last command (sudo ln -s libgdiplus.so gdiplus.dll) and it also works properly in Linux environment.


Please try to install the package using the above command and revert us with more details if facing any issues. 

Kindly try this and let us know if this helps.


Loader.
Up arrow icon