You are not logged in.
Pages: 1
Hi i'm using archlinux 32bit and trying to compile functy.
the compilation require first to compile symbolics and install it, and it work, but when is the functy turn I have this make error:
/usr/bin/ld: impossibile trovare -lglee
(that says that he can't find -lglee)
but I have the "glee" package installed
PS: I would like to know also why "pkg-config --libs glee" give this results:
Package glee was not found in the pkg-config search path.
Perhaps you should add the directory containing `glee.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glee' found
Offline
Offline
from source downloaded from the official website.
I didn't use AUR because:
1) the package is orphan
2) it doesn't compile anyway
Offline
It looks like the glee package does not have a .pc file included.
Pass the object file manually.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
1) it's a BUG?
2) how can I do it?
Offline
Where is "glee" installed? i.e. where is libglee.so on your system?
Offline
in /usr/lib/libGLee.so
Last edited by fabioamd87 (2013-01-16 16:57:09)
Offline
Well, there's your problem. The build process is trying to link to libglee when it should be linking to libGLee.
Offline
I'm in contact with the developer (a very kind person), we've tried to add:
AC_SEARCH_LIBS([GLeeEnabled], [glee GLee], [], [])
in the functy/src/configure.ac
the zipball have been updated on sourceforge, but unfortunately another error occur:
/usr/bin/ld: ___functy-vis.o: undefined reference to symbol 'glLightfv'
/usr/bin/ld: note: 'glLightfv' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [../functy] Errore 1
make[2]: Leaving directory `/home/fabio/Scaricati/functy-0.22/src'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/home/fabio/Scaricati/functy-0.22'
make: *** [all] Errore 2
can someone have a solution in order to modify the sources in order to make it compile on Debian based distro and ArchLinux too?
Thanks
Offline
The error message says to add libGL to the linker line. Did you do that?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't know how to do it, and btw I've modified my question, I'm no more interested in compiling functy on archlinux but how to make it cross distro compilable:
http://packages.ubuntu.com/quantal/i386 … v/filelist
https://www.archlinux.org/packages/community/i686/glee/
as you can see ubuntu is not case sensitive but archlinux is, how to modify the makefile or something else?
Offline
You don't know how to do something simple that is documented in the man page, so instead you want to do something complicated that has no obvious documentation?
The linker is case sensitive - this is not different in ubuntu and arch. But for some reason the case of the object files differs in Ubuntu and arch for glee.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
is possible to make the program compile in ubuntu and in archlinux in the same way?
is this BUG related?
Offline
make -l usr/lib/libGLee.so?
Offline
Pages: 1