[Pardus-kullanicilari] OPENGL: ld.so.conf ekledigim library'i gormezden geliyor...
Emre Erenoglu
erenoglu at gmail.com
14 Mayıs 2007 Pzt 23:16:40 EEST
Onur Hocam tekrar merhaba,
Simdi VMGL 'i yazan developer'dan mail geldi, segfault'in sebebini asagidaki
gibi anlatiyor:
Emre Erenoglu wrote:
> Hi Andres,
>
> I've removed the ld.so.conf references to opengl libraries from x11,
> then resymlinked the ones in /usr/bin to your libvmgl.so in
> /usr/local/lib/vmgl
I guess you symlinked the ones in /usr/lib to vmgl. VMGL segfaults
because it tries to find the default libGL, finds instead itself, which
tries to find the default libGL, but finds instead itself....
That is why it is not a good idea to mangle the /usr/lib symlinks. They
have to point to the default libray, and the ones in /usr/local/lib/vmgl
have to point to the vmgl library, and ldconfig has to do the right
thing: not change any symlinks and give precedence to vmgl.
Now, if you cannot get ldconfig to do the right thing, one possible way
out of this is to have the env var CR_SYSTEM_GL_PATH point to a
directory where libGL.so is (or at least is yet another symlink that
points to) the default opengl library from x11.
Andres
Bu durumda, /usr/lib altindakileri tekrar normal OpenGL link'ine
ceviriyorum. Ancak, bu sekilde iken, Ubuntu'nun tersine, pardus neden
Andres'in de dedigi gibi libvmgl'e oncelik vermiyor?
Emre
On 5/14/07, Onur Küçük <onur at pardus.org.tr> wrote:
>
>
> On Mon, 14 May 2007 21:38:37 +0200
> "Emre Erenoglu" <erenoglu at gmail.com> wrote:
>
> > Simdi tum library'ler OK, linkleri tamam, programi calistirinca
> > (glxinfo) glstub environment variable'i ariyor (olmasi gerektigi
> > gibi), ancak variable'i verince cakiliyor.
> >
> > Segfault aliyorum. Burada tikandim sayilir...
>
> tabi ilk denenecek şey LIBGL_DEBUG=verbose la çalıştırığ nerede
> patladığını bulmak.
>
> --
> Onur Küçük Knowledge speaks,
> <onur.--.-.pardus.org.tr> but wisdom listens
>
> _______________________________________________
> Pardus-kullanicilari e-posta listesi
> Listeden çıkmak için
> http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilari adresini
> kullanın.
> Listeye iletmek istediğiniz soruları Pardus-kullanicilari at pardus.org.tre-posta adresine gönderin.
> Liste mesajlarında arama yapmak için http://liste.pardus.org.tr/arama web
> sayfasına gidin.
>
--
Emre Erenoglu
erenoglu at gmail.com
emre.erenoglu at erenoglu.com
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.uludag.org.tr/pipermail/pardus-kullanicilari/attachments/20070514/8887423d/attachment.htm
Pardus-kullanicilari mesaj listesiyle ilgili
daha fazla bilgi