Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 12:12:16 +0200
From:      Steve Clement <steve@ion.lu>
To:        ports@FreeBSD.org
Subject:   devel/popt Problems
Message-ID:  <451BA000.1080101@ion.lu>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig68305F062D2E0812512FED67
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

My Freshly installed: FreeBSD dha-server.dha.lu 6.1-RELEASE FreeBSD
6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006   =20
root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

Has the following problem:

/bin/sh ./libtool --mode=3Dlink cc  -O2 -fno-strict-aliasing -pipe =20
-L/usr/local/lib -o test1 -all-static test1.o libpopt.la -liconv
cc -O2 -fno-strict-aliasing -pipe -o test1 -static test1.o=20
-L/usr/local/lib ./.libs/libpopt.a /usr/local/lib/libintl.a
/usr/local/lib/libiconv.a -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libintl.a(dcigettext.o)(.text+0x5d0): In function
`_nl_find_msg':
: undefined reference to `libiconv'
/usr/local/lib/libintl.a(loadmsgcat.o)(.text+0xe2): In function
`_nl_init_domain_conv':
: undefined reference to `libiconv_open'
/usr/local/lib/libintl.a(loadmsgcat.o)(.text+0x178): In function
`_nl_free_domain_conv':
: undefined reference to `libiconv_close'
*** Error code 1

Full output below, I googled for it but I only found a glibc Linux issue
which is not what I have!

Anyone had this issue?

Thanks,

Steve Clement


[root@dha-server /usr/ports/sysutils/rdiff-backup]# make
=3D=3D=3D>  Vulnerability check disabled, database not found
=3D=3D=3D>  Extracting for rdiff-backup-1.0.4,1
=3D> MD5 Checksum OK for rdiff-backup-1.0.4.tar.gz.
=3D> SHA256 Checksum OK for rdiff-backup-1.0.4.tar.gz.
=3D=3D=3D>  Patching for rdiff-backup-1.0.4,1
=3D=3D=3D>  Applying FreeBSD patches for rdiff-backup-1.0.4,1
=3D=3D=3D>   rdiff-backup-1.0.4,1 depends on file: /usr/local/bin/python =
- found
=3D=3D=3D>   rdiff-backup-1.0.4,1 depends on shared library: rsync.1 - no=
t found
=3D=3D=3D>    Verifying install for rsync.1 in /usr/ports/net/librsync
=3D=3D=3D>  Vulnerability check disabled, database not found
=3D=3D=3D>  Extracting for librsync-0.9.7_1
=3D> MD5 Checksum OK for librsync-0.9.7.tar.gz.
=3D> SHA256 Checksum OK for librsync-0.9.7.tar.gz.
=3D=3D=3D>  Patching for librsync-0.9.7_1
=3D=3D=3D>  Applying FreeBSD patches for librsync-0.9.7_1
=3D=3D=3D>   librsync-0.9.7_1 depends on executable in : gmake - found
=3D=3D=3D>   librsync-0.9.7_1 depends on shared library: popt.0 - not fou=
nd
=3D=3D=3D>    Verifying install for popt.0 in /usr/ports/devel/popt
=3D=3D=3D>  Vulnerability check disabled, database not found
=3D=3D=3D>  Extracting for popt-1.7_1
=3D> MD5 Checksum OK for popt-1.7.tar.gz.
=3D> SHA256 Checksum OK for popt-1.7.tar.gz.
=3D=3D=3D>  Patching for popt-1.7_1
=3D=3D=3D>  Applying FreeBSD patches for popt-1.7_1
=3D=3D=3D>   popt-1.7_1 depends on executable in : xgettext - found
=3D=3D=3D>   popt-1.7_1 depends on shared library: intl - found
=3D=3D=3D>  Configuring for popt-1.7_1
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking dependency style of cc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cc -E
checking whether cc needs -traditional... no
checking for cc option to accept ANSI C... none needed
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... ye=
s
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
=2E/configure.lineno: ./ltconfig: not found
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking for unistd.h... (cached) yes
checking for /usr/ucblib in LIBS... no
checking for GNU xgettext... yes
checking for strerror... yes
checking for mtrace... no
checking for getuid... yes
checking for geteuid... yes
checking for setreuid... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: Can't
open ./config.rpath: No such file or directory
done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... (cached) yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking how to link with libintl... -lintl
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=3D=3D=3D>  Building for popt-1.7_1
make  all-recursive
Making all in po
source=3D'popt.c' object=3D'popt.lo' libtool=3Dyes  depfile=3D'.deps/popt=
=2EPlo'
tmpdepfile=3D'.deps/popt.TPlo'  depmode=3Dgcc3 /bin/sh ./depcomp  /bin/sh=

