Skip to content

[WRAPPER] avoid running ldconfig (static x86)#3457

Closed
yzewei wants to merge 1 commit intoptitSeb:mainfrom
yzewei:dnf_ldconfig
Closed

[WRAPPER] avoid running ldconfig (static x86)#3457
yzewei wants to merge 1 commit intoptitSeb:mainfrom
yzewei:dnf_ldconfig

Conversation

@yzewei
Copy link
Contributor

@yzewei yzewei commented Feb 4, 2026

In the x86 Fedora image: an RPM script (glibc-common) calls a statically linked x86 ldconfig, which Box64 cannot execute and displays some Lua error logs.

[16/16] Removing libgomp-0:15.2.1-5.fc43.x86_64                             100% |  11.0   B/s |   9.0   B |  00m01s
>>> Running %triggerin scriptlet: glibc-common-0:2.42-9.fc43.x86_64                                                 >>> Non-critical error in %triggerin scriptlet: glibc-common-0:2.42-9.fc43.x86_64                                   
>>> [RPM] lua script failed: [string "%transfiletriggerin(glibc-common-2.42-9.fc43.x86_64)"]:20: assertion failed!  
>>> Running %triggerpostun scriptlet: glibc-common-0:2.42-9.fc43.x86_64                                             
>>> Non-critical error in %triggerpostun scriptlet: glibc-common-0:2.42-9.fc43.x86_64                               
>>> [RPM] lua script failed: [string "%transfiletriggerpostun(glibc-common-2.42-9.fc43.x86_64)"]:20: assertion faile
Transaction failed: Rpm transaction failed.

Signed-off-by: Zewei Yang <yangzewei@loongson.cn>
Copy link
Collaborator

@ksco ksco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good idea.

@yzewei
Copy link
Contributor Author

yzewei commented Feb 4, 2026

This is not a good idea.

What would be a better approach, or a similar approach to Steam's?

@yzewei yzewei marked this pull request as draft February 4, 2026 03:36
@ksco
Copy link
Collaborator

ksco commented Feb 4, 2026

To Steam's what? A good idea would be to fix ldconfig.

@yzewei
Copy link
Contributor Author

yzewei commented Feb 4, 2026

To Steam's what? A good idea would be to fix ldconfig.

Okay, I understand.

@yzewei yzewei closed this Feb 4, 2026
@ksco
Copy link
Collaborator

ksco commented Feb 4, 2026

For Docker usage, I think you can compile a dynamically linked x86_64 ldconfig and replace the original one with -v. Not sure about it, maybe worth a try?

@yzewei
Copy link
Contributor Author

yzewei commented Feb 4, 2026

For Docker usage, I think you can compile a dynamically linked x86_64 ldconfig and replace the original one with -v. Not sure about it, maybe worth a try?

Yes, let me give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants