devel/popt Problems

Steve Clement steve at ion.lu
Thu Sep 28 03:12:29 PDT 2006


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    
root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

Has the following problem:

/bin/sh ./libtool --mode=link cc  -O2 -fno-strict-aliasing -pipe  
-L/usr/local/lib -o test1 -all-static test1.o libpopt.la -liconv
cc -O2 -fno-strict-aliasing -pipe -o test1 -static test1.o 
-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 at dha-server /usr/ports/sysutils/rdiff-backup]# make
===>  Vulnerability check disabled, database not found
===>  Extracting for rdiff-backup-1.0.4,1
=> MD5 Checksum OK for rdiff-backup-1.0.4.tar.gz.
=> SHA256 Checksum OK for rdiff-backup-1.0.4.tar.gz.
===>  Patching for rdiff-backup-1.0.4,1
===>  Applying FreeBSD patches for rdiff-backup-1.0.4,1
===>   rdiff-backup-1.0.4,1 depends on file: /usr/local/bin/python - found
===>   rdiff-backup-1.0.4,1 depends on shared library: rsync.1 - not found
===>    Verifying install for rsync.1 in /usr/ports/net/librsync
===>  Vulnerability check disabled, database not found
===>  Extracting for librsync-0.9.7_1
=> MD5 Checksum OK for librsync-0.9.7.tar.gz.
=> SHA256 Checksum OK for librsync-0.9.7.tar.gz.
===>  Patching for librsync-0.9.7_1
===>  Applying FreeBSD patches for librsync-0.9.7_1
===>   librsync-0.9.7_1 depends on executable in : gmake - found
===>   librsync-0.9.7_1 depends on shared library: popt.0 - not found
===>    Verifying install for popt.0 in /usr/ports/devel/popt
===>  Vulnerability check disabled, database not found
===>  Extracting for popt-1.7_1
=> MD5 Checksum OK for popt-1.7.tar.gz.
=> SHA256 Checksum OK for popt-1.7.tar.gz.
===>  Patching for popt-1.7_1
===>  Applying FreeBSD patches for popt-1.7_1
===>   popt-1.7_1 depends on executable in : xgettext - found
===>   popt-1.7_1 depends on shared library: intl - found
===>  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... yes
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
./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
===>  Building for popt-1.7_1
make  all-recursive
Making all in po
source='popt.c' object='popt.lo' libtool=yes  depfile='.deps/popt.Plo'
tmpdepfile='.deps/popt.TPlo'  depmode=gcc3 /bin/sh ./depcomp  /bin/sh
./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I. 
-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
.deps/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
.deps/popt.TPlo -o popt.o >/dev/null 2>&1
mv -f .libs/popt.lo popt.lo
source='findme.c' object='findme.lo' libtool=yes 
depfile='.deps/findme.Plo' tmpdepfile='.deps/findme.TPlo'  depmode=gcc3
/bin/sh ./depcomp  /bin/sh ./libtool --mode=compile 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
.deps/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
.deps/findme.TPlo -o findme.o >/dev/null 2>&1
mv -f .libs/findme.lo findme.lo
source='poptparse.c' object='poptparse.lo' libtool=yes 
depfile='.deps/poptparse.Plo' tmpdepfile='.deps/poptparse.TPlo' 
depmode=gcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=compile 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
.deps/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
.deps/poptparse.TPlo -o poptparse.o >/dev/null 2>&1
mv -f .libs/poptparse.lo poptparse.lo
source='poptconfig.c' object='poptconfig.lo' libtool=yes 
depfile='.deps/poptconfig.Plo' tmpdepfile='.deps/poptconfig.TPlo' 
depmode=gcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=compile 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
.deps/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
.deps/poptconfig.TPlo -o poptconfig.o >/dev/null 2>&1
mv -f .libs/poptconfig.lo poptconfig.lo
source='popthelp.c' object='popthelp.lo' libtool=yes 
depfile='.deps/popthelp.Plo' tmpdepfile='.deps/popthelp.TPlo' 
depmode=gcc3 /bin/sh ./depcomp  /bin/sh ./libtool --mode=compile 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
.deps/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
.deps/popthelp.TPlo -o popthelp.o >/dev/null 2>&1
mv -f .libs/popthelp.lo popthelp.lo
/bin/sh ./libtool --mode=link cc  -O2 -fno-strict-aliasing -pipe  
-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 
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib 
-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.o
ranlib .libs/libpopt.a
creating libpopt.la
(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
source='test1.c' object='test1.o' libtool=no  depfile='.deps/test1.Po'
tmpdepfile='.deps/test1.TPo'  depmode=gcc3 /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=link cc  -O2 -fno-strict-aliasing -pipe  
-L/usr/local/lib -o test1 -all-static test1.o libpopt.la -liconv
cc -O2 -fno-strict-aliasing -pipe -o test1 -static test1.o 
-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 at dha-server /usr/ports/sysutils/rdiff-backup]#

-- 
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 at ion.lu
http://www.ion.lu


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060928/8f4b5bb0/signature.pgp


More information about the freebsd-ports mailing list