Forum Post
Index > Scribe > Linux newbie: "assert failed" error on run-scribe start

Author/Date Linux newbie: "assert failed" error on run-scribe start
Sam Williams
04/03/2004 3:12pm
I recently tried Scribe on Windows and loved it. Now I've installed Mandrake 9.1 (last night) and one of my first tasks is to set up Scribe on this platform.

The problem: I get the following in a popup when I try to open the run-scribe shell script:

"Assert failed, file: ../_Common/Gdc2/Filters/Png.cpp, line: 64 0"

I click OK, the box disappears, nothing happens. What should I try?

Email is one of the two major apps I need to make Linux feel like home, so I would really appreciate some help. Thanks.
Sam Williams
04/03/2004 3:20pm
PS. I have just run ldd ./scribe. Here is the output:

libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40022000)
liblgi.so => not found
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40072000)
libm.so.6 => /lib/i686/libm.so.6 (0x40124000)
libc.so.6 => /lib/i686/libc.so.6 (0x40147000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4027a000)

Perhaps this will help?
Sam Williams
04/03/2004 3:31pm
PS. When I try to drag liblgi.so to /usr/lib, I get the following:

Access denied
Could not write to /usr/lib/liblgi.so

I realise that I am probably being incredibly stupid/ignorant about the basics of Linux, but throw myself on your mercy. Thanks again.


Sam Williams
04/03/2004 3:48pm
I logged in as root, copied liblgi.so to /usr/lib, logged back in as myself and linked to /usr/lib/liblgi.so from my Scribe program directory. I still have the same error as before. I now have no idea what to do.
Sam Williams
04/03/2004 3:52pm
PS. Oh - the output of ldd ./scribe is now:

libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40022000)
liblgi.so => /usr/lib/liblgi.so (0x40072000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x401c2000)
libm.so.6 => /lib/i686/libm.so.6 (0x40274000)
libc.so.6 => /lib/i686/libc.so.6 (0x40297000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x403ca000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x403dc000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x403e5000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x403ed000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403fb000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x404da000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40501000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40522000)
libdl.so.2 => /lib/libdl.so.2 (0x40570000)
libz.so.1 => /lib/libz.so.1 (0x40573000)
fReT
04/03/2004 4:31pm
This error means that libpng is not available to decompress the graphics. Try:
slocate libpng.so
Sam Williams
04/03/2004 4:53pm
Thanks for the help... Ok, here's what I just did:

[sam@localhost scribe-linux]$ slocate libpng.so
warning: slocate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database .
[sam@localhost scribe-linux]$ su
[root@localhost scribe-linux]# updatedb
[root@localhost scribe-linux]# slocate libpng.so
/usr/lib/libpng.so.3
/usr/lib/libpng.so.3.1.2.5

I'm now getting the same 'assert failed' error.
Sam Williams
04/03/2004 5:06pm
Any more suggestions for me, please?
fReT
04/03/2004 6:39pm
What does this give you:
readelf -s /usr/lib/libpng.so | grep png_create_read_struct


I think there should be a soft link from /usr/lib/libpng.so to /usr/lib/libpng.so.3 ?
Sam Williams
05/03/2004 2:08am
Unfortunately,

[sam@localhost scribe-linux]$ readelf -s /usr/lib/libpng.so | grep png_create_read_struct
bash: readelf: command not found

I'll try to install readelf tonight...
fReT
07/03/2004 6:17am
I think the issue is that Scribe is looking for 'libpng.so' and you don't have anything called that.

I'd try creating a soft link from /usr/lib/libpng.so to /usr/lib/libpng.so.3 with the 'ln' command.
Reply