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
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

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to