Bug 99208

Summary: mysql-server-5.0.22 not compiling due to error on libmysqlclient.15
Product: Ports & Packages Reporter: BlueRaven <blue>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description BlueRaven 2006-06-20 17:10:17 UTC
When installing mysql-server-5.0.22, compiling stops with the following error:

[omissis]
===>   Installing ldconfig configuration file
===>   Compressing manual pages for mysql-client-5.0.22
===>   Registering installation for mysql-client-5.0.22
===>   Returning to build of mysql-server-5.0.22
Error: shared library "mysqlclient.15" does not exist
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.

Fix: 

Run "ldconfig -m /usr/local/lib/mysql" as root to add the mysql-client shared libraries to the hints file, then issue "make install clean" again.
For your reference, this is the thread on bsdforums.org from which I took the fix: http://www.bsdforums.org/forums/showthread.php?threadid=42054
How-To-Repeat: Just cd to /usr/ports/databases/mysql50-server and try installing it with "make install clean"
Comment 1 Erwin Lansing freebsd_committer freebsd_triage 2006-06-20 17:11:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-06-22 11:52:14 UTC
State Changed
From-To: open->closed

Reboot or run 'ldconfig -m /usr/local/lib/mysql'