-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Dcoker构建 .NET8 按HTML模版导出PDF 报错找不到libjpeg62,同样的环境.NET7打包运行后导出PDF就正常 #553
Comments
请问这个问题解决了吗?我在.NET7中也报了同样的问题 Magicodes.IE.Pdf 也是2.7.5.1版本 你的DockerFile文件中.net 7是用的什么版本 |
还是这个版本2.7.5.1 Docker 后是正常的 |
.net8 下遇到同样的问题。。 |
已解决,应该是缺少了一些本地文件,懒得去找了,重新安装wkhtmltopdf就好了: RUN apt-get update |
能看下你Dcoerfile文件里怎么写的吗?我这构建还是有问题 |
就是net的dockerfile官方模版在开头加上就行啦,网络下载很慢,所以我开启了build cache,第二次就飞快了。
|
Expected behaviour
Tell us what should happen.
One or more errors occurred. (Unable to load native library. The platform may be missing native dependencies (libjpeg62, etc). Or the current platform is not supported.)
换回.NET7 构建的就没有这个问题,正常导出PDF
尝试Dcoerfile构建时 安装 libjpeg62这些 问题依然没有解决,哪位大哥有解决方案说下 Magicodes.IE.Pdf 是2.7.5.1版本
The text was updated successfully, but these errors were encountered: