You are not logged in.

#1 2014-08-23 19:09:28

nicoo
Member
Registered: 2014-08-23
Posts: 7

[SOLVED] libglew versioning problem (1.10 & 1.11)

hi,
today I've updated my archlinux. Then I've compiled  (after having deleted everything from the older compiling) a program I'm working on, but when I run it I got this error :

./a.out: error while loading shared libraries: libGLEW.so.1.10: cannot open shared object file: No such file or directory

so I did ldd a.out | grep "GLEW" and got :

libGLEW.so.1.11 => /usr/lib/libGLEW.so.1.11 (0xb7380000)
libGLEW.so.1.10 => not found

locate libGLEW returns :

/usr/lib/libGLEW.so
/usr/lib/libGLEW.so.1.11
/usr/lib/libGLEW.so.1.11.0
/usr/lib/libGLEWmx.so
/usr/lib/libGLEWmx.so.1.11
/usr/lib/libGLEWmx.so.1.11.0

I don't understand why and how my project can link 1.11 and 1.10 at the same time, I check my CMakeLists.txt nothing specify to use 1.10 or 1.11, so from where can come from my problem ? If you need more information I can add some, but right now, I don't know what kind of informations can be usefull to fix this issue. I guess the problem appeared after an update of my OS (archlinux).

Last edited by nicoo (2014-09-01 01:07:38)


@ Blake Judd : stop heroin, I need Nachtmystium!

Offline

#2 2014-08-23 21:47:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] libglew versioning problem (1.10 & 1.11)

Use "readelf -d ./a.out" and you will see it only links one.  It is probably something in the dependency chain linking to the other.

Offline

#3 2014-08-23 21:51:49

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: [SOLVED] libglew versioning problem (1.10 & 1.11)

Looks similar to this thread


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#4 2014-08-24 02:09:37

nicoo
Member
Registered: 2014-08-23
Posts: 7

Re: [SOLVED] libglew versioning problem (1.10 & 1.11)

@Allan I think you have the point, I check with ldd some libs linked to my project, actualy I saw that CEGUI is using the 1.10 of libglew. iirc the version of cegui installed on my system was compiled by me some months ago...

I shall compil cegui, check the other libs and then compil my project.

Last edited by nicoo (2014-08-24 02:14:50)


@ Blake Judd : stop heroin, I need Nachtmystium!

Offline

#5 2014-09-01 01:07:18

nicoo
Member
Registered: 2014-08-23
Posts: 7

Re: [SOLVED] libglew versioning problem (1.10 & 1.11)

ok, everything is working now, it was a problem with my own compiled cegui...

thx for your help


@ Blake Judd : stop heroin, I need Nachtmystium!

Offline

Board footer

Powered by FluxBB