ports/129893: net/nxserver: ldconfig not set up properly

martinko gamato at users.sf.net
Wed Dec 24 01:00:11 UTC 2008


>Number:         129893
>Category:       ports
>Synopsis:       net/nxserver: ldconfig not set up properly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 24 01:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     martinko
>Release:        6.4-RELEASE-p1
>Organization:
>Environment:
FreeBSD matocomp 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun Dec 21 08:13:10 UTC 2008     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386
>Description:
The port cannot find its shared libraries because the lib path is not properly configured in the port's Makefile:
Instead of /usr/local/NX/lib is configured /usr/local/NX only which then propagates into /usr/local/libdata/ldconfig/nxserver.
>How-To-Repeat:
Install net/nxserver and try to run some of its binaries e.g. /usr/local/NX/bin/nxagent
>Fix:
--- Makefile    2008-06-06 15:50:12.000000000 +0200
+++ Makefile.fixed      2008-12-24 01:46:55.000000000 +0100
@@ -39,7 +39,7 @@
 ALL_TARGET=    World
 PLIST_SUB+=    NX_MAJOR=${PORTVERSION:R:R} NX_VERSION=${PORTVERSION}
 NXPREFIX?=     ${PREFIX}/NX
-USE_LDCONFIG=	${NXPREFIX}
+USE_LDCONFIG=	${NXPREFIX}/lib

 .include <bsd.port.pre.mk>


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



More information about the freebsd-ports-bugs mailing list