Date: Sat, 27 Oct 2012 18:57:11 +0530 From: Manish Jain <bourne.identity@hotmail.com> To: Alexandr Alexeev <afiskon@gmail.com> Cc: Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: Problem with libpng + Mozilla applications on FreeBSD 8.3 Message-ID: <BLU0-SMTP110043AFF566298E84E5DEAF67D0@phx.gbl> In-Reply-To: <CAEMZj=neRKvuVtFaJc%2B4u0M-MuL_oeKPWg3kDGPEhUqc7jAA6w@mail.gmail.com> References: <BLU0-SMTP3626767C58CD5F625E8D3DAF67E0@phx.gbl> <20121026164311.6a44948b.freebsd@edvax.de> <BLU0-SMTP4060A45BDD39DF157C64E1CF67E0@phx.gbl> <20121026210606.829bf5bd.freebsd@edvax.de> <CAEMZj=neRKvuVtFaJc%2B4u0M-MuL_oeKPWg3kDGPEhUqc7jAA6w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, Oct 26, 2012 at 11:06 PM, Polytropon <freebsd@edvax.de> 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" > > > > Sometimes placing symlink to the newer version of library instead of > older version helps. > There is only one symlink (/usr/local/bin/libpng.so) and it points to the newer version. Regards, Manish Jain bourne.identity@hotmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP110043AFF566298E84E5DEAF67D0>