View Single Post
Old 05-26-09, 12:50 AM   #3
Adam Warner
Registered User
 
Join Date: Apr 2009
Posts: 5
Thumbs up Re:Cannot overcommit memory when linking to Proprietary Nvidia OpenGL library [FIXED]

Resolved by 185.18.10:

Quote:
$ gcc -lGL mmap.c && ldd ./a.out && time ./a.out
linux-vdso.so.1 => (0x00007fffbe3fe000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f2db6126000)
libc.so.6 => /lib/libc.so.6 (0x00007f2db5dad000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007f2db4a8d000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007f2db498b000)
libm.so.6 => /lib/libm.so.6 (0x00007f2db4708000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f2db44f7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f2db41bc000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f2db3fb8000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2db6100000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f2db3db6000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f2db3b9a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f2db3995000)

real 0m0.006s
user 0m0.004s
sys 0m0.004s
Many thanks,
Adam
Adam Warner is offline   Reply With Quote