Alfresco 3.4 flash preview fix

Just a quick fix to WebPreview issue by Alfresco 3.4.c Community edition on Linux…

Missing flash preview of contents occured by an invalid symbolic link in “/opt/alfresco-3.4.c/common/lib/” folder. You can test it with manual start of “pdf2swf” command:

root@ubuntu:/opt/alfresco-3.4.c/common/bin# ./pdf2swf
/opt/alfresco-3.4.c/common/bin/.pdf2swf.bin: error while loading shared libraries: /opt/alfresco-3.4.c/common/lib/libstdc++.so.5: file too short

The fix is really simple, create a new symlink:

root@ubuntu:/opt/alfresco-3.4.c/common/lib# mv libstdc++.so.5 libstdc++.so.5.bad

root@ubuntu:/opt/alfresco-3.4.c/common/lib# ln -s libstdc++.so.5.0.3 libstdc++.so.5

root@ubuntu:/opt/alfresco-3.4.c/common/bin# ./pdf2swf
Usage: /opt/alfresco-3.4.c/common/bin/.pdf2swf.bin [-options] file.pdf -o file.swf
...

Alfresco WebPreview fix

Update: installer bug already exists on 3.4d release…

2 thoughts on “Alfresco 3.4 flash preview fix”

  1. Very usefull and well explained!!!

    Thanks very much.

    Any idea on how to fix the bug of the 3.4d on not changing the default theme???

Leave a Reply

Your email address will not be published. Required fields are marked *