WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wget and pcre  (Read 4606 times)

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
wget and pcre
« on: March 28, 2013, 01:11:31 AM »
Wget seems to have been built against a different version of libpcre than what is in the repo for the Pi?
Quote
tc@box:~/PROJECTS$ ldd  /usr/local/bin/wget
   libgnutls.so.28 => /usr/local/lib/libgnutls.so.28 (0x40111000)
   libnettle.so.4 => /usr/local/lib/libnettle.so.4 (0x401e2000)
   libhogweed.so.2 => /usr/local/lib/libhogweed.so.2 (0x400cd000)
   libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x40213000)
   librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x40262000)
   libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0x400a5000)
   libp11-kit.so.0 => /usr/local/lib/libp11-kit.so.0 (0x4004a000)
   libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x400e8000)
   libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x40271000)
   libgcrypt.so.11 => /usr/local/lib/libgcrypt.so.11 (0x40290000)
   libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 (0x400f3000)
   libpcre.so.1 => not found
   libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x400fe000)
   libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x40302000)
   libtasn1.so.6 => /usr/local/lib/libtasn1.so.6 (0x4002b000)
   /lib/ld-linux.so.3 => /lib/ld-linux.so.2 (0x4007e000)

Code: [Select]
tc@box:~/PROJECTS$ cat pcre.tcz.list
usr/local/share/doc/License/pcre/LICENCE
usr/local/bin/pcretest
usr/local/bin/pcregrep
usr/local/bin/pcre-config
usr/local/lib/libpcre.so.0.0.1
usr/local/lib/libpcreposix.so.0.0.0
usr/local/lib/libpcrecpp.so.0.0.0
usr/local/lib/libpcrecpp.so
usr/local/lib/libpcrecpp.so.0
usr/local/lib/libpcreposix.so
usr/local/lib/libpcreposix.so.0
usr/local/lib/libpcre.so
usr/local/lib/libpcre.so.0

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: wget and pcre
« Reply #1 on: March 28, 2013, 02:29:41 AM »
Confirmed, thanks for reporting. Temporary fix:

Code: [Select]
cd /usr/local/lib
sudo ln -s libpcre.so.0 libpcre.so.1
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."