Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-15-2013, 11:37 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Rep: 
|
undefined reference to `_glapi_tls_Dispatch' How can I solve this error??
/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libGL.so: undefined reference to `_glapi_tls_Dispatch'
collect2: error: ld returned 1 exit status
make[4]: *** [cairo-test-suite] Error 1
During installing cairo
make && make install command error occured
who have any idea for this???
|
|
|
|
04-16-2013, 12:05 AM
|
#2
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Hi what distro are you using? Have you installed a 3rd party driver that could have replaced the default libGL.so?
What does readlink -f "/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libGL.so" say?
|
|
|
|
04-16-2013, 12:13 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by konsolebox
Hi what distro are you using? Have you installed a 3rd party driver that could have replaced the default libGL.so?
What does readlink -f "/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libGL.so" say?
|
Using ubuntu. I typed readlink -f "/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libGL.so".
then /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 appeared
something wrong??
|
|
|
|
04-16-2013, 01:08 AM
|
#4
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Try to check if /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 is valid. Do ldd /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0, then you'll see a list of other libraries that it refers to. One of them must be libglapi.so.*. Check if it's valid as well by calling ldd on it e.g. ldd /usr/lib64/libglapi.so.0.
|
|
|
|
04-16-2013, 01:14 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by konsolebox
Try to check if /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 is valid. Do ldd /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0, then you'll see a list of other libraries that it refers to. One of them must be libglapi.so.*. Check if it's valid as well by calling ldd on it e.g. ldd /usr/lib64/libglapi.so.0.
|
I got
linux-gate.so.1 => (0xb774b000)
libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xb76c0000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb76ae000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb76a9000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb76a2000)
libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xb769f000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7569000)
libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xb7551000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb752e000)
libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb7528000)
libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xb751b000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7500000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb74fb000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7350000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb734c000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb7345000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb733c000)
/lib/ld-linux.so.2 (0xb774c000)
after ldd /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0 command
and then what am I supposed to do? I'm newbie......
|
|
|
|
04-16-2013, 01:19 AM
|
#6
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
What about ldd /usr/lib/i386-linux-gnu/libglapi.so.0? And try grep _glapi_tls_Dispatch /usr/lib/i386-linux-gnu/libglapi.so.0 if it shows an output after ldd instead of saying that no such file exists. You should expect something like "Binary file /usr/lib/i386-linux-gnu/libglapi.so.0 matches".
|
|
|
|
04-16-2013, 01:24 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by konsolebox
What about ldd /usr/lib/i386-linux-gnu/libglapi.so.0? And try grep _glapi_tls_Dispatch /usr/lib/i386-linux-gnu/libglapi.so.0 if it shows an output after ldd instead of saying that no such file exists. You should expect something like "Binary file /usr/lib/i386-linux-gnu/libglapi.so.0 matches".
|
I got this
grep _glapi_tls_Dispatch /usr/lib/i386-linux-gnu/libglapi.so.0
Binary file /usr/lib/i386-linux-gnu/libglapi.so.0 matches
It seems matching is correct. I don't know next step.
|
|
|
|
04-16-2013, 02:07 AM
|
#8
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
It's really odd. Do you really have to compile cairo? Isn't there a binary package for that?
|
|
|
|
04-16-2013, 02:14 AM
|
#9
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by konsolebox
It's really odd. Do you really have to compile cairo? Isn't there a binary package for that?
|
Following webpage below
http://wayland.freedesktop.org/building.html
$ git clone git://anongit.freedesktop.org/cairo
$ cd cairo
$ ./autogen.sh --prefix=$WLD --enable-gl --enable-xcb
$ make && make install <--- error
Last edited by kjg0508; 04-16-2013 at 02:47 AM.
|
|
|
|
04-16-2013, 02:32 AM
|
#10
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
But with that you'll be building and installing experimental software. But if you really want to, you could start by compiling mesa I guess. Did you build it already?
Edit: Wayland libraries first I guess.
|
|
|
|
04-16-2013, 02:52 AM
|
#11
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by konsolebox
But with that you'll be building and installing experimental software. But if you really want to, you could start by compiling mesa I guess. Did you build it already?
Edit: Wayland libraries first I guess.
|
following webpage top to bottom. when occurrred error, I installed every package that I can install like
sudo apt-get install autoconf libtool libffi-dev expat libexpat1 libexpat1-dev doxygen libpthread-stubs0 libpthread-stubs0-dev libpciaccess-dev libpciaccess0 bison, flex, glproto, libdrm, dri2proto, x11, xext, xdamage, xfixes, x11-xcb, xcb-glx, xcb-dri2 bison libbison-dev flex x11proto-gl-dev x11proto-dri2-dev libx11-dev libxext-dev libxext6 libxdamage-dev libxdamage1 libxcb-xfixes0 libxcb-xfixes0-dev libxfixes-dev libxfixes3 libx11-xcb-dev libx11-xcb1 libxcb-glx0 libxcb-glx0-dev libxcb-dri2-0 libxcb-dri2-0-dev libudev-dev libudev0 llvm-dev xutils-dev compiz, compiz-core, compiz-dev
these package can occurred error?
|
|
|
|
04-16-2013, 03:07 AM
|
#12
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Quote:
Originally Posted by kjg0508
following webpage top to bottom. when occurrred error, I installed every package that I can install like
sudo apt-get install autoconf libtool libffi-dev expat libexpat1 libexpat1-dev doxygen libpthread-stubs0 libpthread-stubs0-dev libpciaccess-dev libpciaccess0 bison, flex, glproto, libdrm, dri2proto, x11, xext, xdamage, xfixes, x11-xcb, xcb-glx, xcb-dri2 bison libbison-dev flex x11proto-gl-dev x11proto-dri2-dev libx11-dev libxext-dev libxext6 libxdamage-dev libxdamage1 libxcb-xfixes0 libxcb-xfixes0-dev libxfixes-dev libxfixes3 libx11-xcb-dev libx11-xcb1 libxcb-glx0 libxcb-glx0-dev libxcb-dri2-0 libxcb-dri2-0-dev libudev-dev libudev0 llvm-dev xutils-dev compiz, compiz-core, compiz-dev
these package can occurred error?
|
Was there something for cairo? But I think you do need to build and install some of them manually. Did you manually build Wayland and Mesa already?
|
|
|
|
04-16-2013, 03:47 AM
|
#13
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
during build manually occurred some error. need package like error: must install xorg-macros 1.16 or later before running autoconf/autogen
so using apt-cache search FILENAME , installed many package among list
|
|
|
|
04-16-2013, 04:54 AM
|
#14
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Quote:
Originally Posted by kjg0508
during build manually occurred some error. need package like error: must install xorg-macros 1.16 or later before running autoconf/autogen
|
You should install xorg-macros/util-macros then http://cgit.freedesktop.org/xorg/util/macros.
|
|
|
|
04-17-2013, 02:22 AM
|
#15
|
|
LQ Newbie
Registered: Apr 2013
Posts: 21
Original Poster
Rep: 
|
reinstall ubuntu OS fix this problem
thanks to all !!!
|
|
|
|
All times are GMT -5. The time now is 05:57 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|