Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48842 - [opera] i686 fails to load libraries since 36.0.2130.32-2

Attached to Project: Community Packages
Opened by imp (imp) - Saturday, 09 April 2016, 09:47 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 10 April 2016, 15:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Opera fails to start on i686 since 36.0.2130.32-2 with the error below:
/usr/lib/opera/opera: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory

The problem was introduced with the inclusion of this patchelf call in the PKGBUILD on 16/03/2016:
+ # patch rpath in opera-developer binary
+ patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/. \
+ "$pkgdir/usr/lib/$pkgname/$pkgname"

Looking at the source debian packages used to build the arch package, the i386 package does have libraries in ./usr/lib/i386-linux-gnu/opera/lib/, while the x86_64 one does not.

I was able to fix this easily on my i686 system by running patchelf against /usr/lib/opera/opera to include the lib directory in the rpath.
# patchelf --set-rpath \$ORIGIN/lib_extra:\$ORIGIN/lib:\$ORIGIN/. /usr/lib/opera/opera

Conclusion: the rpath should include the lib directory, at least for the i686 package.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Sunday, 10 April 2016, 15:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in opera-36.0.2130.46-2

Loading...