Date: Mon, 11 Feb 2008 00:16:55 +0000 From: Chris Whitehouse <cwhiteh@onetel.com> To: perryh@pluto.rain.com Cc: freebsd-questions@freebsd.org Subject: Re: projectm questions Message-ID: <47AF93F7.2010504@onetel.com> In-Reply-To: <47ae68d2.uU6BjaSTour1Ned4%perryh@pluto.rain.com> References: <47AE46E5.1020205@onetel.com> <47ae68d2.uU6BjaSTour1Ned4%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
perryh@pluto.rain.com wrote: >> Linking CXX shared library libprojectM.so >> /usr/bin/ld: cannot find -lGLEW >> *** Error code 1 >> ... >> After a bit of poking around I found >> ln -s /usr/local/lib/libGLEW.a /usr/lib/libGLEW.a >> fixed it. I also had to do >> ln -s /usr/local/lib/libftgl.a /usr/lib/libftgl.a >> ln -s /usr/local/lib/libfreetype.a /usr/lib/libfreetype.a >> >> Well that's alright for a fix but >> Question 2: what do I have to do to get that to work automatically? > > Lose the symlinks, and instead figure out how to add > -L/usr/local/lib > to the link command line so that the linker looks for > libs there as well as in /usr/lib. > > You might find the FreeBSD porter's handbook helpful. > I'll check that out thanks Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AF93F7.2010504>