Discussion:
Possible bug in soya in newer linux systems
deavid
2011-05-23 15:16:15 UTC
Permalink
Hi,

Yesterday i tred to run my soya's app in the latest release of ubuntu,
and i got fatal errors about opengl symbols not found in soya's
library (.so file)

After taking a look, it seems that GL and GLU were not present in the
linker pass. I manually executed gcc adding -lGL -lGLU and it worked.

I've no idea why now is an error and not before, and no idea from
where were we getting the opengl parts before (maybe GLEW?).

Anyway, if any of you can take a look onto this... seems that no one
on Ubuntu noticed yet (no bug reports on soya's package, but it's
impossible to run anything with soya.)

I created a patch. But someone should take a look on this, and make
sure if the link is needed or not. I don't have Ubuntu on my computers
and i don't know if i could reproduce the bug again.
Ilya Osadchiy
2011-05-24 18:19:43 UTC
Permalink
I confirm on Gentoo linux. There is a similar patch applied by build system
to make it work.
Jiba
2011-05-25 22:56:20 UTC
Permalink
On Tue, 24 May 2011 21:19:43 +0300
Post by Ilya Osadchiy
I confirm on Gentoo linux. There is a similar patch applied by build system
to make it work.
Post by deavid
I created a patch. But someone should take a look on this, and make
sure if the link is needed or not. I don't have Ubuntu on my computers
and i don't know if i could reproduce the bug again.
Hi,

I'll look at your patch when I get a new computer ; mine is currently dead :-(

Jiba
deavid
2011-05-26 06:22:59 UTC
Permalink
jtaylor, in #debian-python channel from oftc.net, asked me to patch
soya in debian. I forwarded to him the same patch.

He also has forwarded to soya the bug:
http://gna.org/bugs/index.php?18131

I added GLU and GL to the soya's libraries, but seems that only GLU is
necessary.

Also, the same bug in ubuntu:
https://bugs.launchpad.net/ubuntu/+source/soya/+bug/780305
Post by Jiba
On Tue, 24 May 2011 21:19:43 +0300
Post by Ilya Osadchiy
I confirm on Gentoo linux. There is a similar patch applied by build system
to make it work.
Post by deavid
I created a patch. But someone should take a look on this, and make
sure if the link is needed or not. I don't have Ubuntu on my computers
and i don't know if i could reproduce the bug again.
Hi,
I'll look at your patch when I get a new computer ; mine is currently dead :-(
Jiba
_______________________________________________
Soya-user mailing list
https://mail.gna.org/listinfo/soya-user
Pierre-Yves David
2011-05-28 14:32:53 UTC
Permalink
I applied the ubuntu patches (adding GLU to lib) and pushed it in the repo. Jiba can you make a 0.15.0 release ?


--
Pierre-Yves

Loading...