=2E/libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I.=20
-I/usr/local/include  -O2 -fno-strict-aliasing -pipe -c -o popt.lo `test
-f 'popt.c' || echo './'`popt.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c popt.c -MT popt.lo -MD -MP -MF
=2Edeps/popt.TPlo  -fPIC -DPIC -o .libs/popt.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c popt.c -MT popt.lo -MD -MP -MF
=2Edeps/popt.TPlo -o popt.o >/dev/null 2>&1
mv -f .libs/popt.lo popt.lo
source=3D'findme.c' object=3D'findme.lo' libtool=3Dyes=20
depfile=3D'.deps/findme.Plo' tmpdepfile=3D'.deps/findme.TPlo'  depmode=3D=
gcc3
/bin/sh ./depcomp  /bin/sh ./libtool --mode=3Dcompile cc -DHAVE_CONFIG_H
-I. -I. -I.  -I. -I.  -I/usr/local/include  -O2 -fno-strict-aliasing
-pipe -c -o findme.lo `test -f 'findme.c' || echo './'`findme.c
rm -f .libs/findme.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c findme.c -MT findme.lo -MD -MP -MF
=2Edeps/findme.TPlo  -fPIC -DPIC -o .libs/findme.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c findme.c -MT findme.lo -MD -MP -MF
=2Edeps/findme.TPlo -o findme.o >/dev/null 2>&1
mv -f .libs/findme.lo findme.lo
source=3D'poptparse.c' object=3D'poptparse.lo' libtool=3Dyes=20
depfile=3D'.deps/poptparse.Plo' tmpdepfile=3D'.deps/poptparse.TPlo'=20
depmode=3Dgcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=3Dcompile cc
-DHAVE_CONFIG_H -I. -I. -I.  -I. -I.  -I/usr/local/include  -O2
-fno-strict-aliasing -pipe -c -o poptparse.lo `test -f 'poptparse.c' ||
echo './'`poptparse.c
rm -f .libs/poptparse.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c poptparse.c -MT poptparse.lo -MD -MP -MF
=2Edeps/poptparse.TPlo  -fPIC -DPIC -o .libs/poptparse.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c poptparse.c -MT poptparse.lo -MD -MP -MF
=2Edeps/poptparse.TPlo -o poptparse.o >/dev/null 2>&1
mv -f .libs/poptparse.lo poptparse.lo
source=3D'poptconfig.c' object=3D'poptconfig.lo' libtool=3Dyes=20
depfile=3D'.deps/poptconfig.Plo' tmpdepfile=3D'.deps/poptconfig.TPlo'=20
depmode=3Dgcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=3Dcompile cc
-DHAVE_CONFIG_H -I. -I. -I.  -I. -I.  -I/usr/local/include  -O2
-fno-strict-aliasing -pipe -c -o poptconfig.lo `test -f 'poptconfig.c'
|| echo './'`poptconfig.c
rm -f .libs/poptconfig.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c poptconfig.c -MT poptconfig.lo -MD -MP -MF
=2Edeps/poptconfig.TPlo  -fPIC -DPIC -o .libs/poptconfig.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c poptconfig.c -MT poptconfig.lo -MD -MP -MF
=2Edeps/poptconfig.TPlo -o poptconfig.o >/dev/null 2>&1
mv -f .libs/poptconfig.lo poptconfig.lo
source=3D'popthelp.c' object=3D'popthelp.lo' libtool=3Dyes=20
depfile=3D'.deps/popthelp.Plo' tmpdepfile=3D'.deps/popthelp.TPlo'=20
depmode=3Dgcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=3Dcompile cc
-DHAVE_CONFIG_H -I. -I. -I.  -I. -I.  -I/usr/local/include  -O2
-fno-strict-aliasing -pipe -c -o popthelp.lo `test -f 'popthelp.c' ||
echo './'`popthelp.c
rm -f .libs/popthelp.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c popthelp.c -MT popthelp.lo -MD -MP -MF
=2Edeps/popthelp.TPlo  -fPIC -DPIC -o .libs/popthelp.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/local/include -O2
-fno-strict-aliasing -pipe -c popthelp.c -MT popthelp.lo -MD -MP -MF
=2Edeps/popthelp.TPlo -o popthelp.o >/dev/null 2>&1
mv -f .libs/popthelp.lo popthelp.lo
/bin/sh ./libtool --mode=3Dlink cc  -O2 -fno-strict-aliasing -pipe =20
-L/usr/local/lib -o libpopt.la -rpath /usr/local/lib  popt.lo findme.lo
poptparse.lo poptconfig.lo  popthelp.lo -lintl
rm -fr .libs/libpopt.la .libs/libpopt.* .libs/libpopt.*
cc -shared  popt.lo findme.lo poptparse.lo poptconfig.lo popthelp.lo=20
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib=20
-L/usr/local/lib /usr/local/lib/libintl.so -lc  -Wl,-soname
-Wl,libpopt.so.0 -o .libs/libpopt.so.0
(cd .libs && rm -f libpopt.so && ln -s libpopt.so.0 libpopt.so)
(cd .libs && rm -f libpopt.so && ln -s libpopt.so.0 libpopt.so)
ar cru .libs/libpopt.a  popt.o findme.o poptparse.o poptconfig.o popthelp=
=2Eo
ranlib .libs/libpopt.a
creating libpopt.la
(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
source=3D'test1.c' object=3D'test1.o' libtool=3Dno  depfile=3D'.deps/test=
1.Po'
tmpdepfile=3D'.deps/test1.TPo'  depmode=3Dgcc3 /bin/sh ./depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I. -I. -I.   -I/usr/local/include  -O2
-fno-strict-aliasing -pipe -c `test -f 'test1.c' || echo './'`test1.c
/bin/sh ./libtool --mode=3Dlink cc  -O2 -fno-strict-aliasing -pipe =20
-L/usr/local/lib -o test1 -all-static test1.o libpopt.la -liconv
cc -O2 -fno-strict-aliasing -pipe -o test1 -static test1.o=20
-L/usr/local/lib ./.libs/libpopt.a /usr/local/lib/libintl.a
/usr/local/lib/libiconv.a -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libintl.a(dcigettext.o)(.text+0x5d0): In function
`_nl_find_msg':
: undefined reference to `libiconv'
/usr/local/lib/libintl.a(loadmsgcat.o)(.text+0xe2): In function
`_nl_init_domain_conv':
: undefined reference to `libiconv_open'
/usr/local/lib/libintl.a(loadmsgcat.o)(.text+0x178): In function
`_nl_free_domain_conv':
: undefined reference to `libiconv_close'
*** Error code 1

Stop in /usr/ports/devel/popt/work/popt-1.7.
*** Error code 1

Stop in /usr/ports/devel/popt/work/popt-1.7.
*** Error code 1

Stop in /usr/ports/devel/popt/work/popt-1.7.
*** Error code 1

Stop in /usr/ports/devel/popt.
*** Error code 1

Stop in /usr/ports/net/librsync.
*** Error code 1

Stop in /usr/ports/sysutils/rdiff-backup.
[root@dha-server /usr/ports/sysutils/rdiff-backup]#

--=20
ION Network Solutions
Steve Clement
Unix System Administrator
209, rue des Romains
L-8041 Bertrange
Tel: +352 261 276-2
Fax: +352 261 276-9
mailto:steve@ion.lu
http://www.ion.lu



--------------enig68305F062D2E0812512FED67
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQCVAwUBRRugAOhs0laO7FkHAQMdQgQAlaEfUMzqmDIDgxucTqZ3+cagTkaDSLCj
C9MCWpxkzSjORFbZ6iIhikIop6lsfozwHAZvH1EJucqYX9jt/5xKTHnaNzbdpM2E
n+/F4DfyqkMLIa41VlXJPJZgH2VNCBzHqvSwQD+NhOKog+bjFVEViVyTDavq+pcQ
mgifoeXG8Pw=
=HqV5
-----END PGP SIGNATURE-----

--------------enig68305F062D2E0812512FED67--



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