Jump to content

Linked libraries error on Ubuntu 18.04 in version 2.0.1


Semirben

Recommended Posts

Hello Marten,


I want to report an error with the compiled plugin version 2.0.1 for Linux which prevents the plugin from being loaded. Using Ubuntu 18.04 (current LTS version), the plugin is missing some specific library versions which are only available in non LTS-versions 19.04 and 19.10. Please find below the outputs of 'ldd' (Check of linked libraries) and the  output of the supported GLIB versions of the mentioned libraries:

Output in X-Plane Log.txt

dlerror:/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/daniel/X-Plane 11/Resources/plugins/SAM/lin_x64/SAM.xpl)

Output of ldd

daniel@daniel-Linux ~/X-Plane 11/Resources/plugins/SAM/lin_x64 $ ldd SAM.xpl 
./SAM.xpl: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./SAM.xpl)
./SAM.xpl: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./SAM.xpl)
[...]

Output GLIB version 'libm.so.6'

daniel@daniel-Linux ~ $ strings /lib/x86_64-linux-gnu/libm.so.6 | grep GLIB
GLIBC_2.2.5
GLIBC_2.4
GLIBC_2.15
GLIBC_2.18
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27

Output GLIB version 'libstdc++.so.6'

daniel@daniel-Linux ~ $ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
[...]
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
[...]

To me it looks like it's a cross-compilation error by compiling the plugin on a non-LTS Linux version (as 19.10 for example) which breaks compatibility to older LTS-versions as too recent library versions are used for linking

Regards,

Daniel

Log.txt

Edited by Semirben
Attached Log.txt
Link to comment
Share on other sites

  • 2 weeks later...

Hi, 

I have been using this thread: https://askubuntu.com/questions/1143268/how-to-install-a-libc6-version-2-29#_=_ 

to be able to install GLIB 29 which worked. Now there is an issue coming up regarding libcurl.so4... Ubuntu 18.04 comes with libcurl.so3 which is needed by many programs and software. Also, to make things worse, libcurl.so3 and libcurl.so4 cannot exist next to each other. Though version 4 can be downloaded for Ubuntu 18.04. 

I will keep working on it and let you know if I find a solution. 

Cheers

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Don't have an account?

    An account is required to interact with and download content from the Threshold Forum.
    Forum is currently also locked down for guests because of heavy bot invasions. Sorry about that.

  • Threshold News

  • image.png.5d3ebd5638179a05dc5cfa67eaf4bf3a.png

×
×
  • Create New...

Important Information

Please read the Terms of Use