Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2010 21:56:54 +0200
From:      "Philippe Pepiot" <phil@philpep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/145417: [PATCH] database/mysql50-server
Message-ID:  <20100405195656.8D0F1106572C@hub.freebsd.org>
Resent-Message-ID: <201004052000.o35K0KGl089759@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145417
>Category:       ports
>Synopsis:       [PATCH] database/mysql50-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 05 20:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Pepiot
>Release:        FreeBSD 8.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD shen.philpep.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r202418: Fri Jan 15 22:29:53 CET 2010 root@shen.philpep.org:/usr/obj/usr/src/sys/SHEN i386


	
>Description:
	$PREFIX/libdata/ldconfig/mysql is missing in pkg-plist.client, when mysql50-client is used as a
	package some server daemon cannot be launched at boot. Causing this error : Shared object "libmysqlclient.so.15" not found.
>How-To-Repeat:
	$ make -C /usr/ports/database/mysql50-client package
	$ cat /usr/local/libdata/ldconfig/mysql
	/usr/local/lib/mysql
	# On another machine
	$ pkg_add -r ./mysql-client-5.0.90.tbz
	$ cat /usr/local/libdata/ldconfig/mysql
	cat: /usr/local/libdata/ldconfig/mysql: No such file or directory
>Fix:

	

--- mysql50_server.patch begins here ---
diff -ru mysql50-server.orig/pkg-plist.client mysql50-server/pkg-plist.client
--- mysql50-server.orig/pkg-plist.client	2010-04-05 21:44:37.000000000 +0200
+++ mysql50-server/pkg-plist.client	2010-04-05 21:43:12.000000000 +0200
@@ -52,6 +52,7 @@
 lib/mysql/libmysqlclient_r.la
 lib/mysql/libmysqlclient_r.so
 lib/mysql/libmysqlclient_r.so.15
+libdata/ldconfig/mysql
 %%DATADIR%%/mysql_fix_privilege_tables.sql
 @dirrm include/mysql
 @dirrm lib/mysql
--- mysql50_server.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100405195656.8D0F1106572C>