Mantis - mysql_dev
Viewing Issue Advanced Details
4867 regular use minor always 2011-11-21 13:56 2012-01-29 11:10
janci  
maciej  
normal  
closed  
fixed  
none    
none  
0004867: symlink for /opt/csw/bin/mysql_config pointing to itself
There's probably an error in CSWmysql-dev (mysql_dev-5.0.92,REV=2011.10.05).
Symlink for /opt/csw/bin/mysql_config pointing to itself after install.

REPRODUCE:
> ll /opt/csw/bin/mysql_config
/opt/csw/bin/mysql_config: No such file or directory
> pkgutil -i CSWmysql-dev
> ll /opt/csw/bin/mysql_config
lrwxrwxrwx 1 root other 25 Nov 21 13:53 /opt/csw/bin/mysql_config -> /opt/csw/bin/mysql_config

WORKAROUND:
rm /opt/csw/bin/mysql_config && ln -s /opt/csw/bin/mysql_config-5.0 /opt/csw/bin/mysql_config
Issue History
2011-11-21 13:56 janci New Issue
2011-11-21 13:57 janci Issue Monitored: janci
2012-01-29 11:07 maciej Status new => assigned
2012-01-29 11:07 maciej Assigned To => maciej
2012-01-29 11:10 maciej Note Added: 0009545
2012-01-29 11:10 maciej Status assigned => closed
2012-01-29 11:10 maciej Resolution open => fixed

Notes
(0009545)
maciej   
2012-01-29 11:10   
I also opened https://sourceforge.net/apps/trac/gar/ticket/68 [^] to add a new check to checkpkg to prevent this from happening on the future.