Open GinaStavropoulou opened 7 months ago
Hmm... It looks like your libpdalpython.cpython-312-darwin.so has an RPATH that resolves to /Users/gina/.pyenv/versions/3.12.0/lib
but your PDAL library is installed in /usr/local/lib
You can hammer this by setting DYLD_LIBRARY_PATH
of course.
Is there any way to get more logging from when the PDAL Python extension was built? It's just using scikit-build to slurp up the PDAL library locations, but something must be getting confused.
I don't have the logging but I can try reinstalling it.
Cmake ourput:
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- The C compiler identification is AppleClang 15.0.0.15000100
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found LIBEXECINFO: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include
-- Found LIBUNWIND: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include
-- Found Proj: /opt/homebrew/lib/libproj.dylib version 9 (9.3.1)
-- Found GDAL: /opt/homebrew/Cellar/gdal/3.8.3_1/lib/libgdal.dylib (found suitable version "3.8.3", minimum required is "3.4")
-- Found GeoTIFF: /opt/homebrew/lib/libgeotiff.dylib
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Found LibXml2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libxml2.tbd (found version "2.9.13")
-- Found CURL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libcurl.tbd (found version "8.4.0")
-- Found OpenSSL: /opt/homebrew/Cellar/openssl@3/3.2.0_1/lib/libcrypto.dylib (found suitable version "3.2.0", minimum required is "1.1")
-- Found PostgreSQL: /opt/homebrew/lib/postgresql@14/libpq.dylib (found version "14.10")
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.1") found components: Interpreter
-- The following features have been enabled:
-- The following OPTIONAL packages have been found:
-- The following REQUIRED packages have been found:
-- The following features have been disabled:
-- Configuring done (2.4s) -- Generating done (0.1s) -- Build files have been written to: /Users/gina/PDAL/build
Exporiting DYLD_LIBRARY_PATH did not work for me. I have created a sym link between the 2 locations for now.
I have created a sym link between the 2 locations for now.
ok.
I was asking for the logging of python-pdal bindings build. I didn't see anything interesting in your PDAL build log, however.
Hello! I have installed PDAL from source using these instructions Here is the output:
I have verified that the relevant libraries are in /usr/loca/lib:
I then install pdal with pip:
But when I try to import the library I get a "Library not loaded error".
It seems that the python pdal is not linked to the pdal installation. Is there a way to fix this?