media-video/ogmrip-0.9.0-r1 fails with the following message when the as-needed LDFLAG is enabled: /usr/lib/libdvdread.so -ldl ../libogmdvd/.libs/libogmdvd.so ../libogmspawn/.libs/libogmspawn.so ../libogmrip/.libs/libogmrip.so ../libbacon/libbacon.a ../libogmdvd/.libs/libogmdvd.so: undefined reference to `DVDOpen' ../libogmdvd/.libs/libogmdvd.so: undefined reference to `DVDUDFVolumeInfo' ../libogmdvd/.libs/libogmdvd.so: undefined reference to `UDFFindFile' ../libogmdvd/.libs/libogmdvd.so: undefined reference to `ifoClose' ../libogmdvd/.libs/libogmdvd.so: undefined reference to `DVDClose' ../libogmdvd/.libs/libogmdvd.so: undefined reference to `ifoOpen' collect2: ld returned 1 exit status make[2]: *** [ogmrip] Error 1 make[2]: Leaving directory `/var/tmp/portage/ogmrip-0.9.0-r1/work/ogmrip-0.9.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ogmrip-0.9.0-r1/work/ogmrip-0.9.0' make: *** [all] Error 2
Created attachment 91521 [details, diff] as-needed patch for ogmrip I've never used ogmrip before, but I managed to get everything linking by changing the order of some of the libraries and adding libdvdread as a libogmdvd_la_LIBADD in libogmdvd/Makefile.am. I'm pretty sure this should do the trick. This also fixed similar linking errors for hal (and possibly enchant, which I don't use).
Can you please apply this patch ? It works for me and I've applied it in OGMRip's subversion repository since a long time and never add negative feedback. Thanks, Olivier
package.masked, pending removal. Please try newer version(s) of ogmrip, and open new bugs if necessary.