tags:

views:

44

answers:

2

i use rrd (graphic programming ) under rrdtool, i have installed; and i rund gcc
gcc -I/usr/include -I/usr/local/include -L/usr/lib -L/usr/local/lib -lrrd -o myprog test.c

myprog is execute file and test.c ist testprogram who i use function rrd_create from libary but gcc put out error like this: /usr/bin/ld: cannot find -lrrd why!!!!

A: 

This error message indicates that the linker cannot locate librrd.a or librrd.so* in /usr/lib/ or /usr/local/lib. You should make sure that you have librrd installed, and not just some other binary rrd package.

Jordan Lewis
think you but i have it under /usr/lib/librrd.so.4 installed !!!1
farka
Is it possible that this file is a broken symlink?
Jordan Lewis
A: 

ok problem is solved,OK

farka
If it is solved say what you did to solve it and accept your own answer. If it is solved using the hints of Jordan Lewis, accept his.
KillianDS