[oi-dev] pkgdepend can not find existing file
Jim Klimov
jimklimov at cos.ru
Wed Mar 23 21:08:04 UTC 2016
23 марта 2016 г. 20:33:02 CET, "Till Wegmüller" <toasterson at gmail.com> пишет:
>Hi
>
>While Packaging mate-screensaver i stumbled upon a funny error message
>
>pkgdepend says:
>
>>/root/workspace/oi-userland/components/mate/mate-screensaver/build/manifest-i386-mate-screensaver.depend
>has unresolved dependency '
> > depend type=require fmri=__TBD pkg.debug.depend.file=libGL.so.1 \
> > pkg.debug.depend.reason=usr/libexec/mate-screensaver-gl-helper \
> > pkg.debug.depend.type=elf \
> > pkg.debug.depend.path=lib \
> > pkg.debug.depend.path=usr/lib'.
>
>So as far as i understand it it cannot find libGL.so.1
>Funny is that, this file exists in /usr/lib
>
>>root at openindiana:/root/workspace/oi-userland/components/mate/mate-screensaver#
>ls -al /usr/lib | grep libGL
>>lrwxrwxrwx 1 root root 10 Mar 10 20:20 libGL.so -> libGL.so.1
> >lrwxrwxrwx 1 root root 13 Mar 10 20:20 libGL.so.1 ->
>GL/libGL.so.1
> ><snip>
>
>Using ldd on mate-screensaver-gl-helper also finds libGL.so.1
>>root at openindiana:/root/workspace/oi-userland/components/mate/mate-screensaver#
>ldd build/prototype/i386/usr/libexec/mate-screensaver-gl-helper | grep
>libGL
> > libGL.so.1 => /usr/lib/libGL.so.1
>
>libGL.so.1 is 32-bit mate-screensaver aswell.
>
>Does pkgdepend want that libGL.so.1 is a file and not a link to
>/usr/lib/mesa/libGL.so.1 ?
>
>Side note usr/lib/libGL is linked to usr/lib/GL/libGL which is linked
>to
>var/run/opengl/lib/libGL which finaly links to usr/lib/mesa/libGL.
>Why do those links not directly link to usr/lib/mesa/libGL?
>Can that trigger a max follow links limit in pkgdepend?
>
>Thanks and Greetings
>Till Wegmueller
>
>
>
>
>_______________________________________________
>oi-dev mailing list
>oi-dev at openindiana.org
>http://openindiana.org/mailman/listinfo/oi-dev
Note also that there is an ogl-select service that setups the symlink under /var/run - theoretically according to your physical or virtual hardware. And that VirtualBox installer can add to the mess :(
--
Typos courtesy of K-9 Mail on my Samsung Android
More information about the oi-dev
mailing list