GREP problem on wnr3500l after Optware update

5 posts / 0 new
Last post
silvery
silvery's picture
GREP problem on wnr3500l after Optware update

Hi. After lastest Optware update on my WNR3500L with DD-WRT (dd-wrt.v24-14896_NEWD-2_K2.6_big.bin) I have a problem with using GREP command, it gives me an error:

 

grep: can't load library 'libpcre.so.0'

 

Does anyone faced the issues?

silvery
silvery's picture
The following package was

The following package was installed right before this problem appeared:

Package pcre (8.30-1)

Masterman
Masterman's picture
wabe said: Found a simple

wabe said: Found a simple solution. It seems that the upgrade removes libpcre.so.0 and replace it with libpcre.so.1 A working solution is to create a symbolic link in /opt/lib by running the command: ln -s libpcre.so.1 libpcre.so.0 in that directory

Thank you so much! 

silvery
silvery's picture
wabe said: Found a simple

wabe said: Found a simple solution. It seems that the upgrade removes libpcre.so.0 and replace it with libpcre.so.1 A working solution is to create a symbolic link in /opt/lib by running the command: ln -s libpcre.so.1 libpcre.so.0 in that directory

Seems a great solution, many thanks!

I was already thought that I would have to compile the lybrary by myself... maybe next time then)).

I also noticed that external HDD mounts on /opt only and my /mnt partition is clear. Tonight i'm going to figure out if it's hardware problems, but it starts at the same moment with grep problem, so I think you may have some right direction to start with, thanks in advance.

silvery
silvery's picture
Fixed with reboot after ln -s

Fixed with reboot after ln -s libpcre.so.1 libpcre.so.0, so I finally got all back. And again: thanks wabe!