/bin/grep relies on /usr/lib/libpcre
Bug #7299 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grep (Debian) |
Fix Released
|
Unknown
|
|||
grep (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #237071 http://
Changed in grep: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
M68k is affected as well, PPC is OK.
grep should be built without libpcre support, cfr. below.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- <email address hidden>
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
---------- Forwarded message ----------
Date: Sun, 11 Apr 2004 12:25:06 +0200
From: Wouter Verhelst <email address hidden>
To: Geert Uytterhoeven <email address hidden>
Cc: Debian GNU/Linux m68k <email address hidden>
Subject: Re: grep and libpcre3
On Sun, Apr 11, 2004 at 11:23:47AM +0200, Geert Uytterhoeven wrote: libpcre. so.3, which may not be available libpcre. so.3 (0xc0018000)
> On m68k, /bin/grep needs /usr/lib/
> early in the boot process, causing many error messages during boot up (/usr is
> a separate partition on my box):
>
> | cassandra:~# type -all grep
> | grep is /bin/grep
> | cassandra:~# ldd /bin/grep
> | libpcre.so.3 => /usr/lib/
> | libc.so.6 => /lib/libc.so.6 (0xc0026000)
> | /lib/ld.so.1 => /lib/ld.so.1 (0xc0000000)
Eww, that's bad.
> | cassandra:~# dpkg -s grep
> | Package: grep
> | Essential: yes
> | Status: install ok installed
> | Priority: required
> | Section: base
> | Installed-Size: 628
> | Maintainer: Ryan M. Golbeck <email address hidden>
> | Architecture: m68k
> | Version: 2.5.1.ds1-2
[...]
> However, on PPC I have the exact same package version, and grep doesn't depend
> on libpcre3 there:
Which is as it should be. This probably means the grep build was done
while libpcre3-dev (or something) was installed on the host system, and
that autoconf detected and used it. Shouldn't happen.
> | geert@callisto:~$ ldd /bin/grep
> | libc.so.6 => /lib/libc.so.6 (0x0fea2000)
> | /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
> | geert@callisto:~$ dpkg -s grep
> | Package: grep
> | Essential: yes
> | Status: install ok installed
> | Priority: required
> | Section: base
> | Installed-Size: 644
> | Maintainer: Ryan M. Golbeck <email address hidden>
> | Version: 2.5.1.ds1-2
[...]
>
> Is there any (good) reason for this?
The maintainer did not explicitely disable the libpcre code. No, that's
not a good reason.
> Shall I just file a bug on the m68k package (programs in /bin must not
> rely on libraries outside /lib)?
Yes, please do.
> Apart from that, everything seems to be fine. My poor Amiga has been working
> hard to upgrade to testing during the last 2 weeks (it takes some manual
> playing with apt-get install if you don't want to let dist-upgrade remove some
> important packages), and it's almost there ;-) And all done while running
> 2.6.5-rc2, so I think 2.6 is getting stable.
That's great! Thanks for your work! :-)
--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune