[mesa-users] mesa install in linux VM fails at the very end stage !

Richard Townsend townsend at astro.wisc.edu
Fri Jan 27 10:08:05 EST 2012

One thing I should add: LIBRARY_PATH should point to a *directory*, and not to a file. You need to find the *directory* where both libz.so.* and libX11.so.* reside.

On Jan 27, 2012, at 8:17 AM, Richard Townsend wrote:

> -lz instructs the compiler to look for libz.so. So, that's what you need to find next.
> On Jan 27, 2012, at 5:54 AM, Prof M. N. Anandaram wrote:
>> Yes. I found the file as libX11.so.6.2.0 which I recopied omitting '.6.2.0'
>> and entered it as LIBRARY_PATH=/usr/lib/libX11.so and ran clean install again.
>> Now also it failed but asked for another file again at the endpoint:
>> ----------------------------------------------------
>> /usr/bin/ld: cannot find -lz
>> collect2: error: ld returned 1 exit status
>> make: *** [star] Error 1
>> FAILED/home/clawuser/mesa/star/test
>> /home/clawuser/mesa/star
>> ./build_and_test FAILED
>> -----------------------------------------------
>> I checked that this binary file was there and so with LIBRARY_PATH=/usr/bin/ld
>> I ran install again.  But the result was the same. So what is this -lz?
>> As i did not find it what next?
>> Anandaram 
>> From: Richard Townsend <townsend at astro.wisc.edu>
>> To: Prof M. N. Anandaram <anandaram_mn at yahoo.com> 
>> Cc: "mesa-users at lists.sourceforge.net" <mesa-users at lists.sourceforge.net> 
>> Sent: Thursday, January 26, 2012 9:26 PM
>> Subject: Re: [mesa-users] mesa install in linux VM fails at the very end stage !
>> Can you find where the libX11.so file resides?
>> On Jan 26, 2012, at 9:52 AM, Prof M. N. Anandaram wrote:
>>> Hi all:
>>> I am using an Ubuntu 9.04 based  Linux Virtual Machine hosted by Virtual Box in Windows-7 OS.
>>> As per latest instructions mesasdk is stored in /opt folder and mesa svn#3851 in home directory.
>>> After the three bash commands $export ME...; $source $Me...; and $ export OMP-NUM_THREADS=2,
>>> I entered LIBRARY_PATH=/usr/bin/X11 since my VM does not apperantly  have x86_64-linux-gnu.
>>> Then I do $ cd mesa and then
>>> [mesa]$ ./clean;./install
>>> Things seem to go smoothly except the last stage where
>>> it asks for lX11 and stops as you can see here:
>>> ----------------------------------------------------      
>>>       run_star_extras.o run_star.o  run.o -L../../make -lstar -L../../../lib -ldiffusion -lionization -latm -lcolors -lmlt -leos -lkap -lnet -lscreen -lrates -lreaclib -lweak -lneu -lchem -linterp_2d -linterp_1d -lnum -lutils -lalert -
>>>                                                                                                   lconst -lmtx -lmesaklu `mesasdk_lapack_link` `mesasdk_blas_link` `mesasdk_pgplot_link` `mesasdk_se_link` 
>>> /usr/bin/ld: cannot find -lX11
>>> collect2: error: ld returned 1 exit status
>>> make: *** [star] Error 1
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users

More information about the Mesa-users mailing list