Description: assimp library consumers can't find assimp library due to incorrect path in cmake module. Reason: Original files/findassimp-3.3.1.patch contains: find_library( assimp_LIBRARIES NAMES assimp - PATHS /usr/local/lib/ + PATHS /usr/lib/ ) For AMD64 platforms library libassimp.so.4.0.1 installs to /usr/lib64. The lib->lib64 compatibility symlink is removed (see 2019-06-05-amd64-17-1-profiles-are-now-stable news). Fix: Add path hint for /usr/lib64. Should be like: --- a/cmake-modules/Findassimp.cmake 2016-09-26 07:52:09.719727490 +0200 +++ b/cmake-modules/Findassimp.cmake 2016-09-26 07:52:28.509727838 +0200 @@ -55,13 +55,13 @@ find_path( assimp_INCLUDE_DIRS NAMES postprocess.h scene.h version.h config.h cimport.h - PATHS /usr/local/include/ + PATHS /usr/include/ ) find_library( assimp_LIBRARIES NAMES assimp - PATHS /usr/local/lib/ + PATHS /usr/lib/ + PATHS /usr/lib64/ ) if (assimp_INCLUDE_DIRS AND assimp_LIBRARIES) @@ -78,4 +78,4 @@ endif (assimp_FIND_REQUIRED) endif (assimp_FOUND) -endif(WIN32) \ Brak znaku nowej linii na końcu pliku +endif(WIN32) Thanks
P.S. Also create pull request for upstream: https://github.com/assimp/assimp/pull/2699
+ Update: Also requires to fix-up include path in files/findassimp-3.3.1.patch (see upstream pull requites). So find_path should be: find_path( assimp_INCLUDE_DIRS NAMES assimp/postprocess.h assimp/scene.h assimp/version.h assimp/config.h assimp/cimport.h PATHS /usr/local/include PATHS /usr/include/ )
Updated in version 4.1.0, please verify. Thanks
Hi @Sławek Lis Thank you for applying patchset. Already got update by portage and library path seems OK now. Unfortunately, for proper work findassimp*.patch should also modify NAMES variable and include assimp prefix to all *.h files in find_path rule (Sorry, didn't obviously mention it in my comment https://bugs.gentoo.org/696914#c2) find_path( assimp_INCLUDE_DIRS NAMES assimp/postprocess.h assimp/scene.h assimp/version.h assimp/config.h assimp/cimport.h PATHS /usr/local/include PATHS /usr/include/ ) P.S. Upstream applied pull request https://github.com/assimp/assimp/pull/2699 with those fixes. I think, findassimp*.patch can be drop in next assimp release. Thanks
I've missed that part, sorry. Updated patch. Thank you very much for help!
This issue resolved now. Re-checked on my side Thanks.