Cool VL Viewer forum
http://sldev.free.fr/forum/

LD_PRELOAD Errors
http://sldev.free.fr/forum/viewtopic.php?f=6&t=2467
Page 1 of 1

Author:  ZaneZimer [ 2024-03-03 11:51:19 ]
Post subject:  LD_PRELOAD Errors

While wandering through my journal, I noticed these:
Code:
Mar 03 06:35:33 zane cool_vl_viewer.desktop[42425]: ERROR: ld.so: object '/home/zanezimer/Applications/CoolVLViewer-x86_64-1.32.0.12-clang/lib/libcef.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELF class: ELFCLASS64): ignored.
Mar 03 06:35:33 zane cool_vl_viewer.desktop[42425]: ERROR: ld.so: object '/home/zanezimer/Applications/CoolVLViewer-x86_64-1.32.0.12-clang/lib/libcef.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELF class: ELFCLASS64): ignored.
Mar 03 06:35:33 zane cool_vl_viewer.desktop[42427]: esync: up and running.
Mar 03 06:35:34 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:34Z WARNING: ll_apr_warn_status: APR: Connection refused
Mar 03 06:35:34 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:34Z INFO: LLVOAvatarSelf::setHoverIfRegionEnabled: Set hover height for self from debug setting: 0m
Mar 03 06:35:35 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:35Z WARNING: ll_apr_warn_status: APR: Connection refused
Mar 03 06:35:36 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:36Z INFO: handle_objects_visibility: Refreshing objects visibility
Mar 03 06:35:36 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:36Z INFO: LLVOWLSky::updateGeometry: WL Skydome strips in 4 batches.
Mar 03 06:35:36 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:36Z WARNING: ll_apr_warn_status: APR: Connection refused
Mar 03 06:35:36 zane cool_vl_viewer.desktop[42428]: ERROR: ld.so: object '/home/zanezimer/Applications/CoolVLViewer-x86_64-1.32.0.12-clang/lib/libcef.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELF class: ELFCLASS64): ignored.
Mar 03 06:35:36 zane cool_vl_viewer.desktop[42428]: ERROR: ld.so: object '/home/zanezimer/Applications/CoolVLViewer-x86_64-1.32.0.12-clang/lib/libcef.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELF class: ELFCLASS64): ignored.
Mar 03 06:35:38 zane cool_vl_viewer.desktop[42174]: 2024-03-03 11:35:38Z WARNING: ll_apr_warn_status: APR: Connection refused
They don't really seem to indicate a problem as web functionality within the viewer is OK. A brief log file attached in case it provides any insights.

Attachments:
CoolVLViewer.zip [26.4 KiB]
Downloaded 99 times

Author:  Henri Beauchamp [ 2024-03-03 13:56:48 ]
Post subject:  Re: LD_PRELOAD Errors

This is apparently the result of a 32 bits Wine executable being used when starting the 32 bits voice client: the preloading of the 64 bits libcef.so library then fails (harmless).

To get rid of those warnings (and get a better 64 bits compatibility for voice), you could install the wine64 package on your system, then wipe-out ~/.wine-slvoice/ and reinstall the voice client (the 64 bits one is used when a 64 bits wine binary is detected) via the bundled install-wine-SLVoice.sh script

Author:  ZaneZimer [ 2024-03-03 14:09:42 ]
Post subject:  Re: LD_PRELOAD Errors

Henri Beauchamp wrote:
This is apparently the result of a 32 bits Wine executable being used when starting the 32 bits voice client: the preloading of the 64 bits libcef.so library then fails (harmless).

To get rid of those warnings (and get a better 64 bits compatibility for voice), you could install the wine64 package on your system, then wipe-out ~/.wine-slvoice/ and reinstall the voice client (the 64 bits one is used when a 64 bits wine binary is detected) via the bundled install-wine-SLVoice.sh script

Hm...I'll investigate that. I have had both versions of Wine installed for quite some time and assumed I was using the 64-bit version, but maybe not.

Author:  ZaneZimer [ 2024-03-03 14:29:07 ]
Post subject:  Re: LD_PRELOAD Errors

Reinstalling/reconfiguring SLVoice with Wine didn't seem to change the behavior. Install output certainly detected Wine64, but I still see the LD_PRELOAD error:
Code:
Checking for Wine availability...

Checking for Wine type (32 or 64 bits)...
Found wine binary: /usr/bin/wine64

Will use the win64 architecture for our Wine prefix.

Checking that binfmt_misc exists and is configured to allow the
execution of Windows binaries...

 ==> Good !  Wine is registered in binfmt_misc.

Author:  Henri Beauchamp [ 2024-03-03 14:35:39 ]
Post subject:  Re: LD_PRELOAD Errors

Well, there is apparently a 32 bits binary that gets launched somehow (perhaps indirectly, by wine64), and causes this warning...

But, it is totally harmless, so you just can ignore it.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/