MediaInfo icon indicating copy to clipboard operation
MediaInfo copied to clipboard

Make MediaInfoLib on Mac throws error

Open milindraut opened this issue 5 years ago • 8 comments

"_curl_slist_free_all", referenced from: MediaInfoLib::Amazon_AWS_GetRegion(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, MediaInfoLib::Http::Url const&, void*, ZenLib::ZtringList const&) in Reader_libcurl.o MediaInfoLib::Reader_libcurl::~Reader_libcurl() in Reader_libcurl.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [libmediainfo.la] Error 1 make: *** [all-recursive] Error 1

milindraut avatar Nov 29 '19 18:11 milindraut

We build also on macOS, so weird. Which package (name, version)? which macOS version?

JeromeMartinez avatar Nov 29 '19 20:11 JeromeMartinez

We build also on macOS, so weird. Which package (name, version)? which macOS version?

@JeromeMartinez tried to build from current master on macOS Mojave 10.14.6. Followed direction as per the READ.ME trying to build MediaInfo with libcurl support for macOS. trying to file metadata for files from s3 using MediaInfo library doesn't work. Dont get media info. so was trying to run MediaInfo CLI for remote files returns E: Libcurl support is disabled due to compilation options

milindraut avatar Nov 29 '19 20:11 milindraut

Please try with our "all in one" package so we can see if issue is in the use of the raw source or also in our "all in one" package with a single command line.

E: Libcurl support is disabled due to compilation options

Did you check that libcurl development package is detected from the result of ./configure of libmediainfo?

Something weird here is that libcurl support seems configured but the libcurl library location is not in the linker.

JeromeMartinez avatar Nov 29 '19 20:11 JeromeMartinez

Please try with our "all in one" package so we can see if issue is in the use of the raw source or also in our "all in one" package with a single command line.

E: Libcurl support is disabled due to compilation options

Did you check that libcurl development package is detected from the result of ./configure of libmediainfo?

Something weird here is that libcurl support seems configured but the libcurl library location is not in the linker.

libcurl was pointing to the system. correctly. Trying all in one package

milindraut avatar Nov 29 '19 20:11 milindraut

Please try with our "all in one" package so we can see if issue is in the use of the raw source or also in our "all in one" package with a single command line.

E: Libcurl support is disabled due to compilation options

Did you check that libcurl development package is detected from the result of ./configure of libmediainfo? Something weird here is that libcurl support seems configured but the libcurl library location is not in the linker.

libcurl was pointing to the system. correctly. Trying all in one package

@JeromeMartinez "all in one package" failed with the same error for me.

milindraut avatar Nov 29 '19 21:11 milindraut

Anyone has success to build mediainfo with libcurl on macOS?

valdemarjr avatar Jun 16 '21 11:06 valdemarjr

Anyone else have success building mediainfo with libcurl on macOS?

bwjohnson-ss avatar Aug 16 '21 22:08 bwjohnson-ss

The "All in one" package don't enables libcurl by default. Please tries ./CLI_Compile.sh --with-libcurl or ./CLI_Compile.sh --with-libcurl=runtime

g-maxime avatar Aug 17 '21 09:08 g-maxime