Date: Mon, 1 Dec 2014 08:14:58 -0500 From: "Gerard E. Seibert" <gerard_seibert@outlook.com> To: freebsd-ports@freebsd.org Subject: Re: Missing libintl.so.9 Message-ID: <BLU436-SMTP15131D08272749B59E987C7FA7D0@phx.gbl> In-Reply-To: <547C5EF1.5030501@freebsd.org> References: <COL128-W1AA671D6DC8EADDA5470BFA7D0@phx.gbl> <547C5EF1.5030501@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 01 Dec 2014 12:28:33 +0000, Matthew Seaman stated: >On 12/01/14 11:30, Gerard Seibert wrote: >> I just tried to update my system and now it it bonked. I followed the >> directions for "gettext"; however, I cannot reinstall it. I keep >> receiving an error message that "libintl.s0.9" not found. It is on my >> system, I checked. It is in "/usr/local/lib". So what is the problem? >> I am afraid to shut the system down because I am not sure if it will >> restart. > >I just ran into this myself. A fix I've found is: > > pkg install -f gettext-runtime > >Or you can manually create the symbolic link -- > > cd /usr/local/lib > ln -s libintl.so.8 libintl.so.9 > >The libintl files in /usr/local/lib should look like this: > ># ls -la libintl.* >-rw-r--r-- 1 root wheel 97760 Nov 30 03:48 libintl.a >lrwxr-xr-x 1 root wheel 16 Nov 30 03:48 libintl.so@ -> >libintl.so.8.1.2 >lrwxr-xr-x 1 root wheel 16 Nov 30 03:48 libintl.so.8@ -> >libintl.so.8.1.2 >-rw-r--r-- 1 root wheel 50998 Nov 30 03:48 libintl.so.8.1.2 >lrwxr-xr-x 1 root wheel 12 Nov 30 03:48 libintl.so.9@ -> libintl.so.8 > >That's what the package should have created, and what pkg(8) thinks has >been installed. It's a pkg bug that it manages to record incorrect >information about what was actually written to the filesystem -- >possibly due to the target of the symlink (libintl.so.8) itself being a >symlink to the actual libintl.so.8.1.2 file. > >Note that the gettext port was recently split into gettext-runtime and >gettext-tools with plain 'gettext' becoming a meta-port that installs >those two. Recently as in 'last weekend', and you need packages built >since that split to see this. ie. it won't hit the FreeBSD pkg repos >until next weekend. It's people with private repos and possibly people >installing from ports that are affected as yet. I always install from ports. This whole problem arose when I tried to update the "gettext" port, following the directions in UPDATING. QUESTION: why does linintl.so.9 have to be linked to libintl.so.8? If they are identical, why two different names. That seems like a recipe for confusion. Actually, why any links since they are apparently all linintl.so.8.1.2, or am I missing something? I have a slightly different problem now, but I will start a new thread. Thanks for your help. -- Jerry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU436-SMTP15131D08272749B59E987C7FA7D0>