Actually, the problem is that PERL can't find the 'ucb' library (which
presumeably the mysqlclient library is compiled against on Solaris). Find
your copy of libucb.so and use its path in LD_LIBRARY_PATH
(Last time I checked this was /usr/ucblib)
Alistair
On Wed, 10 May 2000, Jones, Benny wrote:
> Your suggestion didn't seem to work.
>
> I did a
>
> export LD_LIBRARY_PATH=/usr/local/mysql/lib/
> ./stest
>
> with the same results as before:
>
> install_driver(mysql) failed: Can't load
> '/usr/local/libdata/perl-5.004/site_perl/sun4-solaris/auto/DBD/mysql/mysql.s
> o' for module DBD::mysql: ld.so.1: /usr/local/bin/perl5.004: fatal:
> libucb.so.1: can't open file: errno=2 at
> /usr/local/libdata/perl-5.004/sun4-solaris/DynaLoader.pm line 166.