Mark Spanglet writes:
> How can we get gnuplot to look for it's libraries in a place other than=
the=20
> default? We have libpng.a(png.o) in /usr/local/lib and libpng.a(libpng=
.so.2)=20
> in /opt/freeware/lib. We tried the with-png=3D/opt/freeware/lib thing.=
No luck.
> There doesn't seem to be a command line option. Do we have to change t=
he=20
> Makefile?
There cannot be a command line option, because the shared libraries are
loaded before the program itself starts.
man ld.so
...
ld.so, ld-linux.so* - dynamic linker/loader
DESCRIPTION
ld.so loads the shared libraries needed by a program, pre=AD
pares the program to run, and then runs it. Unless
...
If configure fails to find libraries, config.log will tell you why.
|