Re: [Haskell-cafe] HPong-0.1.2 fails to compile in Debian ghc 6.10.1

Ahn, Ki Yung wrote:
I don't know the exact reason but this should not fail since I have Debian packaged ghc 6.10.1 and OpenGL-2.2.1.1 on my system.
I think this is because the filename of the OpenGL shared library is /usr/lib/libGL.so.1 rather than libGL.so. This is why we have two
No. Do not manually create the symlink. It sounds like you don't have the -dev packages for OpenGL installed. You should install them and then you should be OK.

John Goerzen wrote:
Ahn, Ki Yung wrote:
I don't know the exact reason but this should not fail since I have Debian packaged ghc 6.10.1 and OpenGL-2.2.1.1 on my system.
I think this is because the filename of the OpenGL shared library is /usr/lib/libGL.so.1 rather than libGL.so. This is why we have two
No. Do not manually create the symlink. It sounds like you don't have the -dev packages for OpenGL installed. You should install them and then you should be OK.
I do already have the dev package libgl1-mesa-dev installed. Stunning fact is that in "installed file" section I see from Synaptic package manager shows that I should have /usr/lib/libGL.so installed, but in reality I don't. I even just tried re-installing libgl1-mesa-dev debian package but I still don't get /usr/lib/libGL.so !!! It's just seems to the bug of libgl1-mesa-dev 7.4-2 packaging. It doesn't seem to make the symbolic link which it claims to make. Duh ... @ So, for now, I should make the symbolic link myself anyway.

"Ahn, Ki Yung"
I think this is because the filename of the OpenGL shared library is /usr/lib/libGL.so.1 rather than libGL.so.
No. Do not manually create the symlink. It sounds like you don't have the -dev packages for OpenGL installed.
I do already have the dev package libgl1-mesa-dev installed. [...] It's just seems to the bug of libgl1-mesa-dev 7.4-2 packaging. It doesn't seem to make the symbolic link which it claims to make. Duh
The file exists in that package, so it seems to me the problem is on your workstation, rather than in the package. I suggest you just reinstall the package in question. You may also want to use cruft(8) to find out if any other files have gone missing, and run a fsck over your root partition. $ aptitude download -t unstable libgl1-mesa-dev [...] Get:1 http://mirror.internode.on.net unstable/main libgl1-mesa-dev 7.4-2 $ dpkg -x libgl1-mesa-dev_7.4-2_all.deb . $ find -name \*.so -ls 13003 0 lrwxrwxrwx 1 twb twb 10 Apr 24 10:41 ./usr/lib/libGL.so -> libGL.so.1 $
participants (3)
-
Ahn, Ki Yung
-
John Goerzen
-
trentbuckļ¼ gmail.com