From: Carlos Luna (carlos.luna at domain steorn.com)
Date: Wed 18 Sep 2002 - 14:11:03 IST
Since noone's replied to my previous plea, I'll try again...
I'm trying to compile a simple app in C/C++ that uses the IJG Jpeg
library to load image files but get 'unresolved symbol' linker errors.
In /usr/lib are located:
- libjpeg.so (link to libjpeg.so.62.0.0)
These libraries are taken directly from the Debian packages so there
shouldn't be any problems with them.
Of course, I'm using the -ljpeg flag for the linker but to no avail.
I've also read that /usr/lib is a 'trusted' directory, so there
shouldn't be any need to add this path to ld.so.conf. It doesn't work
anyway. I've already tried. :)
I'm using Debian 2.2 (2.4.18 kernel).
LD version 18.104.22.168.1 (if it matters)
What could be going wrong? Is it a path problem?
Should there be a special linker flag?
Is there a tool I could use to check out the contents of a library file?
What are all those different library files for anyway? (.a .la .so )
Thanks in advance.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:56 GMT