This is the error I got when I tried to 'make' wxsvg-1.1.6
How do I fix this? Any thoughts?
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libwxsvg.la] Error 1
make[2]: Leaving directory `/home/brown/Downloads/wxsvg-1.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brown/Downloads/wxsvg-1.1.6/src'
make: *** [all-recursive] Error 1
ERROR shared object; recompile with -fPIC ??
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
ERROR shared object; recompile with -fPIC ??
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: ERROR shared object; recompile with -fPIC ??
bump. Trying to build vlc:
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[5]: *** [libaccess_avio_plugin.la] Error 1
make[5]: Leaving directory `/opt/vlc/modules/access'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/vlc/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/vlc/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vlc'
make: *** [all] Error 2
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[5]: *** [libaccess_avio_plugin.la] Error 1
make[5]: Leaving directory `/opt/vlc/modules/access'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/vlc/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/vlc/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vlc'
make: *** [all] Error 2
Re: ERROR shared object; recompile with -fPIC ??
NICE SUPPORT HERE, ALL THE TIME! rainbows' NONE WHATSOEVER. YOU'RE ALL A BUNCH OF rainbows' MUTES!
If anyone, anyone can tell me the package that handles the stupid little gui login screen in mint, then please let me know. I'm running LMDE and I wan to be able to run as root, easily, and be able to choose my window manager at the same time. This distro should revert from the norm, and keep apps that force non-root use out of the distro. all-together. I know someone out there can help. Just name it, one package, what is it??????
If anyone, anyone can tell me the package that handles the stupid little gui login screen in mint, then please let me know. I'm running LMDE and I wan to be able to run as root, easily, and be able to choose my window manager at the same time. This distro should revert from the norm, and keep apps that force non-root use out of the distro. all-together. I know someone out there can help. Just name it, one package, what is it??????
Re: ERROR shared object; recompile with -fPIC ??
The GUI login is a "display manager." It's probably mdm (Mint), but could be gdm3 (GNOME), kdm (KDE), xdm, lightdm, ... more info.If anyone, anyone can tell me the package that handles the stupid little gui login screen in mint
Configuration can be more or less exposed through themes (e.g., mdmsetup).
Code: Select all
I'm running LMDE and I wan to be able to run as root, easily, and be able to choose my window manager at the same time. This distro should revert from the norm, and keep apps that force non-root use out of the distro.
Trying to build vlc
Code: Select all
apt build-dep vlc # install prerequisites
apt source vlc # download the source
cd vlc-x.y.z
apt build -b # compile .deb files to parent directory
Re: ERROR shared object; recompile with -fPIC ??
yeah, it complains about -fPIC and muxer or whatever. I'm trying to build it now and have been for hours. I even tried linking luac to a previous version, because I heard there were problems compiling with 5.2 and fPIC, but, nothing working yet. THanks for the help though.
Re: ERROR shared object; recompile with -fPIC ??
Also, building the source from aptitude does the same thing. relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object
Re: ERROR shared object; recompile with -fPIC ??
Googling the error indicates it's been a problem in Arch and Maverick / Julia.mcurran wrote:Also, building the source from aptitude does the same thing. relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object
I can confirm my steps above work in Debian testing, with no extra gymnastics.http://trac.videolan.org/vlc/ticket/6729
As the text says, you need to recompile your FFmpeg/libavcodec/libavformat with pic enabled.
Re: ERROR shared object; recompile with -fPIC ??
Yeah, sorry, I forgot to post my fix.
I just downloaded the source for libav and compiled it with --enable-pic, installed it, then I compiled and installed vlc with --enable-run-as-root, which was my objective.
As for the GUI not allowing me to login as root, I just removed mdm, which didn't effect my window manager setup at all, as far as I know. Just removed what was previously a little GUI for the startx command "gdm", now "mdm".
Would be cool to test out gnome3 on LMDE. I'm debating on trying to install it now. I'm not sure if it will break my mate setup though, or leave it alone. Would be cool to have gnome3 as a separate option like cinnamon.
I just downloaded the source for libav and compiled it with --enable-pic, installed it, then I compiled and installed vlc with --enable-run-as-root, which was my objective.
As for the GUI not allowing me to login as root, I just removed mdm, which didn't effect my window manager setup at all, as far as I know. Just removed what was previously a little GUI for the startx command "gdm", now "mdm".
Would be cool to test out gnome3 on LMDE. I'm debating on trying to install it now. I'm not sure if it will break my mate setup though, or leave it alone. Would be cool to have gnome3 as a separate option like cinnamon.
Re: ERROR shared object; recompile with -fPIC ??
Glad you got VLC sorted out.
It won't have. The WM (metacity / mutter) is independent of the DM (session launcher).mcurran wrote:As for the GUI not allowing me to login as root, I just removed mdm, which didn't effect my window manager setup at all, as far as I know.
It won't break your current setup -- the idea of MATE was to avoid conflicts by rebranding everything. If you have cinnamon installed, gnome-shell won't add much.Would be cool to test out gnome3 on LMDE. I'm debating on trying to install it now. I'm not sure if it will break my mate setup though, or leave it alone. Would be cool to have gnome3 as a separate option like cinnamon.