To be able to link against the static libungif from a dynamic library I was building, I had to re-emerge libungif with -fPIC temporarily added to CFLAGS. Otherwise the linker returns an error indicating libungif needs to be recompiled with -fPIC. Reproducible: Always Steps to Reproduce: 1. emerge libungif 2. link against libungif.a with a dynamic library you are compiling 3. Actual Results: bin/ld: /usr/lib/libungif.a(dgif_lib.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC Expected Results: Link without errors
libungif will go to /dev/null soon (see Bug 85720) so I
libungif will go to /dev/null soon (see Bug 85720) so I´d suggest that you use giflib.
Thanks for the info. I'll switch.
(In reply to comment #2) > Thanks for the info. I'll switch. To prevent superfluous bugreports - don
(In reply to comment #2) > Thanks for the info. I'll switch. To prevent superfluous bugreports - don´t forget to run revdep-rebuild after unmerging libungif and switching to giflib. ;-)
will do. :)
libungif is being killed