Build-OpenSSL-cURL icon indicating copy to clipboard operation
Build-OpenSSL-cURL copied to clipboard

Undefined symbols _RTMP_Alloc

Open qokelate opened this issue 6 years ago • 3 comments

library: libcurl-7.64.1-openssl-1.1.1b-nghttp2-1.37.0

Undefined symbols for architecture x86_64:
  "_RTMP_Alloc", referenced from:
      _rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Close", referenced from:
      _rtmp_disconnect in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Connect1", referenced from:
      _rtmp_connect in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_ConnectStream", referenced from:
      _rtmp_do in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Free", referenced from:
      _rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
      _rtmp_disconnect in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Init", referenced from:
      _rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Read", referenced from:
      _rtmp_recv in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_SetBufferMS", referenced from:
      _rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_SetupURL", referenced from:
      _rtmp_setup_connection in libcurl.a(libcurl_la-curl_rtmp.o)
  "_RTMP_Write", referenced from:
      _rtmp_send in libcurl.a(libcurl_la-curl_rtmp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

where are the symbols?

qokelate avatar Jun 19 '19 05:06 qokelate

I see this is for the x86_64 arch. Is this from the build script? Please pull the latest and try the build again.

jasonacox avatar Aug 13 '19 03:08 jasonacox

Ran into the same issue.

changed the configure lines to only include http and https:

--disable-shared
--disable-ftp
--disable-file
--disable-ldap
--disable-dict
--disable-telnet
--disable-tftp
--disable-rtsp
--disable-pop3
--disable-imap
--disable-smtp
--disable-gopher
--disable-ares
--disable-smb
--disable-debug
--disable-cookies
--disable-manual
--disable-proxy
--disable-unix-sockets
--without-libidn
--without-libidn2
--without-librtmp
--without-zlib
--enable-static
--with-random=/dev/urandom \

MarcelKlammer avatar Sep 11 '19 06:09 MarcelKlammer

I have not been able to reproduce, even on new MacOS build hosts. Is this still occurring with latest build script?

jasonacox avatar Apr 10 '21 19:04 jasonacox

Closing with the new update - please open if it is still an issue.

jasonacox avatar Jul 20 '23 02:07 jasonacox