Subject: Re: Cannot link editor Ted
To: Jonathan <>
From: Thomas Klausner <>
List: tech-pkg
Date: 03/16/2004 11:14:35
On Tue, Mar 16, 2004 at 12:00:03AM -0600, Jonathan wrote:
> I installed the 2.14 version that is in pkgsrc. When I run it I get the 
> same error that I get when running the statically linked version, namely:
> notebook: {2} Ted
> Shared object "" not found

Do you have the following line in work*/Ted-2.14/Ted/makefile?
LDFLAGS= -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib

The "-Wl,-R"s are necessary for finding the libraries.

I'm not sure why they shouldn't be there when you build from pkgsrc,
since I just tried and it worked there (on an xpkgwedged system, even).