Re: Compilation error
On Thu, Feb 14, 2002 at 21:45:24 +0100, Pierre EVENOU wrote:
> g++ Intermediate/init_display.o -o init_display -lclanCore -lclanApp -lclanDisplay
> /usr/bin/ld: can't find -lclanCore
> The clanLib is install in /usr/local/lib,
Add "-v" to the g++ line and you'll see that that directory is not searched
by default when linking. You'll need to add "-L/usr/local/lib" to that link
line.
> /usr/local/lib is in /etc/ld.so.conf and ldconfig -v is saying that
> libclanCore is here.
Very nice, but that's only relevant for _running_ binaries (i.e. it affects
the dynamic loader, not the linker).
HTH,
Ray
--
The road to hell is paved with telecom billing requirements.
Reply to: