Re: vlc build problem ... recompile with -fPIC ??

Rémi Denis-Courmont <[email protected]>
Newsgroups gmane.comp.video.videolan.vlc.devel
Message-ID <[email protected]>
Le 26 décembre 2022 18:45:14 GMT+01:00, Mahesh Velankar <[email protected]> a écrit :
>I am an absolute newbie to vlc.
>I cloned git repo and tried to build vlc with these steps
>
>
>   1. bootstrap
>   2. ./configure --enable-static --disable-lua --disable-xcb --disable-qt
>   --disable-a52
>   3. make
>
>
>It is throwing this error in the linking step.
>
>
>/usr/bin/ld: /usr/local/lib/libsrt.a(srt_c_api.cpp.o): relocation
>R_X86_64_PC32 against symbol
>`_ZTVSt9basic_iosIcSt11char_traitsIcEE@@GLIBCXX_3.4'
>can not be used when making a shared object; recompile with -fPIC
>/usr/bin/ld: final link failed: Bad value
>collect2: error: ld returned 1 exit status
>Makefile:13024: recipe for target 'libaccess_srt_plugin.la' failed
>make[4]: *** [libaccess_srt_plugin.la] Error 1
>
>Please help me on how to proceed with this build
>Let me know what more details I need to provide.
>
>Thanks

Hi,

You seem to have a faulty build of SRT installed under /usr/local. This error wouldn't happen on a fresh clean build environment.
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.