|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
ld can't find libraries
I'm trying to compile stepmania. It tells me it can't find libpng, but I installed that package.
Code:
checking png.h usability... no checking png.h presence... no checking for png.h... no *** libpng is required to build StepMania; please make sure that *** it is installed to continue the build process. png.h is located in /usr/local/include/png.h AND /usr/local/include/libpng/png.h It says the same thing for libjpeg. How do I tell configure to look there? Thanks!
__________________
Were my suggestions helpful? If so, please click the above this post.
|
|
#2
|
||||
|
||||
|
Yow! Did you compile libpng/libjpeg by hand yourself? They seem to be installed in non-standard locations. The real fix would be to install libpng and libjpeg in standard locations, which is what you should really do.
However, to get around your current predicament, look in the configure script. Most of them allow you to specify additional dir locations (e.g. --with-libdir= and --with-include-dir or something similar). By the way, png.h is an include file. The lib file should be called libpng.a or libpng.so
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
I installed from ports (FreeBSD 6.0 BETA5). Then from src after that didn't work either.
I'll try that in my configure script and let you know. I know about the library thing, sorry I didn't post it's location earlier (/usr/local/lib/libpng.a, /usr/local/lib/libpng.so and many others) |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > ld can't find libraries |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|