Reply to Re: msql 3.7 in php 5.1 error...

Your name:

Reply:


Posted by J.O. Aho on 10/13/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация