background: If you want to print a .step file, PrusaSlicer wants to load the OCCTWrapper.so library. On FreeBSD it fails, because it tries to load the .so file form /usr/local/bin: tingo@kg-core2:/zt/t2/work/3D_printing/2024/0328_e-steps-calibration/printables $ prusa-slicer --info "639746-easy-e-steps-rotation-distance-measurement-tool-in/E-Steps & Rotation Distance Measurement Tool v1.0.step" [2024-03-28 14:58:50.107688] [0x000000087b529000] [trace] Initializing StaticPrintConfigs 639746-easy-e-steps-rotation-distance-measurement-tool-in/E-Steps & Rotation Distance Measurement Tool v1.0.step: Cannot load OCCTWrapper.so: Cannot open "/usr/local/bin/OCCTWrapper.so" but the file lives in /usr/local/lib tingo@kg-core2:/zt/t2/work/3D_printing/2024/0328_e-steps-calibration/printables $ ll /usr/local/lib/OCCTWrapper.so -rwxr-xr-x 1 root wheel - 59296 Jan 11 11:19 /usr/local/lib/OCCTWrapper.so* PrusaSlicer installed from a package tingo@kg-core2:/zt/t2/work/3D_printing/2024/0328_e-steps-calibration/printables $ pkg info Prusa\* PrusaSlicer-2.6.0_7 tingo@kg-core2:/zt/t2/work/3D_printing/2024/0328_e-steps-calibration/printables $ freebsd-version -ku 13.2-RELEASE-p10 13.2-RELEASE-p10 tingo@kg-core2:/zt/t2/work/3D_printing/2024/0328_e-steps-calibration/printables $ uname -a FreeBSD kg-core2.kg4.no 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 GENERIC amd64
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a79650abf58e4e980e0db5d4850dc70f3849f922 commit a79650abf58e4e980e0db5d4850dc70f3849f922 Author: Michael Zhilin <mizhka@FreeBSD.org> AuthorDate: 2024-04-07 10:14:31 +0000 Commit: Michael Zhilin <mizhka@FreeBSD.org> CommitDate: 2024-04-08 05:56:00 +0000 cad/PrusaSlicer: update to 2.7.4 This update contains version 2.7.4 and fix on library path PR: 278011 Reported by: teodor.sigaev@gmail.com (maintainer) Approved by: lwhsu (mentor) Sponsored by: Postgres Professional Differential Revision: https://reviews.freebsd.org/D44668 cad/PrusaSlicer/Makefile | 3 +-- cad/PrusaSlicer/distinfo | 6 +++--- .../files/patch-src_libslic3r_CMakeLists.txt | 4 ++-- .../files/patch-src_libslic3r_Format_STEP.cpp (new) | 19 +++++++++++++++++++ .../files/patch-src_slic3r_GUI_ConfigWizard.cpp | 14 +++++++------- .../files/patch-src_slic3r_GUI_GUI__App.cpp | 12 ++++++------ cad/PrusaSlicer/files/patch-src_slic3r_GUI_Plater.cpp | 10 +++++----- .../files/patch-src_slic3r_GUI_Preferences.cpp | 14 +++++++------- cad/PrusaSlicer/files/patch-src_slic3r_GUI_Tab.cpp | 8 ++++---- 9 files changed, 54 insertions(+), 36 deletions(-)
(In reply to Torfinn Ingolfsen from comment #0) Could you check fresh port? Thank you, Michael
(In reply to Michael Zhilin from comment #2) The new version of the port works (for loading .step files at least). tingo@kg-core1:~/work/3D-print/2024/0408 $ prusa-slicer --info "E-Steps & Rotation Distance Measurement Tool v1.0.step" [E-Steps & Rotation Distance Measurement Tool v1.0.step] size_x = 130.000000 size_y = 16.000000 size_z = 8.667733 min_x = -62.800003 min_y = -5.400000 min_z = -0.000000 max_x = 67.199997 max_y = 10.600000 max_z = 8.667733 number_of_facets = 79674 manifold = yes number_of_parts = 1 volume = 8475.240234 tingo@kg-core1:~/work/3D-print/2024/0408 $ pkg info Prusa\* PrusaSlicer-2.7.4 tingo@kg-core1:~/work/3D-print/2024/0408 $ freebsd-version -ku 13.2-RELEASE-p11 13.2-RELEASE-p11
(In reply to Torfinn Ingolfsen from comment #3) Thanks! Closed