Posted by J.O. Aho on 10/07/63 11:44
anthony wrote:
> Hi. I am attempting to get msql3 installed with php. Using php version
> php5.1-200604070430 and msql-3.7. I am getting the following error on
> compile.
>
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
> /usr/local/msql3/lib/libmsql.a(libmsql.o): relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/msql3/lib/libmsql.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libphp5.la] Error 1
>
> I'm running 64 bit Gentoo 2.6.13. It states I need to recompile msql
> with PIC support? I attempted to do it manually via 'make
> EXTRA_CFLAGS=-fPIC' however config started complaining. How do i install
> with PIC and is that recomended?
echo "dev-lang/php msql" >> /etc/portage/package.use
emerge =dev-lang/php-5.1.2
//Aho
Navigation:
[Reply to this message]
|