Simon Taylor wrote:
> cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of
> "sendfile" with a different storage class specifier: "sendfile" will have
> internal linkage.
> cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of
> "sendpath" with a different storage class specifier: "sendpath" will have
> internal linkage.
This one can be ignored, according to "perldoc perl581delta", "Platform
Specific Problems".
> LD_RUN_PATH="" /usr/bin/perl myld /usr/bin/ld -b +vnocompatwarnings
> -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.sl
> -L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm
> /usr/bin/ld: Invalid loader fixup in text space needed in output file for
> symbol "$0000004B" in input file
> "/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)"
I must admit, that I have no clue based on the error message. But most
probably you have one of the typical problems on commercial Unixes:
a) You are mixing binaries compiled from different sources. For example,
a version of MySQL, picked up from www.mysql.com and a version of
Perl, compiled on your machine. It is definitely recommended to
compile everything locally and not using external binaries. At least
not, when problems like that arise. :-)
Note, that in the case of MySQL, it is sufficient to compile the
MySQL client libraries locally: A server from www.mysql.com or
somewhere else can still be used. See in particular the configure
option --without-server.
b) Special case of a): You are mixing 64bit and 32bit binaries. See
above for a solution.
c) You are using a version of libmysqlclient.so, which is not compiled
with +z or +Z. See a) for getting a propert client.
Jochen