Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 19:49:49 -0400
From:      Ralph Dratman <ralph@maxsoft.com>
To:        freebsd-questions@freebsd.org
Subject:   libintl.so.2 problems (REPOST: wrong subject and recipient)
Message-ID:  <v04210118baf1c0d37b6e@[192.168.1.27]>

next in thread | raw e-mail | index | archive | help
Hello.

I am running FreeBSD 4.2 on a live server and I'm reluctant, frankly, 
to try upgrading since it would be time-consuming to get running 
again even with a good backup (which I have) if the upgrade should 
fail. Some kind of "hot spare" capability would really help.

Anyway, that's beside the point for the current question. It's just 
my excuse for being stuck at 4.2.

I made the mistake of trying to eliminate various packages which 
appeared to be redundant (older versions) using pkg_delete, and now 
some things are broken. Mostly I have been able to reinstall and get 
things working again, but there is one roadblock I haven't been able 
to pass, exemplified by the following, as I try to make wget:

   ------------------------------------------------------
   root@kq9 Wed May 21 16:07:18 /usr/ports/ftp/wget#make
   ===>  Building for wget-1.8.2_3
   /usr/libexec/ld-elf.so.1: Shared object "libintl.so.2" not found
   *** Error code 1
   Stop in /usr/ports/ftp/wget.
   ------------------------------------------------------

So instead maybe I will add the package version of wget:

   ------------------------------------------------------
   root@kq9 Wed May 21 17:46:09 /usr/ports/ftp/wget#pkg_add -r wget
   Fetching 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/ 
wget.tgz... Done.
   Fetching 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/All/lib 
iconv-1.8_2.tgz... Done.
   Fetching 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/All/exp 
at-1.95.6_1.tgz... Done.
   ------------------------------------------------------

Looking good! But...

   ------------------------------------------------------
   root@kq9 Wed May 21 17:46:59 /usr/ports/ftp/wget#wget
   /usr/libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced 
from COPY relocation in wget
   ------------------------------------------------------

Seems to be the same problem. I'm guessing "__stdoutp" is contained 
in libintl.so.2.
Since it appears that libintl should be in /usr/lib/, I try the following:

   ------------------------------------------------------
   root@kq9 Wed May 21 16:45:52 /usr/src#make lib
   `lib' is up to date.
   ------------------------------------------------------

and then (growing increasingly desperate):

   ------------------------------------------------------
   root@kq9 Wed May 21 16:13:46 /usr/src/lib#make
   ===> csu/i386-elf
   cc -O -pipe -elf -Wall -fkeep-inline-functions 
-I/usr/src/lib/csu/i386-elf/../common -c crt1.c -o crt1.o
   cc -I/usr/src/lib/csu/i386-elf/../common  -c crti.S -o crti.o
   cc -I/usr/src/lib/csu/i386-elf/../common  -c crtn.S -o crtn.o
   cc -O -pipe -elf -Wall -fkeep-inline-functions 
-I/usr/src/lib/csu/i386-elf/../common -DGCRT -c -o gcrt1.o 
/usr/src/lib/csu/i386-elf/crt1.c
   Warning: Object directory not changed from original /usr/src/lib/csu/i386-elf
   ===> libcom_err
   Warning: Object directory not changed from original /usr/src/lib/libcom_err
   make: don't know how to make com_err.c. Stop
   *** Error code 2
   Stop in /usr/src/lib.
   ------------------------------------------------------

And now I am pretty baffled. These errors are incomprehensible.

Advice and guidance, please, please?

Thank you very much.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210118baf1c0d37b6e>