Recompiling php 5.2.14 after mysql 5.1.49 fails

bdj

Verified User
Joined
Feb 22, 2008
Messages
152
System freebsd 64bit

I did a "./build all" which did everything fine (also php 5.2.14). After that I noticed that rebuild of mysql was set to "no" so I didn't get version 5.1.49.

I set it to "yes" and did a "./build mysql" which build mysql just fine. After that custombuild told me it was recommended to do "./build php n" after a mysql update.

Now php won't build, it ends with

/usr/bin/ld: /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/mysql/lib/mysql/libmysqlclient.a: could not read symbols: Bad value
*** Error code 1
1 error

any ideas?
 
thanks,

I looked in the topic and I'll try it tomorrow. Strange thing is tough, I have both php 5.2.16 and mysql .49 up and running
 
Back
Top