Comment 35 for bug 290666

Revision history for this message
perfectska04 (perfectska04-deactivatedaccount) wrote :

@Nicolás Schubert
Sure, I did as follows:

1. Enter the following in a terminal:
sudo mkdir /usr/src/libfsync
sudo gedit /usr/src/libfsync/libfsync.c

2. Copy the following inside the Gedit window that pops up and save+close afterwards:
#include <stdio.h>
int fsync(int i)
{
   return 0;
}

int fdatasync(int i)
{
   return 0;
}

3. Type the following into a terminal:
cd /usr/src/libfsync
gcc -Wall libfsync.c -o libfsync.so -shared -fPIC -Wl,-soname,libfsync.so
mv /usr/bin/liferea /usr/bin/liferea.real
sudo gedit /usr/bin/liferea

4. Type the following inside the Gedit window that pops up and save+close afterwards:
export LD_PRELOAD=/usr/src/libfsync/libfsync.so

That is all I had to do in order to get Karmic's Liferea to work as it normally should. Everything is mixed together from instructions posted in earlier comments.