2 messages in com.mysql.lists.gui-toolsRe: libpcre.so.3 missing
FromSent OnAttachments
Daniel Kasak16 Jan 2007 15:12 
Daniel Kasak17 Jan 2007 14:17 
Subject:Re: libpcre.so.3 missing
From:Daniel Kasak (dka@nusconsulting.com.au)
Date:01/17/2007 02:17:12 PM
List:com.mysql.lists.gui-tools

Daniel Kasak wrote:

Hi all.

I'm testing out the backup function of mysql-administrator on our Linux server. I currently have a bash backup script, but restoring currently requires me and my command-line skills :)

Anyway, I've created a backup profile and scheduled it, but it dies silently. I had a look at the cron job, found the line added, and run this from a console:

/opt/mysql-gui-tools-5.0/mabackup -d /root/sql -x Assets -c root Assets_backup

This provides the error:

/opt/mysql-gui-tools-5.0/mabackup: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

Following up on this, I've discovered that I have a libpcre.so.3 in the directory: /opt/mysql-gui-tools-5.0/lib

So then I tried:

export LD_LIBRARY_PATH=/opt/mysql-gui-tools-5.0/lib/

... and then ran the backup manually:

/opt/mysql-gui-tools-5.0/mabackup -d /root/sql -x Assets -c root Assets_backup

... and got:

Segmentation fault

Damn!

Any ideas? I suppose it's looking like I have to compile mysql-administrator on this system, right?