[MacPorts] #51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found:
MacPorts
noreply at macports.org
Fri May 5 18:49:00 UTC 2017
#51584: kealib @1.4.4_2 dyld: lazy symbol binding failed: Symbol not found:
----------------------+--------------------
Reporter: ForTozs | Owner: Veence
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: kealib |
----------------------+--------------------
Comment (by ForTozs):
Is is possible this is related to HDF5? I am able to get it to compile
further by deactivating hdf5, specifying the depend as hdf5-18 in the port
file, and setting
{{{
configure.args-append -DGDAL_INCLUDE_DIR=${prefix} \
-DGDAL_LIB_PATH=${prefix} \
-DHDF5_INCLUDE_DIR=${prefix}/lib/hdf5-18/include \
-DHDF5_LIB_PATH=${prefix}/lib/hdf5-18/lib
}}}
However, I still get an error starting here...
{{{
[ 38%] Linking CXX shared library libkea.dylib
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_kealib/kealib/work/kealib-1.4.4/trunk/src
&& /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kea.dir/link.txt
--verbose=ON
/usr/bin/clang++ -pipe -Os -stdlib=libc++ -Wall -Wpointer-arith -Wcast-
align -Wcast-qual -Wredundant-decls -Wno-long-long -DNDEBUG -DNDEBUG -arch
x86_64 -mmacosx-version-min=10.12 -dynamiclib
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names -compatibility_version 1.4.4
-current_version 1.4.4 -o libkea.1.4.4.dylib -install_name
/opt/local/lib/libkea.1.4.4.dylib
CMakeFiles/kea.dir/libkea/KEAImageIO.cpp.o
CMakeFiles/kea.dir/libkea/KEAAttributeTable.cpp.o
CMakeFiles/kea.dir/libkea/KEAAttributeTableInMem.cpp.o
CMakeFiles/kea.dir/libkea/KEAAttributeTableFile.cpp.o
-Wl,-rpath,/opt/local/lib -L/opt/local/lib/hdf5-18/lib -lhdf5 -lhdf5_hl
-lhdf5_cpp
Undefined symbols for architecture x86_64:
"H5::H5File::H5File(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned
int, H5::FileCreatPropList const&, H5::FileAccPropList const&)",
referenced from:
kealib::KEAImageIO::createKEAImage(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
kealib::KEADataType, unsigned int, unsigned int, unsigned int,
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >,
std::__1::allocator<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > > >*,
kealib::KEAImageSpatialInfo*, unsigned int, unsigned int, int, unsigned
long long, unsigned long long, double, unsigned long long, unsigned long
long, unsigned int) in KEAImageIO.cpp.o
}}}
And perhaps the fact that kealib is broke is part of the problem with
rsgislib. I'd love to get these ports up and running again.
--
Ticket URL: <https://trac.macports.org/ticket/51584#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list