How do I link to my custom libGL.la during configure/make/install if I am not root?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I link to my custom libGL.la during configure/make/install if I am not root?
Hello
I am trying to install evas-1.0.0_pre13 (from enlightenment 0.17) in my system at work. However in this machine i am a simple user (no root access).
I usually install all programs from source with
./configure --prefix=/home/myuser/usr
make
make install
However while I was trying to install evas-1.0.0 I got:
libtool: link: `/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../..//libGL.la' is not a valid ibtool archive
Which after some searching I found out that is an nvidia bug in the libGL.la and I need to edit that file and add the word "libtool" to the second line:
These are the 2 first lines of libGL.la:
# libGL.la - a libtool library file
# Generated by nvidia-installer: 1.0.5
And they need to read:
# libGL.la - a libtool library file
# Generated by nvidia-installer: 1.0.5 (for use by libtool)
As stated at:
www dot nvnews dot net/vbulletin/archive/index.php/t-23019.html
(And they say linux is not obscure...)
Anyhow. My problem is that I am not root so I cannot change the file.
Is there any way that I can tell make to use my own copy of ligGL.la that I copied in my own directory?
hmm it seems that i did not have an LDPATH variable before. I confirmed this with a new terminal too.
I also checked the documentation for libtool and it seems it has a flag for the link mode:
`-Llibdir'
Search libdir for required libraries that have already been installed.
I dont know if that is the dir that libtool wants for libGL.la. I tried looking trough the configure and Makefile files but it was not easy for me to locate where should I insert the -Llibdir. configure and Makefile are still a little too complicated for me.
I would appreciate If somebody has any idea on how to install this as a normal user..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.