![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
/usr/lib64/mysql/libmysqlclient.a(libmysql.o): could not read symbols: Bad value |
#2
| |||
| |||
|
|
Could the problem be connected with libtools trying to link to libmysqlclient.a instead of libmysqlclient.la and is this the 'recompliation' that is requested when it says 'recompile with -fPIC'? |
#3
| |||
| |||
|
|
Do you think that changing to the 32 bit version of SUSE 10 might solve the problem? |
#4
| |||
| |||
|
|
Yes, that solved it. It built without problems on the 32 bit version of SUSE 10. Presumably it must have been building 32 bit .lo files or trying to combine 64 bit .lo files with 32 bit .la files from mysql (that should have been 64 bit, since I was using the 64 bit versions). Many thanks for the help. I can now return to writing my application! -----Original Message----- From: Warren Young [mailto:mysqlpp (AT) etr-usa (DOT) com] Sent: Tue 12/20/2005 11:49 To: MySQL++ Mailing List Subject: Re: Link problems when building on SUSE 10 Gamez, David wrote: Do you think that changing to the 32 bit version of SUSE 10 might solve the problem? Almost certainly. This problem has the feel of general weirdness surrounding a platform that hasn't fully shaken out yet, which fits the current x64 situation perfectly. Unfortunately, I don't have access to such a machine, so I can't help you very much. -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...ex (DOT) ac.uk |
#5
| |||
| |||
|
|
Actually it builds fine on Gentoo in 64bit mode on my Athlon64, just for an info ;-) |
#6
| |||
| |||
|
|
Presumably this is because everything on a Gentoo system is recompiled for the local environment, so there is no possibility of 32/64 bit confusion. Well actually I have both 64 and 32 bit libs installed but the 32bit ones are |
![]() |
| Thread Tools | |
| Display Modes | |
| |