aurfalien at gmail.com
2010-Nov-14 03:00 UTC
[CentOS] make fails with "recompile with -fPIC"
Hi all, I am trying to get monodevelop installed on Centos 5.5 In order to do so, I must install several packages, all of which give me the following error when doing a make; /usr/bin/ld: .libs/image.o: relocation R_X86_64_PC32 against `gdip_getcodecinfo_gif' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value How and where do I add this value of -fPIC? Better yet, has any one done this before? Keep in mind this is diff then mono-devel. Thanks in advance, - aurf
On 11/13/10 7:00 PM, aurfalien at gmail.com wrote:> Hi all, > > I am trying to get monodevelop installed on Centos 5.5 > > In order to do so, I must install several packages, all of which give > me the following error when doing a make; > > /usr/bin/ld: .libs/image.o: relocation R_X86_64_PC32 against > `gdip_getcodecinfo_gif' can not be used when making a shared object; > recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > > How and where do I add this value of -fPIC? > > Better yet, has any one done this before? > > Keep in mind this is diff then mono-devel. > > Thanks in advance,the ./configure script should have taken care of that, at least assuming that project has one. otherwise, um... LDFLAGS=-fPIC ./configure && make clean && make
Reasonably Related Threads
- Compiling libR as a standalone C library for java+jni (-fPIC)
- [LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
- Trouble building R 3.5.0 under Ubuntu 18.04
- [LLVMdev] llvm-g++ 4.6.4 unable to compile simple shared library on Ubuntu 12.04 x86_64
- Where did yum install monodevelop?