You are not logged in.
Pages: 1
I was using f3d for thumbnails in my file viewer and to inspect stls. It has stopped launching or generating new thumbnails. When checking the version, or calling f3d for anything this is the output:
f3d: symbol lookup error: /usr/bin/../lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE As a newbie I am unsure how to handle this, as removing and reinstalling f3d has done nothing. Restoring older versions of f3d from /var/cache/pacman/pkg/ has also done nothing. Is there some problem with the locale if it is reading a character wrong? I am unsure.
Here are some packages I have that may be relevant:
Linux 6.668-1-lts
lightdm 1.32.0 (X11)
Cinnamon 6.4.3
bash 5.2.37
f3d-2.5.1-2I will provide anything else as needed.
Last edited by DefLeper (2025-01-01 05:56:16)
Offline
Try to downgrade usd, f3d might require a rebuild.
Online
Thank you for getting back to me, sorry for my late reply.
I've been trying various downgrades of usd, but so far nothing has been working. I have tried downgrading f3d along with it, and while different errors are being outputted, nothing functionally has changed. Here is the output of downgraded usb without downgrading f3d:
# this is the current update with f3d-2.5.1-2 and usd-24.11-1
$ f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE
# f3d-2.5.1-2 and usd-24.11-2 (23-Dec-2024)
$ f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE
# f3d-2.5.1-2 and usd-24.11-4 (27-Dec-2024)
$ f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE
# f3d-2.5.1-2 and usd-24.08-6 (03-Dec-2024)
$ f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZN11vtkImporter4ReadEvOutput of downgraded versions of f3d with downgraded versions of usb:
# f3d-2.5.1-1 (10-Dec-2024) and usd-24.11-4 (27-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory
# f3d-2.5.1-1 (10-Dec-2024) and usd-24.11-2 (23-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory
# f3d-2.5.1-1 (10-Dec-2024) and usd-24.08-6 (03-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory
# f3d-2.5.0-9 (03-Dec-2024) and usd-24.11-4 (27-Dec-2024)
S f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE
# f3d-2.5.0-9 (03-Dec-2024) and usd-24.11-2 (23-Dec-2024)
$ f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZTVN32pxrInternal_v0_24__pxrReserved__26UsdShadeMaterialBindingAPIE
# f3d-2.5.0-9 (03-Dec-2024) and usd-24.08-6 (03-Dec-2024)
$f3d
f3d: symbol lookup error: /usr/lib/libf3d.so.2: undefined symbol: _ZN11vtkImporter4ReadEv
# f3d-2.5.0-8 (09-Nov-2024) and usd-24.11-4 (27-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory
# f3d-2.5.0-8 (09-Nov-2024) and usd-24.11-2 (23-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directory
# f3d-2.5.0-8 (09-Nov-2024) and usd-24.08-6 (03-Dec-2024)
$ f3d
f3d: error while loading shared libraries: libpython3.12.so.1.0: cannot open shared object file: No such file or directoryI am a Newbie and am unsure why this is, but the current version within https://archlinux.org/packages/extra/x86_64/usd/ is usd-24.11-1, even though there are two newer versions listed in the Package Index at https://archive.archlinux.org/packages/u/usd/. When trying to downgrade to versions of usd earlier than December 2024, I was ultimately prevented by this error:
$ sudo pacman -U /home/User/Downloads/usd-24.08-5-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package usd (24.11-4 => 24.08-5)
resolving dependencies...
warning: cannot resolve "libboost_python312.so=1.86.0-64", a dependency of "usd"
:: The following package cannot be upgraded due to unresolvable dependencies:
usd
:: Do you want to skip the above package for this upgrade? [y/N] It appears a dependency is missing. I did clear my /var/cache earlier, and have been using the tar.zst files from the Arch Linux Package Index, then using pacman -U /location/to/tar.zst to downgrade. I have done this method before with success, but is this the source of the problem? Am I downgrading the packages improperly?
Offline
https://gitlab.archlinux.org/archlinux/ … 0bdddb3e85 was last built 10. 12. 2024
https://gitlab.archlinux.org/archlinux/ … 442e9fa21d was the last usd build beforehand, 24.08-6 for which you ran into a new symbol miss "undefined symbol: _ZN11vtkImporter4ReadEv" which is from https://archlinux.org/packages/extra/x86_64/vtk/
tl;dr: https://gitlab.archlinux.org/archlinux/ … -/issues/3 - f3d needs a rebuild for usd and vtk updates.
Last edited by seth (2025-01-02 08:56:59)
Online
Thank you for showing the link to forum, its exactly my problem! But it appears there is nothing more that I can do, the makers of f3d or usd or vtk need to find the solution and then they rebuild the package?
Offline
Yup. I've not read through it so I can't tell how big of a problem this is gonna be, but w/ the python situation this is a clusterfuck where you need versions rebuilt for python 3.13.1 but f3d doesn't build against those versions.
Try to downgrade vtk to 9.4.0 and usd to 24.08-6 and put them onto the ignore list in pacman.conf until there's an f3d update, hopefully before the next python bump ![]()
Online
Hi, F3D dev here.
I confirm that the f3d package is currently non-fonctionnal, there is a rebuild in [testing] that fixes the issue, however because of the way VTK is built, F3D thinks is a headless build and fails with:
This is a headless build of F3D, interactive rendering is not supportedWe (the f3d dev team) will not fix this as we already started the F3D 3.0 release cycle where this issue is already fixed.
In the meantime you can either:
- Ask the package maintainer (Caleb Maclennan) to patch this out (a few lines to remove in "application/CMakeLists.txt:42") and do another rebuild
- Use the binary release from https://f3d.app/doc/user/INSTALLATION.html
- Use the f3d-git AUR package which does not have this issue.
Last edited by GloW_on_dub (2025-01-04 17:06:25)
Offline
I has not able to build f3d-git either, due to an error related to usd. f3d-bin version 2.5.0 is working.
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What's the actual build error?
Online
@GloW_on_dub is this what you had in mind for the patch?
diff --git a/PKGBUILD b/PKGBUILD
index 71b161e..07e0c4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,8 +37,15 @@ makedepends=('cmake'
'pybind11'
'python'
'utf8cpp')
-source=("https://github.com/$pkgname-app/$pkgname/archive/refs/tags/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('55ea01931f90f066df1abc0ae4e9575672e80b83b241f51884224baa8dccac24')
+source=("https://github.com/$pkgname-app/$pkgname/archive/refs/tags/v$pkgver/$pkgname-$pkgver.tar.gz"
+ f3d-2.5.4-vtk9.4-compat.patch)
+sha256sums=('55ea01931f90f066df1abc0ae4e9575672e80b83b241f51884224baa8dccac24'
+ '937d1b5bd922dc226340b6480dd51df5ad37ad66f6683121e4aa7b82737179b5')
+
+prepare() {
+ # Minimal backport of https://github.com/f3d-app/f3d/commit/d9fa161e99817028a16b9db371c0369d44b8022e for vtk 9.4 compatibility
+ patch -Np1 -i ../f3d-2.5.4-vtk9.4-compat.patch -d "$pkgname-$pkgver"
+}
build() {
cd "$pkgname-$pkgver"
diff --git a/f3d-2.5.4-vtk9.4-compat.patch b/f3d-2.5.4-vtk9.4-compat.patch
new file mode 100644
index 0000000..215f3c9
--- /dev/null
+++ b/f3d-2.5.4-vtk9.4-compat.patch
@@ -0,0 +1,19 @@
+diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt
+index f0a44d8..35d9219 100644
+--- a/application/CMakeLists.txt
++++ b/application/CMakeLists.txt
+@@ -86,9 +86,11 @@ set(f3d_compile_options_private "")
+ set(f3d_compile_options_public "")
+ set(f3d_link_options_public "")
+
+-# Headless EGL build
+-if (VTK_OPENGL_HAS_EGL)
+- target_compile_definitions(f3d PRIVATE F3D_HEADLESS_BUILD)
++if(VTK_VERSION VERSION_LESS 9.3.20240914)
++ # Headless EGL build
++ if (VTK_OPENGL_HAS_EGL)
++ target_compile_definitions(f3d PRIVATE F3D_HEADLESS_BUILD)
++ endif ()
+ endif ()
+
+ # F3D_STRICT_BUILDOffline
Updated my system yesterday, f3d functions perfectly now. Versions of the packages mentioned in this thread:
f3d 3.0.0-1
usd 24.11-5
vtk 9.4.1-2
Thanks to those that got it working again!
Offline
Pages: 1