Solved

How do I put Mesa-3.0 in place of OpenGL and install in path

Posted on 1998-10-13
5
184 Views
Last Modified: 2013-12-06
I downloaded Mesa-3.0 which this guy told me would work in
place of OpenGL. I compiled it for Linux Elf and ran the
demo. I could not understand the LD_LIBRARY_PATH idea. I
am not sure where this goes. In the env or load config.
I cant find the load config. I have Linux 5.2 and supposedly
it is elf. Can you help
0
Comment
Question by:johnh619
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:marcelofr
ID: 1638258
LD_LIBRARY_PATH has to do with dynamic library loading. It goes in your environment and must be exported by the time you execute the binary involved... You can have two types of binaries: statically linked (all library calls are embedded into it, so you get a big executable but with no dependencies) or dynamically linked. In the last case your binary should be able to find libraries for "printf" to name one. It will look in standard places (/lib, /usr/lib, maybe others) unless you previously told it somewhere with LD_LIBRARY_PATH.

Anyway, there's no such a thing as "Linux 5.2". Linux is the kernel, latest is 2.0.35 (or 2.1.125 for development releases). Kernels come bundled with applications, instalations scripts, etc. as distributions: RedHat, S.u.S.E, Caldera, Debian, LinuxPro, Stampede and more...
0
 

Author Comment

by:johnh619
ID: 1638259
Well they are calling it version 5, I just read it. Also I was
talking to the author of the orrery and geomview whish I am trying to put the Mesa library with and he says I would have to
get the geomview source and recompile it all together and he says
it is probably too much for me. Can you offer any further
suggestion. Thank you for what you did do though.
0
 
LVL 5

Accepted Solution

by:
laeuchli earned 40 total points
ID: 1638260
You don't need to put it in there. Put the path to your lesstif libs in your /etc/ld.so.conf file and type ldconfig. This will load the libs(note: you have to have root access to do this.)
Then if you have installed right you can run programs that use mesa.
0
 

Author Comment

by:johnh619
ID: 1638261
I gave up on mesa. Stuart Levy who wrote the orrery program for
geomview told me I might have to download the source for geomview
and compile with mesa source. What I did wat to get a more
complete copy of linux from red hat which has the opengl in it
evidentally. I got the orrery working with planet maps put on
the sphere by opengl. I looks great. Thanks anyway
0
 
LVL 5

Expert Comment

by:laeuchli
ID: 1638262
Can I have the points?

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now