I am having trouble installing the mysql.pm module. I have
the default
install of mysql and when installing the mysql.pm (Using
Msql-Mysql-modules-1.2216 and running perl Makefile.pl) it
asks for mysql.h
which does not exist on the server. Mysql is running and I
have all the
databases setup for it. I then downloaded a new copy of
mysql and untared
it. This version does have a mysql.h and the directory to
successfully run
perl Makefile.pl but after when I attempt to 'make' it comes
up with...

make[1]: Entering directory
`/var/www/html/gzfiles/Msql-Mysql-modules-1.2216/mysql'
LD_RUN_PATH="/var/www/html/gzfiles/mysql-3.23.40-unknown-linux-gnu-alphaev6/
lib:/lib:/usr/lib:/usr/lib/gcc-lib/i386-redhat-linux/2.96"
gcc -o
../blib/arch/auto/DBD/mysql/mysql.so  -shared
-L/usr/local/lib dbdimp.o
mysql.o -L/var/www/html/gzfiles/mysql-3.23.40-unknown-linux-gnu-alphaev6/lib
    -L/var/www/html/gzfiles/mysql-3.23.40-unknown-linux-gnu-alphaev6/lib
-lm
ysqlclient -lm -lz -L/usr/lib/gcc-lib/i386-redhat-linux/2.96
-lgcc
/var/www/html//gzfiles/mysql-3.23.40-unknown-linux-gnu-alphaev6/lib/libmysql
client.a: could not read symbols: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/DBD/mysql/mysql.so] Error 1
make[1]: Leaving directory
`/var/www/html/gzfiles/Msql-Mysql-modules-1.2216/mysql'
make: *** [subdirs] Error 2

Any idea why this is failing. I have to get DBD:mysql
working.

Thanks for any help you can offer,
            John

Reply via email to