[Bug 537255] New: OOo-ure-3.1 triggerin script creates broken symlink in root directory if no libstlport_gcc.so.4* is present in /usr/lib
http://bugzilla.novell.com/show_bug.cgi?id=537255 Summary: OOo-ure-3.1 triggerin script creates broken symlink in root directory if no libstlport_gcc.so.4* is present in /usr/lib Classification: openSUSE Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: openSUSE 10.3 Status: NEW Severity: Minor Priority: P5 - None Component: OpenOffice.org AssignedTo: kyu@novell.com ReportedBy: s_dibbern@web.de QAContact: qa@suse.de Found By: --- User-Agent: Opera/9.80 (X11; Linux i686; U; nds) Presto/2.2.15 Version/10.00 While installing OOo-ure the following error messages get issued:
ls: cannot access /usr/lib/libstlport_gcc.so.4*: No such file or directory basename: missing operand Try `basename --help' for more information.
Upon installation the triggerin scriptlet runs /usr/lib/ooo3/ure/bin/create-libstlport-compat-links. This script creates a broken symlink in / to /usr/lib/libstlport_gcc.so if there's no libstlport_gcc in the system at all. Reproducible: Always Steps to Reproduce: 1.remove /usr/lib/libstlport_gcc.* 2.install OOo-ure-3.1 3. Actual Results: As described Expected Results: No broken symlinks in / ;-) Check for empty $lib_name. Following line 4 and inserted new line 5 in /usr/lib/ooo3/ure/bin/create-libstlport-compat-links should do the trick: lib_name=`ls /usr/lib/libstlport_gcc.so.4* 2>/dev/null | tail -n 1` test -z "$lib_name" && exit Set to Minor, because this is apparently related to some facultative extension and OOo seems to run normally. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=537255
User kyu@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537255#c1
Ken Yu
http://bugzilla.novell.com/show_bug.cgi?id=537255
User pmladek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=537255#c3
Petr Mladek
http://bugzilla.novell.com/show_bug.cgi?id=537255
http://bugzilla.novell.com/show_bug.cgi?id=537255#c4
Petr Mladek
http://bugzilla.novell.com/show_bug.cgi?id=537255
http://bugzilla.novell.com/show_bug.cgi?id=537255#c5
Petr Mladek
participants (1)
-
bugzilla_noreply@novell.com