|
From: "Barbara Deaton" on 30 Jan 2006 16:00 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=3Dultra3 -xarch=3Dv9a = -Xa -dalign -I /usr/local/dbi/mysql/5.0/include -c child.c =20 My link line is: $ld -64 -G -o libmysqlclient_sun s64myl.o -L/usr/local/mysql/5.0/lib = -lmysqlclient -lz=20 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/mysql?unsub=3Dmyodbc(a)freebsd.csie.nctu.edu.tw
From: "Barbara Deaton" on 31 Jan 2006 11:40 All, Is there another list I can post this question to? I'm stuck in the = water with Solaris. I have my application working correctly on HP 64bit = and AIX 64bit, but having the below trouble on Solaris. I thought it = might have been a bad MySQL download so we reinstalled the client = libraries and the problem persists. I didn't have this problem with the 4.1.7 client, it only occurs with = the 5.0 client and only on Solaris 64bit. Any help would be greatly appreciated. Thanks. Barbara=20 -----Original Message----- From: Barbara Deaton [mailto:Barbara.Deaton(a)sas.com]=20 Sent: Monday, January 30, 2006 4:00 PM To: mysql(a)lists.mysql.com Subject: Relocation error during link 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=3Dultra3 -xarch=3Dv9a = -Xa -dalign -I /usr/local/dbi/mysql/5.0/include -c child.c =20 My link line is: $ld -64 -G -o libmysqlclient_sun s64myl.o -L/usr/local/mysql/5.0/lib = -lmysqlclient -lz=20 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/mysql?unsub=3Dbarbara.deaton(a)sas.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmyodbc(a)freebsd.csie.nctu.edu.tw
|
Pages: 1 Prev: Truncated Incorrect Double Value Next: rpm mysql5.0 for fedora4 |