From owner-freebsd-questions@FreeBSD.ORG Sat Oct 27 08:42:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C9EA2F4 for ; Sat, 27 Oct 2012 08:42:11 +0000 (UTC) (envelope-from afiskon@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 232BA8FC0A for ; Sat, 27 Oct 2012 08:42:10 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so4797686vcb.13 for ; Sat, 27 Oct 2012 01:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TevJOVRAuc+2HB9wpf67bhAe86pwpKh2BBWfkZ+dXJQ=; b=HkptB4OpBradHsNvGvzmCYf4x5W4XuezA4/kUsfIimxlbFgnHiE+4UzdTgpwMwyG/G 27THbujJTgDYGoM/mvQh9XMB1T/C2uAhHW0Kq2HPX4TLgT9YVNj8vwE5mqcyjqIxkdqw hwoV4wms+FRtDkZqGnjDsBgL2VUDW32VS5iwvHzeg9XPwnjzuuk5TXyXRr7DphdbJBMr VX11HsBbsOC1fgcEhEJp3VJWVMaZ2uhFPGzJxFoD+QhjfZqaR3skhvp6m+hY9900k+x7 wAQpI/TNAHbxptq5rmvzWIjRxxB/YExwLGWyLN1YBhZNloYQNVoAehPWOMlzOi9Iu4mc Rnkw== MIME-Version: 1.0 Received: by 10.220.154.68 with SMTP id n4mr788109vcw.22.1351327330180; Sat, 27 Oct 2012 01:42:10 -0700 (PDT) Received: by 10.220.186.197 with HTTP; Sat, 27 Oct 2012 01:42:10 -0700 (PDT) In-Reply-To: <20121026210606.829bf5bd.freebsd@edvax.de> References: <20121026164311.6a44948b.freebsd@edvax.de> <20121026210606.829bf5bd.freebsd@edvax.de> Date: Sat, 27 Oct 2012 12:42:10 +0400 Message-ID: Subject: Re: Problem with libpng + Mozilla applications on FreeBSD 8.3 From: Alexandr Alexeev To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, Manish Jain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 08:42:11 -0000 Sometimes placing symlink to the newer version of library instead of older version helps. On Fri, Oct 26, 2012 at 11:06 PM, Polytropon wrote: > On Sat, 27 Oct 2012 00:06:44 +0530, Manish Jain wrote: >> >> Hello Polytropon, >> >> Thanks for replying. >> >> > Maybe an update of FF and TB would be sufficient, so it can link >> > to the present (or at least expected) libraries accordingly. >> >> Maybe I did not make it clear enough in the original message. The only >> thing I installed from the installation DVD was the OS and the GNOME2 >> metaport. Everything else including FF and TB was installed from ports, >> the tarball of which I downloaded just a couple of days back. I hope you >> are not suggesting that I build the GNOME2 metaport too from the ports >> directory : with my internet connection, that really would take me into >> the next century. > > Exactly that would have been the preferred solution. :-) > > > >> > You should not manually copy things. At some point, something will >> > crash, and the ports infrastructure cannot take care of it. It's >> > easier to use a port management tool (like portmaster) to deal >> > with installing and updating of ports. >> >> For the present issue, it seems logical that I would need 2 versions of >> libpng : one for GNOME and one for the ports being installed. Having the >> two versions reside independently in /usr/lib and /usr/local/lib seems >> to be the only way out. I still must admit that it defeats the purpose >> of having port management tools. > > It also blurs the line between OS (/usr/lib) and additional > software (/usr/local/lib) directories. However, both directories > are used by the linker, so it looks possible (and probably better > than messing with symlinks in /usr/local/lib). Problems _might_ > occur when updating world. > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Best regards, Alex Alexeev http://twitter.com/afiskon