|
Home > Archive > MySQL ODBC Connector > January 2006 > Relocation error during link
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Relocation error during link
|
|
| Barbara Deaton 2006-01-30, 8:24 pm |
| 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...sie.nctu.edu.tw
| |
| Barbara Deaton 2006-01-31, 11:23 am |
| 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@sas.com]=20
Sent: Monday, January 30, 2006 4:00 PM
To: mysql@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=....deaton@sas.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql? unsub...sie.nctu.edu.tw
|
|
|
|
|