2 messages in com.mysql.lists.perlRe: Another set of installation quest...
FromSent OnAttachments
sigf...@lub.lu.se09 Sep 2003 00:34 
sigf...@lub.lu.se09 Sep 2003 02:04 
Subject:Re: Another set of installation questions
From:sigf...@lub.lu.se (sigf@lub.lu.se)
Date:09/09/2003 02:04:09 AM
List:com.mysql.lists.perl

On Tue, 9 Sep 2003 I wrote:

I had a working 3.23.x mysql installation, with DBI DBD::mysql. I decided to scrap that in favour of mysql 4.1. My goal was to take advantage of the native perl 5.8.0 support for Unicode semantics and the newer mysql support for multibyte character sets. In my case utf-8.

My first question is with which combination -- if any -- of DBI and DBD will I achieve this?

I'm still very keen to get info on this. I resolved my installation problem by manually replacing the command

LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared \ dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc \ -lnss_files -lnss_dns -lresolv -lc \ -lnss_files -lnss_dns -lresolv

with

gcc -shared dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \ -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc \ -lresolv -lc -lresolv

on the command line. Then I successfully made 'make test' and 'make install'

I suppose that mysql_config returned something unwanted on my platform namely -lnss_files -lnss_dns. It surprices me that

ldd blib/arch/auto/DBD/mysql/mysql.so

among other dependencies yielded

libnss_files.so.2 => /lib/libnss_files.so.2 (0x403d5000) libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x403df000)

Anyway, my scripts no works nicely.

Sigge