Solved

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

Posted on 1998-10-13
5
186 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 86
Linux hostname change 2 54
Centos 6 User Can't Assign Password 2 24
linux redhat 7.2 10 38
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

19 Experts available now in Live!

Get 1:1 Help Now