Skip to content
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

cannot be preloaded (cannot open shared object file): ignored. #23

Open
HTPCall opened this issue Mar 30, 2024 · 1 comment
Open

cannot be preloaded (cannot open shared object file): ignored. #23

HTPCall opened this issue Mar 30, 2024 · 1 comment

Comments

@HTPCall
Copy link

HTPCall commented Mar 30, 2024

After this;

!rm -r render
!mkdir render

if upload_type == 'gdrive_relative':
if not drive_path.endswith('/'):
drive_path += '/'
!cp -r '/drive/My Drive/{drive_path}.' 'render/'
elif uploaded_filename.lower().endswith('.zip'):
!unzip -o $uploaded_filename -d 'render/'
elif uploaded_filename.lower().endswith('.blend'):
shutil.copy(uploaded_filename, 'render/')
blend_file_path = uploaded_filename
else:
raise SystemExit("Invalid file extension, only .blend and .zip can be uploaded.")

I GET THIS FOR A SINGLE CUBE BLEND FILE

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.3.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

@Dev123456689
Copy link

This comment is for the developer of this Script @ynshung:
You can solve this error by replacing os.environ["LD_PRELOAD"] = "/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.3.0" with os.environ["LD_PRELOAD"] = "/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.5.9"

The updated version of libtcmalloc_minimal i.e., 4.5.9 works without an error.

Additionally, I have my own render script which is in my opinion a little more stable, future proof and easier to use and I will not mind if you use my script to improve this script but would be happy if you do so, link down below:
Colab Link: https://colab.research.google.com/github/Dev123456689/Google_Colab_Render/blob/main/Free_Render.ipynb
Github File link: https://github.com/Dev123456689/Google_Colab_Render/blob/main/Free_Render.ipynb

And for @HTPCall:
Just ignore the error, it will do no harm

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

No branches or pull requests

2 participants