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 

-----Original Message-----
From: Barbara Deaton [mailto:[EMAIL PROTECTED] 
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=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]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to