Subject: | Error in compile of 2.9003 on Solaris Sparc 2.8 |
When running a 'make' for DBD::mysql, I receive the following errors
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib" /usr/opt/bin/perl myld gcc -R/usr/local/lib -G -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient -lposix4 -lgen -lsocket -lnsl -lm
/usr/opt/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.3/../../../../sparc-sun-solaris2.8/bin/ld: skipping incompatible /usr/local/mysql/lib/libmysqlclient.a when searching for -lmysqlclient
/usr/opt/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.3/../../../../sparc-sun-solaris2.8/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
After this make bombs out.
% uname -a
SunOS sun3dmamrl 5.8 Generic_117000-01 sun4u sparc SUNW,Ultra-30
% perl -v
This is perl, v5.8.0 built for sun4-solaris-thread-multi
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.