Subject: pkg/14833: net/SDL_net doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 12/04/2001 18:05:52
>Number:         14833
>Category:       pkg
>Synopsis:       net/SDL_net doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 04 03:05:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Robert Elz
>Release:        NetBSD-current 20011127
>Organization:
	Prince of Songkla University
>Environment:
	
System: NetBSD fuchsia 1.5Y NetBSD 1.5Y (FUCHSIA) #2: Mon Nov 26 13:41:27 ICT 2001     kre@fuchsia:/usr/obj/sys/FUCHSIA i386


>Description:
	Unable to build net/SDL_net with current pkgsrc (with xpkgwedge
	installed, but I doubt that is relevant here).
>How-To-Repeat:
	cd pkgsrc/net/SDL_net
	make install

*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.2.0 not found!
*** Error code 1

Note:
	fuchsia# pkg_info | grep SDL
	SDL-1.2.2           Simple DirectMedia Layer, a cross-platform multimedia library


	I saw a problem very similar to this a few days ago (may have
	even been the same thing), and analysed it a bit more.  The problem
	then had nothing whatever to do with LD_LIBRARY_PATH, or didn't
	look to have, but was related to attempting to link a program
	(as part of the configure script) that had no main() - no big
	surprise that it didn't work too well.   Didn't see that this time
	though...
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: