Robert Sander wrote:
On Thu, Dec 15, 2005 at 10:23:33AM -0500, John Ellson wrote:

They are stored in an unusual place to avoid any potential for namespace collisions in /usr/lib on 10 varieties of Unix.

But we are talking about Debian here, which is one variety of GNU/Linux.

LD_LIBRARY_PATH is not recommended as it is a royal-pain for the user.
Instead I recommend use of --rpath

Using pkgconfig you can set this up with:

   CFLAGS=`pkg-config libgvc --cflags` -Wall -g -O2
LDFLAGS=-Wl,--rpath -Wl,`pkg-config libgvc --variable=libdir` `pkg-config libgvc --libs`

pkg-config fails because libgvc.pc is stored in
/usr/lib/graphviz/pkgconfig, see this bugreport:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313508
On Fedora, the .pc files for graphviz are in the common /usr/lib/pkgconfig/
Stephen might want to change this.
John

I should have added my bugreport to this one:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312533
which is not fixed by changing the aptitude packages.

Greetings



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to