MediaArea / MediaInfo

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://MediaArea.net/MediaInfo
BSD 2-Clause "Simplified" License
1.38k stars 160 forks source link

Make MediaInfoLib on Mac throws error #399

Open milindraut opened 4 years ago

milindraut commented 4 years ago

"_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

JeromeMartinez commented 4 years ago

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

milindraut commented 4 years ago

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

JeromeMartinez commented 4 years ago

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.

milindraut commented 4 years ago

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 commented 4 years ago

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.

valdemarjr commented 3 years ago

Anyone has success to build mediainfo with libcurl on macOS?

bwjohnson-ss commented 3 years ago

Anyone else have success building mediainfo with libcurl on macOS?

g-maxime commented 3 years ago

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