By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,353 Members | 1,529 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,353 IT Pros & Developers. It's quick & easy.

msql 3.7 in php 5.1 error...

P: n/a
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?

thanks,
anthony
Apr 8 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.