SliTaz SliTaz Forum

You are not logged in.

#1 2025-10-28 01:43:10

jianliulin
Member
Registered: 2012-08-31
Posts: 27

Whate lib lost ? Please Help me

stliatz download form https://people.slitaz.org/~shann/slitaz-current64-stuff/slitaz-current64-core64.iso, and the libstdc++.so.6 is in the path

tux@slitaz:/media/app/ConsoleApp1/bin/Debug/net9.0$

tux@slitaz:/media/app/ConsoleApp1/bin/Debug/net9.0$ ./ConsoleApp1

Unhandled exception. System.TypeInitializationException: The type initializer for 'QuestPDF.Settings' threw an exception.

---> System.TypeInitializationException: The type initializer for 'QuestPDF.Helpers.Helpers' threw an exception.

---> System.Exception: The QuestPDF library has encountered an issue while loading one of its dependencies.

If the problem persists, it may mean that your current operating system distribution is outdated. For optimal compatibility, please consider updating it to a more recent version.

---> System.DllNotFoundException: Unable to load shared library 'QuestPdfSkia' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:

/media/app/ConsoleApp1/bin/Debug/net9.0/runtimes/linux-x64/native/QuestPdfSkia.so: cannot open shared object file: No such file or directory

/media/app/donet/shared/Microsoft.NETCore.App/9.0.10/QuestPdfSkia.so: cannot open shared object file: No such file or directory

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /media/app/ConsoleApp1/bin/Debug/net9.0/QuestPdfSkia.so)

/media/app/ConsoleApp1/bin/Debug/net9.0/runtimes/linux-x64/native/libQuestPdfSkia.so: cannot open shared object file: No such file or directory

/media/app/donet/shared/Microsoft.NETCore.App/9.0.10/libQuestPdfSkia.so: cannot open shared object file: No such file or directory

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /media/app/ConsoleApp1/bin/Debug/net9.0/libQuestPdfSkia.so)

/media/app/ConsoleApp1/bin/Debug/net9.0/runtimes/linux-x64/native/QuestPdfSkia: cannot open shared object file: No such file or directory

/media/app/donet/shared/Microsoft.NETCore.App/9.0.10/QuestPdfSkia: cannot open shared object file: No such file or directory

/media/app/ConsoleApp1/bin/Debug/net9.0/QuestPdfSkia: cannot open shared object file: No such file or directory

/media/app/ConsoleApp1/bin/Debug/net9.0/runtimes/linux-x64/native/libQuestPdfSkia: cannot open shared object file: No such file or directory

/media/app/donet/shared/Microsoft.NETCore.App/9.0.10/libQuestPdfSkia: cannot open shared object file: No such file or directory

/media/app/ConsoleApp1/bin/Debug/net9.0/libQuestPdfSkia: cannot open shared object file: No such file or directory

   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.API.check_compatibility_by_calculating_sum(Int32 a, Int32 b)

   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.API.check_compatibility_by_calculating_sum(Int32 a, Int32 b)

   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.ExecuteNativeCode()

   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.CheckIfExceptionIsThrownWhenLoadingNativeDependencies()

   --- End of inner exception stack trace ---

   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.<TestOnce>g__ThrowCompatibilityException|18_0(Exception innerException)

   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.TestOnce()

   at QuestPDF.Helpers.NativeDependencyCompatibilityChecker.Test()

   at QuestPDF.Skia.SkNativeDependencyCompatibilityChecker.Test()

   at QuestPDF.Helpers.Helpers..cctor()

   --- End of inner exception stack trace ---

   at QuestPDF.Helpers.Helpers.get_ApplicationFilesPath()

   at QuestPDF.Settings..cctor()

   --- End of inner exception stack trace ---

   at QuestPDF.Settings.set_License(Nullable`1 value)

   at ConsoleApp1.Program.Main(String[] args) in /media/app/ConsoleApp1/Program.cs:line 14

Offline

#2 2025-10-28 09:37:58

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Whate lib lost ? Please Help me

Hi jianliulin,

Not sure understand, i quick search and seem that glibc 2.34 have GLIBCXX_3.4.26.

strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_3.4.2

GLIBCXX_3.4.2

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBCXX_3.4.22

GLIBCXX_3.4.23

GLIBCXX_3.4.24

GLIBCXX_3.4.25

GLIBCXX_3.4.26

GLIBCXX_3.4.27

GLIBCXX_3.4.28

If you do this command, found another libstdc++.so.6 ?

[c]find /media/app -name "libstdc++*"[/c]

Offline

#3 2025-10-29 04:02:20

jianliulin
Member
Registered: 2012-08-31
Posts: 27

Re: Whate lib lost ? Please Help me

@shann

I do those commands tazpkg -gi glibc and  tazpkg -gi glibc-base --forced

then do

root@slitaz:/home/tux# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_3.4.2

GLIBCXX_3.4.2

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBCXX_3.4.22

GLIBCXX_3.4.23

GLIBCXX_3.4.24

GLIBCXX_3.4.25

tux@slitaz:~$ slitaz

SliTaz GNU/Linux

================================================================================

Release      : current64

Architecture : x86_64

Kernel       : 5.10.235-slitaz64

Machine type : x86_64

Home path    : /home/slitaz

Configs      : /etc/slitaz

Main config  : /etc/slitaz/slitaz.conf

Log files    : /var/log/slitaz

Packages DB  : /var/lib/tazpkg

Installed    : 306 packages

Mirror       : http://people.slitaz.org/~shann/slitaz-current64-stuff/packages/

System date  : Tue Oct 28 23:40:01 EDT 2025

--------------

Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz root=/dev/null video=-32 autologin lang=en_US kmap=us tz=America/New_York

================================================================================

tazpkg list

glibc                              2.34              meta

glibc-base                         2.34              base-system

glibc-dev                          2.34              development

glibc-locale                       2.34              system-tools

Offline

#4 2025-10-29 07:13:53

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: Whate lib lost ? Please Help me

Hi jianliulin,

I think found why you don't see GLIBCXX_3.4.26, GLIBCXX_3.4.27 and GLIBCXX_3.4.28 on [c]/usr/lib/libstdc++.so.6[/c]. It's provide by gcc-lib-base and if understand you boot on live mode.

If not wrong, you have gcc-lib-base 8.3.0 instead last 10.2.0.

Suggest to do [c]tazpkg -gi glib-base --forced && tazpkg -gi gcc-lib-base --forced[/c] to ensure you have last glibc and gcc-lib-base

Offline

#5 2025-10-30 06:41:51

jianliulin
Member
Registered: 2012-08-31
Posts: 27

Re: Whate lib lost ? Please Help me

@shann

Thank you very much.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.031 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]