Skip to content

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

@makingglitches

Description

@makingglitches

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions