[vtkusers] Undefined reference to Mesa

Hassan Amin hassan.amin at nu.edu.pk
Fri Apr 9 08:19:35 EDT 2010


I have now been able to make mesa 7.6.1 using  :
cd Mesa-7.6.1/
make linux-x86-64"

Earlier, the problem was that I did not have imake on my system.

However, when compiling my application, I am getting following conflict :

Cannot generate a safe runtime search path for target
   Im2ModWarpLmkRandomInt because files in some directories may conflict with
   libraries in implicit directories:

     runtime library [libGLU.so.1] in /usr/lib may be hidden by files in:
       /home/hassan/vision/Mesa-7.6.1/lib64

Regards,

Hassan Amin


On Fri, Apr 9, 2010 at 3:01 PM, Kevin H. Hobbs <hobbsk at ohiou.edu> wrote:
> On 04/09/2010 01:40 AM, Hassan Amin wrote:
>> For ldd kitware/VTK_Build/bin/libvtkRendering.so | grep OSMesa
>>
>> I get : libOSMesa.so.7 => not found
>>
>
> The linker can not find the OSMesa library. This is very odd since :
>  1. You told CMake exactly where to find it.
>  2. You told CMake to store the location of the OSMesa library in the
> output files ( the rpath option )
>
> Does your OSmesa library actually exist in the location where you told
> CMake to look for it?
>
>> How did I built Mesa library :
>>
>> I used ./configure
>> and make to build my Mesa library.
>>
>>
>
> What options did you pass to the configure script? Did you do something
> like :
>
> ./configure --prefix=`pwd`  |--with-driver=xlib --enable-gl-osmesa
>
> Did you run make install?
>
>
> |
>> I am unable to make Mesa using following commands :
>>
>> "cd Mesa-7.6.1/
>> make linux-x86-64"
>>
>> which was recommended earlier.
>>
>>
>
> This is the only way I've ever been able to make Mesa with OSMesa....
> there was no configure script when I started.
>
> Do you recall the error you got?
>
>



-- 
Dr. Hassan Amin
Assistant Professor
Head of Computer Science Department
National University(NUCES)
Peshawar Campus
Pakistan
Phone:0092-(0)91-111-128-128
Email: hassan.amin at nu.edu.pk



More information about the vtkusers mailing list