Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149615 - media-tv/mythtv requires libXcursor
Summary: media-tv/mythtv requires libXcursor
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 06:36 UTC by Colin Morey (RETIRED)
Modified: 2006-10-01 00:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Morey (RETIRED) gentoo-dev 2006-09-30 06:36:46 UTC
As Summary,
emerge -C xorg-x11 and try and build,.. `emerge mythtv` fails with 

/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libXcursor.so.1, needed by /usr/qt/3/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/qt/3/lib/libqt-mt.so: undefined reference to `XcursorLibraryLoadCursor'

x11-libs/libXcursor appears to solve this issue.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 06:43:26 UTC
Uhm, it's QT3 that links to it, and it already depends on libXcursor. You more like need to run emerge -uD world to bring in the dependencies you've unmerged by mistake.
Comment 2 Colin Morey (RETIRED) gentoo-dev 2006-09-30 09:31:38 UTC
so it's o.k. to say emerge -Du world when upgrading from <=x11-xorg-6.9 to > x11-xorg-6.9?  and mythtv required the latter.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 12:05:32 UTC
I guess this one will be useful:

http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2006-09-30 16:24:27 UTC
$ equery f mythtv | grep /bin/ | xargs readelf -d | grep Shared | sort -n | uniq
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libmyth-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmythavcodec-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmythavformat-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmythavutil-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmythtv-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libmythui-0.20.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libqt-mt.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]


As you can see, MythTV does not depend on libXcursor.

$ emerge -pv libXcursor

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/libXcursor-1.1.7  USE="-debug" 218 kB 

As you can see I have libXcursor installed and it didn't link directly to it.

But x11-libs/qt-3* links directly to it, so that's where your dependancy is missing.

$ readelf -d /usr/qt/3/lib/libqt-mt.so.3.3.6 | grep Shared
 0x00000001 (NEEDED)                     Shared library: [libmng.so.1]
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libpng12.so.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXi.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXrender.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXrandr.so.2]
 0x00000001 (NEEDED)                     Shared library: [libXcursor.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXft.so.2]
 0x00000001 (NEEDED)                     Shared library: [libfreetype.so.6]
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-01 00:54:27 UTC
As said above, not mythtv bug (plus qt already depends on libXcursor). Closing.