Source: grep
Version: 2.14-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

  Last part of output from "make":

  CCLD     grep
libgrep.a(pcresearch.o): In function `Pcompile':
pcresearch.c:(.text+0x433): undefined reference to `dlopen'
pcresearch.c:(.text+0x449): undefined reference to `dlsym'
pcresearch.c:(.text+0x462): undefined reference to `dlsym'
pcresearch.c:(.text+0x47b): undefined reference to `dlsym'
pcresearch.c:(.text+0x494): undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[2]: *** [grep] Error 1
make[2]: Leaving directory `/tmp/grep-2.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/grep-2.14'
make: *** [all] Error 2

  Patch:

--- 03-397262-dlopen-pcre.patch 2011-07-06 08:05:37.000000000 +0000
+++ 03-397262-dlopen-pcre.patch.new     2012-11-20 21:19:39.000000000 +0000
@@ -12,7 +12,7 @@ Modified by Marco d'Itri <m...@linux.it>
    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    test "$ac_cv_search_pcre_compile" = "none required" ||
 -         LIB_PCRE=$ac_cv_search_pcre_compile
-+       LIB="-ldl $LIBS"
++       LIBS="-ldl $LIBS"
  fi
  
        for ac_func in pcre_compile


-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-45
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages grep depends on:
ii  dpkg                      1.15.8.13      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

-- no debconf information

-- 
Bjarni I. Gislason


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to