Problems installing DBD::mysql-2.9004 under 64 bit linux
"Fred Magee" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Good morning. When I tried to make DBD::mysql on my Dell Precision workstation running: Linux localhost.localdomain 2.4.21-20.EL #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux And mysql server version: 4.0.21-standard I get the following error: cc -c -I/usr/lib64/perl5/site_perl/5.8.0/auto/DBI/ -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -fPIC "-I/usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/CORE" mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/lib64" /usr/bin/perl myld gcc -shared dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/lib -lmysqlclient -lz -lcrypt -lnsl -lm /usr/bin/ld: /usr/local/lib/libmysqlclient.a(libmysql.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libmysqlclient.a: could not read symbols: Bad value Is this caused by the 64 bit nature of my system? How do I recompile libmysqlclient.a(???) with the -fPIC switch? Is there an RPM version of this that will run with Red Hat Enterprise linux? Thanks for any help you can provide and have a great day. Fred Magee ATK Mission Research (505)768-7783 [email protected]