Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm having trouble compiling gd and libmng, presumably because I have an old version of libjpeg lying somewhere. Here is the output I get from make for libmng :
gcc -DPACKAGE=\"libmng\" -DVERSION=\"1.0.4\" -DPROTOTYPES=1 -DHAVE_DLFCN_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DSTDC_HEADERS=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -I. -I. -g -O2 -c libmng_jpeg.c -fPIC -DPIC -o .libs/libmng_jpeg.lo
libmng_jpeg.c: In function `mng_skip_input_data':
libmng_jpeg.c:112: structure has no member named `client_data'
libmng_jpeg.c: In function `mng_skip_input_data2':
libmng_jpeg.c:145: structure has no member named `client_data'
libmng_jpeg.c: In function `mng_error_exit':
libmng_jpeg.c:189: structure has no member named `client_data'
libmng_jpeg.c: In function `mngjpeg_initialize':
libmng_jpeg.c:236: structure has no member named `client_data'
libmng_jpeg.c:245: structure has no member named `client_data'
libmng_jpeg.c:254: structure has no member named `client_data'
make: *** [libmng_jpeg.lo] Error 1
And I get the same type of error (structure has no member named `client_data') when compiling gd, and in a jpeg related source file as well.
My question is a bit more general, not related to gd and libmng specifically. How can I find all instances of a library on my system, and is it safe to then remove all the ones other than the ones in /usr/lib or /usr/local/lib?
Because I downloaded a recent version of libjpeg, compiled it and installed it to /usr/lib, but I still get the errors. So I'm trying to find out what the problem is, and where there could be other versions of the library that make finds before the one in /usr/lib...