TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

Notices

MySQL Build problem on HPUX platform."shared library must be position independent"

Programming


Reply
 
Thread Tools Display Modes
Old 12-08-2009, 01:03 PM   #1
Junior Member (25+)
 
Join Date: Jan 2009
Posts: 48
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0 amit_27 is an unknown quantity at this point


OS: Windows NT / Windows 2000


MySQL Build problem on HPUX platform."shared library must be position independent"

I am trying to build the my project on HPUX (HP-UX oscar B.11.11 U 9000/800 741028561 unlimited-user license) which access the Mysql library. But it is giving error as :

Error : MySQL51/lib/hpux/libmysqld.a(client.o) - shared library must be position independent. Use +z or +Z to recompile.

I am using this option in building:
aCC -Wl,+s,-E,+vnocompatwarnings -z -g0 -b -Wl,-Bsymbolic.

I also tried using the +Z, +z, also added CFLAGS=-fPIC in makefile.Still it is giving error.

I have taken the mysql library from : mysql-5.1.34-hpux11.11-hppa2.0w.tar.gz

Can you please suggest the solution?
amit_27 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 01:35 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional