Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Issue: ld cannot find LibMagick when it exists and all links point to existing files. #20

Open
makingglitches opened this issue Jun 19, 2021 · 0 comments

Comments

@makingglitches
Copy link

When running the last steps of make inside the source directory for 0.9.19 of PythonMagick the following error is encountered:

Making all in pythonmagick_src
make[1]: Entering directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19/pythonmagick_src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19/pythonmagick_src'
Making all in helpers_src
make[1]: Entering directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19/helpers_src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19/helpers_src'
make[1]: Entering directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19'
echo /bin/sh ./libtool --silent --tag=CXX --mode=link g++ -I/usr/include/python3.9 -I/Data/Documents/CensusProject/gdallib/src/compiled/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -avoid-version -module -o _PythonMagick.la -rpath /Data/Documents/CensusProject/gdallib/src/compiled/lib64/python3.9/site-packages/PythonMagick pythonmagick_src/libpymagick.la helpers_src/libhelper.la -l -lMagick++-7.Q16HDRI -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
/bin/sh ./libtool --silent --tag=CXX --mode=link g++ -I/usr/include/python3.9 -I/Data/Documents/CensusProject/gdallib/src/compiled/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -avoid-version -module -o _PythonMagick.la -rpath /Data/Documents/CensusProject/gdallib/src/compiled/lib64/python3.9/site-packages/PythonMagick pythonmagick_src/libpymagick.la helpers_src/libhelper.la -l -lMagick++-7.Q16HDRI -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI
CXXLD _PythonMagick.la
/usr/bin/ld: cannot find -l/Data/Documents/CensusProject/gdallib/src/compiled/lib/libMagick++-7.Q16HDRI.so
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:564: _PythonMagick.la] Error 1
make[1]: Leaving directory '/Data/Documents/CensusProject/gdallib/src/PythonMagick-0.9.19'
make: *** [Makefile:668: all-recursive] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant