pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52005: e2fsprogs-1.43.1 - libiconv and libpopt - undefined reference to optreset and libintl_gettext



>Number:         52005
>Category:       pkg
>Synopsis:       e2fsprogs-1.43.1 - libiconv and libpopt - undefined reference to optreset and libintl_gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 25 08:45:00 +0000 2017
>Originator:     Poor Yorick
>Release:        2016Q4
>Organization:
>Environment:
Linux xxx 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
>Description:
building e2fsprogs-1.43.1, with libiconv and libgetopt alread installed in a
pkgsrc collection in an alternate prefix:


    gcc ...   -o debugfs debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o lsdel.o dump.o set_fields.o logdump.o htree.o unused.o e2freefrag.o filefrag.o extent_cmds.o extent_inode.o zap.o create_inode.o quota.o xattrs.o journal.o revoke.o recovery.o do_journal.o /opt/grid.pfizer.com/pkpd/dev/i64f6m46s6l2632c220i_002/lib/libintl.so /lib64/libc.so ...  -Wl,-rpath -Wl,/lib64 ../lib/libsupport.a ../lib/libext2fs.a ../lib/libe2p.a ../lib/libss.a  -ldl ../lib/libcom_err.a  -lpthread ../lib/libblkid.a  ../lib/libuuid.a  ../lib/libuuid.a  -ldl 

        util.o: In function `reset_getopt':
        util.c:(.text+0x14): undefined reference to `optreset'
        ../lib/libsupport.a(plausible.o): In function `print_ext2_info':
        plausible.c:(.text+0x1d2): undefined reference to `libintl_gettext'
        plausible.c:(.text+0x20c): undefined reference to `libintl_gettext'
        plausible.c:(.text+0x25a): undefined reference to `libintl_gettext'
        plausible.c:(.text+0x29f): undefined reference to `libintl_gettext'
        ../lib/libsupport.a(plausible.o): In function `check_plausibility':
        plausible.c:(.text+0x367): undefined reference to `libintl_gettext'
        ../lib/libsupport.a(plausible.o):plausible.c:(.text+0x3f3): more undefined refer



>How-To-Repeat:

>Fix:
Adding the following to the $LIBS environment variable resulted in a successful build:

    -lgetopt -lintl


Home | Main Index | Thread Index | Old Index