prelinking problems

Ed Cogburn edcogburn at hotpop.com
Sun May 22 10:45:17 UTC 2005


Sara Vasquez wrote:

> I am trying to prelingk, but when I do it I get the following erro message
> Prelinking /usr/bin/kspace.kss
> /usr/sbin/prelink.bin: /usr/bin/kspace.kss: Cannot prelink against
> non-PIC shared library /usr/lib/libGL.so.1


Your prelink *is* working, *except* for apps that link with libGL.so.  The
"problem" isn't with prelink, its with the library (libGL in this case)
that wasn't built in a way that makes prelinking possible (PIC = Position
Independent Code, and "prelinking" can only be done against libraries with
relocatable, i.e. position independent, code).

This problem will likely get solved by future versions of libGL.  I'm using
the NVIDIA OpenGL libs and they are in PIC format, so just give it some
time, and those (Xorg?) OpenGL libs you're using will get "fixed"
eventually.






More information about the kubuntu-users mailing list