From owner-freebsd-ports@FreeBSD.ORG Fri Jul 6 22:46:28 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D9BD16A41F for ; Fri, 6 Jul 2007 22:46:28 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 7F0E913C45A for ; Fri, 6 Jul 2007 22:46:28 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn09.u.washington.edu (hymn09.u.washington.edu [140.142.12.183]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l66MkIic027686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Jul 2007 15:46:19 -0700 Received: from localhost (localhost [127.0.0.1]) by hymn09.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l66MkIwQ011247; Fri, 6 Jul 2007 15:46:18 -0700 X-Auth-Received: from [192.55.52.3] by hymn09.u.washington.edu via HTTP; Fri, 06 Jul 2007 15:46:18 PDT Date: Fri, 6 Jul 2007 15:46:18 -0700 (PDT) From: youshi10@u.washington.edu To: Yuri Pankov In-Reply-To: <20070706211907.GC1055@darklight.org.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.2.304607, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.6.152433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='NO_REAL_NAME 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: ports@freebsd.org Subject: Re: nsdejavu.so needs -lXt? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 22:46:28 -0000 On Sat, 7 Jul 2007, Yuri Pankov wrote: > Hi, > > I've installed graphics/djview4, and nsdejavu.so fails to initialize in > firefox: > > LoadPlugin: failed to initialize shared library > /usr/local/lib/djview4/plugins/nsdejavu.so > [/usr/local/lib/djview4/plugins/nsdejavu.so: Undefined symbol > "XtShellStrings"] > > Manually adding -lXt to NSDEJAVU_LIBS in nsdejavu/Makefile fixes it and > plugin loads correctly. I couldn't find how it can be passed to > configure hence there's no PR. > > > Thanks, > Yuri This probably should be sent upstream to the devs then, with a revision of the configure file (if X11 headers found are version 7.x, use -lXt). There's most likely a way to determine the X11 version, but I don't know it OTOH. -Garrett