After upgrade to gallery2-2.3-7.fc10.noarch gallery became nonoperational: PHP Fatal error: GalleryCoreApi::require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/share/gallery2/modules/core/classes/../../../lib/smarty/Smarty.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class on line 2827 $ ls /usr/share/gallery2/lib/smarty/Smarty.class.php ls: cannot access /usr/share/gallery2/lib/smarty/Smarty.class.php: No such file or directory
Workaround: ln -s ../../php/Smarty /usr/share/gallery2/lib/smarty This is supposed to have been done in pretrans, investigating.
This link is only created if the directory existed if [ -d /usr/share/gallery2/lib/smarty ]; then rm -rf /usr/share/gallery2/lib/smarty ln -s ../../php/Smarty /usr/share/gallery2/lib/smarty fi And by the way, what is the current directory during rpm installation? I don't see any change directory command in the pre section to make relative link to work.
*** This bug has been marked as a duplicate of bug 497098 ***