libintl.so.2 problems (REPOST: wrong subject and recipient)
Ralph Dratman
ralph at maxsoft.com
Wed May 21 16:51:03 PDT 2003
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 at 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 at 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 at 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 at kq9 Wed May 21 16:45:52 /usr/src#make lib
`lib' is up to date.
------------------------------------------------------
and then (growing increasingly desperate):
------------------------------------------------------
root at 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.
More information about the freebsd-questions
mailing list