If raptor is built with makefiles, it installs both libraptor2.dylib and libraptor2.0.dylib:
Port raptor2 @2.0.16_3 contains:
/opt/local/bin/rapper
/opt/local/include/raptor2/raptor.h
/opt/local/include/raptor2/raptor2.h
/opt/local/lib/libraptor2.0.dylib
/opt/local/lib/libraptor2.a
/opt/local/lib/libraptor2.dylib
/opt/local/lib/libraptor2.la
/opt/local/lib/pkgconfig/raptor2.pc
CMake build, however, only installs libraptor2.dylib:
Port raptor2-devel @20240807_0 contains:
/opt/local/bin/rapper
/opt/local/include/raptor2/raptor.h
/opt/local/include/raptor2/raptor2.h
/opt/local/lib/cmake/Raptor2Config-macports.cmake
/opt/local/lib/cmake/Raptor2Config.cmake
/opt/local/lib/libraptor2.dylib
/opt/local/lib/pkgconfig/raptor2.pc
/opt/local/share/man/man1/rapper.1.gz
This breaks dependents, which were built against the first, if the second is used instead:
---> Scanning binaries for linking errors
Could not open /opt/local/lib/libraptor2.0.dylib: Error opening or reading file (referenced from /opt/local/bin/roqet)
---> Found 7 broken files, matching files to ports
---> Found 3 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
rasqal @0.9.33
redland @1.0.17+db48
soprano @2.9.4