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

*nix specific usage questions
mvelanka
New Cone
New Cone
Posts: 9
Joined: 21 Apr 2020 00:53

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

Postby mvelanka » 26 Dec 2022 23:22

I am an absolute newbie to vlc.
I cloned git repo and tried to build vlc with these steps

Code: Select all

bootstrap ./configure --enable-static --disable-lua --disable-xcb --disable-qt --disable-a52 make
It is throwing this error in the linking step.

Code: Select all

/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

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests