To see other biotech frequently asked questions,
please visit http://biotech.fyicenter.com/faq/
(Continued from previous question...)
When installing EMBOSS recently I get a load of errors due to
libraries not found.
The main problem is that I have an old version of
libz but no lib gd in my system libraries and EMBOSS looks there first
to try to locate these libraries. I have the correct versions installed
elsewhere.
Deleting -lgd -lz -lpng from CFLAGS in the ajax directory Makefile works
but is an ugly solution and not really ideal.
Are there any suggestions for setting the library search path or am I
missing something really obvious?
A) There are the
--without-pngdriver
and
--with-pngdriver=dir
flags. Did you try them? If the libraries are in /opt/png/lib then
set "dir" to /opt/png i.e. one level above the "lib" directory.
(Continued on next question...)