[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave3.4 won't compile with GNU Debian unstable
From: |
Martin Helm |
Subject: |
Re: octave3.4 won't compile with GNU Debian unstable |
Date: |
Wed, 30 Mar 2011 12:13:30 +0200 |
Am Mittwoch, den 30.03.2011, 02:51 -0700 schrieb Eric Chassande-Mottin:
> hi,
>
> I'm getting the following error when compiling the octave3.4 source
> (corresponding compilation/linking line included below). I don't
> understand the meaning of the error message. does anyone have
> a clue of what is the problem?
>
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libGL.a(u_current.o):
> relocation R_X86_64_32 against `_gl_DispatchTSD' can not be used when making
> a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libGL.a: could not read
> symbols: Bad value
>
> ls -l /usr/lib/libGL.a
> -rw-r--r-- 1 root root 5660564 Feb 16 13:05 /usr/lib/libGL.a
>
> thanks,
> eric
>
You need the shared libGL library to link against. Do you have one of
that packages installed?
libgl1-mesa-dev, libgl1-mesa-swx11-dev
they both contain libGL.so
You probably need to call ldconfig after installation of the package.