LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-06-2003, 09:59 PM   #1
kwigibo
Member
 
Registered: Apr 2002
Location: Australia
Distribution: Mandrake 8.2
Posts: 53

Rep: Reputation: 15
Angry Mesa3d didnt install properly


Hi everyone,

I have an older version of the Mesa3d libraries. I downloaded the latest stable source version and ran configure, make, make install. It seemed to of worked. But when I run my programs they are still using the old version of the Mesa3d library. My programs dynamically link in the GL libraries. How do I set it to use the new version?
 
Old 05-07-2003, 05:31 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
If "ldconfig -p" shows both Mesa versions, and if you need to keep your old libs (like for linking older apps against them), move them in a directory outside /usr/lib, else delete the old ones. Rerun ldconfig to update the shared library database and recheck with "ldconfig -p".
 
Old 05-07-2003, 12:20 PM   #3
Nukes
Member
 
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
The new install probably installed to /usr/local rather than plain 'ole /usr. Thus the older ones may still be there. Try installing to /usr by specifying a prefix on the configure command like so:
./configure --prefix="usr"
do a make uninstall first if you kept the source tree intact, just so you don't have two copies of the same thing.
 
Old 05-08-2003, 08:39 AM   #4
kwigibo
Member
 
Registered: Apr 2002
Location: Australia
Distribution: Mandrake 8.2
Posts: 53

Original Poster
Rep: Reputation: 15
ran this
ldconfig -p | grep -i "libgl"

got this
Code:
        libglut.so.3 (libc6) => /usr/lib/libglut.so.3
        libglut.so.3 (libc6) => /usr/X11R6/lib/libglut.so.3
        libglut.so (libc6) => /usr/lib/libglut.so
        libglide3.so.3 (libc6) => /usr/lib/libglide3.so.3
        libglib-2.0.so.0 (libc6) => /usr/lib/libglib-2.0.so.0
        libglib-1.2.so.0 (libc6) => /usr/lib/libglib-1.2.so.0
        libglade.so.0 (libc6) => /usr/lib/libglade.so.0
        libglade-2.0.so.0 (libc6) => /usr/lib/libglade-2.0.so.0
        libglade-gnome.so.0 (libc6) => /usr/lib/libglade-gnome.so.0
        libGLU.so.1 (libc6) => /usr/X11R6/lib/libGLU.so.1
        libGLU.so (libc6) => /usr/X11R6/lib/libGLU.so
        libGL.so.1 (libc6) => /usr/X11R6/lib/libGL.so.1
        libGL.so (libc6) => /usr/X11R6/lib/libGL.so
here's an output of the directory where they should be and are?
Code:
] ll /usr/X11R6/lib/ | grep -i "libgl"
-rw-r--r--    1 root     root       651504 Sep 13  2002 libGL.a
-rwxr-xr-x    1 root     root          744 Apr 29 19:37 libGL.la*
lrwxrwxrwx    1 root     root           16 Apr 29 19:37 libGL.so -> libGL.so.1.4.501*
lrwxrwxrwx    1 root     root           21 Apr 29 19:37 libGL.so.1 -> libGLwrapper.so.0.1.6*
-rwxr-xr-x    1 root     root       244848 Aug  5  2002 libGL.so.1.0*
-rwxr-xr-x    1 root     root       504496 Sep 13  2002 libGL.so.1.2*
-rwxr-xr-x    1 root     root      1971440 Aug  5  2002 libGL.so.1.3.403*
-rwxr-xr-x    1 root     root      5520071 Apr 29 19:37 libGL.so.1.4.501*
-rwxr-xr-x    1 root     root          835 Apr 29 19:37 libGLU.la*
lrwxrwxrwx    1 root     root           17 Apr 29 19:37 libGLU.so -> libGLU.so.1.3.501*
lrwxrwxrwx    1 root     root           17 Apr 29 19:37 libGLU.so.1 -> libGLU.so.1.3.501*
-rwxr-xr-x    1 root     root       599072 Aug  5  2002 libGLU.so.1.3.403*
-rwxr-xr-x    1 root     root      1219063 Apr 29 19:37 libGLU.so.1.3.501*
lrwxr-xr-x    1 root     root           16 Jan 27 03:48 libglut.so.3 -> libglut.so.3.7.0*
-rwxr-xr-x    1 root     root       217904 Aug  5  2002 libglut.so.3.7.0*
-rw-r--r--    1 root     root        27316 Sep 13  2002 libGLw.a
-rwxr-xr-x    1 root     root       147872 Aug  5  2002 libGLwrapper.so.0.1.6*
what do I do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help, linux install didnt detect my onboard nic!! abefroman Linux - Hardware 4 11-18-2005 07:07 PM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM
RH9 install didnt install boot loader! justin9 Linux - Newbie 5 08-07-2003 03:43 PM
Mesa3d removal jfrey Linux - Software 0 05-24-2003 12:38 AM
Mesa3D HELP??? greay Linux - General 1 05-31-2001 07:15 AM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration