All, I've tried searching through the manual and couldn't find anything. I've compiled a simple program and when I link the object file to the mysql client libraries I'm getting a fatal relocation error:
ld: fatal: relocation error: R_SPARC_H44: file /usr/local/dbi/mysql/5.0/lib/libmysqlclient.a(client.o): symbol my_pipe_sig_handler: relocations based on the ABS44 coding model can not be used in building a shared object My program is compiled by doing: /opt/compilers/FD7/SUNWspro/bin/cc -K PIC -xtarget=ultra3 -xarch=v9a -Xa -dalign -I /usr/local/dbi/mysql/5.0/include -c child.c My link line is: $ld -64 -G -o libmysqlclient_sun s64myl.o -L/usr/local/mysql/5.0/lib -lmysqlclient -lz I'm running on 64 bit solaris: SunOS 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Fire-15000 Does anyone have suggestions as to what I am doing wrong? Can you point me to some doc on linking client applications on Solaris? The pages I did find didn't mention this error. Thanks for your time and information. Barbara Deaton -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
