Re: R_X86_64_32S error building a shared library

2009-01-25 Thread Adam Nielsen
I have Boost installed on my system as a shared library, so I don't understand why libtool/gcc won't link to it. Hmm okay, I think I've just discovered why - it seems my local installation of Boost was compiled without the -fPIC flag, as I have problems even with trivial compiles, without usin

Re: R_X86_64_32S error building a shared library

2009-01-25 Thread Adam Nielsen
x86_64-pc-linux-gnu/bin/ld: .../lib64/libboost_system-mt-1_37.a(error_code.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC .../lib64/libboost_system-mt-1_37.a: could not read symbols: Bad value You do not need to have boost a

Re: Install to lib64

2009-01-25 Thread Bob Proulx
Jason Sewall wrote: > I'm maintaining an autotools-configured project, and I've noticed that > the make install resulting from my build (on x86_64 arch, linux) puts > generated libraries in prefix/lib instead of prefix/lib64 - is there > something I should do differently, or is the the expected beh

Re: Install to lib64

2009-01-25 Thread Jan Engelhardt
On Sunday 2009-01-25 22:54, Jason Sewall wrote: >I'm maintaining an autotools-configured project, and I've noticed that >the make install resulting from my build (on x86_64 arch, linux) puts >generated libraries in prefix/lib instead of prefix/lib64 - is there >something I should do differently,

Re: blank line following trailing backslash

2009-01-25 Thread Jan Engelhardt
On Sunday 2009-01-25 18:42, Andreas wrote: > >When you specify a list of files for a rule you put every file in a line like >this. > >fileA.c \ >fileB.c \ >fileC.c > >now if 2 independent people add another file fileD and fileE to that list you >have a conflict because both of them m

blank line following trailing backslash

2009-01-25 Thread Andreas
Hello everybody, I just had an ingenious idea to limit conflicts in versioning systems. When you specify a list of files for a rule you put every file in a line like this. fileA.c \ fileB.c \ fileC.c now if 2 independent people add another file fileD and fileE to that list you hav

Install to lib64

2009-01-25 Thread Jason Sewall
I'm maintaining an autotools-configured project, and I've noticed that the make install resulting from my build (on x86_64 arch, linux) puts generated libraries in prefix/lib instead of prefix/lib64 - is there something I should do differently, or is the the expected behaviour? Thanks, Jason

Re: R_X86_64_32S error building a shared library

2009-01-25 Thread Jan Engelhardt
On Monday 2009-01-26 01:23, Adam Nielsen wrote: > x86_64-pc-linux-gnu/bin/ld: > .../lib64/libboost_system-mt-1_37.a(error_code.o): relocation R_X86_64_32S > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC > .../lib64/libboost_syste

Re: R_X86_64_32S error building a shared library

2009-01-25 Thread Adam Nielsen
x86_64-pc-linux-gnu/bin/ld: .../lib64/libboost_system-mt-1_37.a(error_code.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC .../lib64/libboost_system-mt-1_37.a: could not read symbols: Bad value You do not need to have boost

Re: R_X86_64_32S error building a shared library

2009-01-25 Thread Jan Engelhardt
On Sunday 2009-01-25 05:46, Adam Nielsen wrote: > >>> x86_64-pc-linux-gnu/bin/ld: >>> .../lib64/libboost_system-mt-1_37.a(error_code.o): relocation R_X86_64_32S >>> against `a local symbol' can not be used when making a shared object; >>> recompile with -fPIC >>> .../lib64/libboost_system-mt-1_37