1 message in com.mysql.lists.perlMissing libmysqlclient.so.10.0.0?
FromSent OnAttachments
George Zervakos30 Sep 2004 09:15 
Subject:Missing libmysqlclient.so.10.0.0?
From:George Zervakos (Geor@quadriserv.com)
Date:09/30/2004 09:15:29 AM
List:com.mysql.lists.perl

Hi list,

When running a perl script, I get this error message below:

perl bb.pl ld.so.1: perl: fatal: relocation error: file /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBD/mysql/mysql.so: symbol mysql_init: referenced symbol not found Killed

Versions of relevant pieces:

PERL version: perl -v This is perl, v5.6.1 built for sun4-solaris-64int (with 48 registered patches, see perl -V for more detail)

MySQL version: /usr/local/mysql-standard-4.0.21-sun-solaris2.9-sparc-64bit/bin/mysqld

DBI version: DBI-1.43

DBD version: DBD-mysql-2.9004

PERL came compiled on this box:

Compiler: cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-03', cppflags='' ccversion='Sun WorkShop', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define

The mysql was downloaded as a binary and configure was run which kicked of the mysqld daemon. From reading around it seems I'm missing the libmysqlclient.so file. This file is nowhere to be found on my entire machine. Apparently it was not included in the binary I downloaded and installed.

I tried compiling mysql from source thinking the file would be generated, however I ran into some other problems that I don't really want to get into here. Basically my question is, why am I missing this file and how can I make it so that it gets created/generated so I can avoid this error?

Thanks for any help,

george