Bug #41882 Executing sbin/mysql-proxy -V returns error
Submitted: 5 Jan 2009 19:39 Modified: 5 Jan 2009 19:49
Reporter: Diego Medina Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S3 (Non-critical)
Version:2.0.2.7126 OS:Any
Assigned to: Kay Roepke CPU Architecture:Any

[5 Jan 2009 19:39] Diego Medina
Description:
Running

$  ./agent/sbin/mysql-proxy -V
returns this error:

./mysql/enterprise/agent/sbin/mysql-proxy: error while loading shared libraries: libmysql-chassis.so.0: cannot open shared object file: No such file or directory

but calling

-bash-3.2$ ./mysql/enterprise/agent/bin/mysql-monitor-agent -V
mysql-proxy 0.7.0
  glib2: 2.16.3
  libevent: 1.4.6-stable
  proxy: 0.7.0
  monitor: 0.7.0
  MySQL Monitor Agent(agent): 2.0.2.7126
  admin: 0.7.0

works

How to repeat:
1- Install the agent
2- execute

$  ./mysql/enterprise/agent/sbin/mysql-proxy -V
[5 Jan 2009 19:49] Kay Roepke
Due to the nature of the binary running the executable in sbin without setting LD_LIBRARY_PATH is not supported.