question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSError: libtxc_dxtn.so: cannot open shared object file

See original GitHub issue

Blender v2.80 Official Release Ubuntu Linux 64bit SourceIO v3.5.1

Traceback (most recent call last):
  File "/home/user/Downloads/Blender/blender-2.80-linux-glibc217-x86_64/2.80/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/user/.config/blender/2.80/scripts/addons/SourceIO/__init__.py", line 15, in <module>
    from .vtf.blender_material import BlenderMaterial
  File "/home/user/.config/blender/2.80/scripts/addons/SourceIO/vtf/blender_material.py", line 5, in <module>
    from ..vtf.import_vtf import import_texture
  File "/home/user/.config/blender/2.80/scripts/addons/SourceIO/vtf/import_vtf.py", line 6, in <module>
    from ..vtf.VTFWrapper import VTFLib
  File "/home/user/.config/blender/2.80/scripts/addons/SourceIO/vtf/VTFWrapper/VTFLib.py", line 40, in <module>
    class VTFLib:
  File "/home/user/.config/blender/2.80/scripts/addons/SourceIO/vtf/VTFWrapper/VTFLib.py", line 44, in VTFLib
    vtflib_cdll = cdll.LoadLibrary(os.path.join(full_path, vtf_lib_name))
  File "/home/user/Downloads/Blender/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/ctypes/__init__.py", line 434, in LoadLibrary
    return self._dlltype(name)
  File "/home/user/Downloads/Blender/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/ctypes/__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libtxc_dxtn.so: cannot open shared object file: No such file or directory

I believe this was mentioned here https://github.com/REDxEYE/SourceIO/issues/13#issuecomment-515693422 but I should have made it a separate issue earlier to reduce confusion.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Ganonmastercommented, Oct 7, 2019

libtxc_dxtn is an old library that is being used to provide S3TC support in the Linux version of VTFLib. Since there are likely no other libraries or programs on your computer that depend on this old library, it’s unlikely that it will cause side-effects.

Ideally VTFLib would be updated to implement modern libraries, but since that’s not a small task, we’re stuck with what we have.

1reaction
Ganonmastercommented, Oct 6, 2019

@0Curtain0 The mesa-common-dev package can likely be installed without problem, as long as you do not change your default graphics driver to Mesa.

Installing the package on your system will also install its dependencies. In the worst case, it will also select mesa as the default graphics driver. If that happens, you might need to change this back to the right Nvidia driver.

Read more comments on GitHub >

github_iconTop Results From Across the Web

file.so: cannot open shared object file: No such file or directory ...
The shared library that I was trying to open was not build for the architecture used by your Virtual Machine. aarch64 vs x84_64....
Read more >
Solving The “Cannot Open Shared Object File - Baeldung
Learn what causes the "cannot open shared object file: No such file or directory" error in Linux, and how to fix it.
Read more >
[Solved] cannot open shared object file Error in Ubuntu
Complete detailed solution for fixing “error while loading shared libraries” error in Ubuntu based Linux distributions.
Read more >
[SOLVED]OSError: libespeak.so.1: cannot open shared object ...
In this video we are going to solve the Error- OSError : libespeak. so.1: cannot open shared object file : No such file...
Read more >
Libdxcore.so: cannot open shared object file: No such file or ...
After a while of being on the same version of Manjaro, I updated, and some files went missing after it decided to update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found