Welcome

Troves being gleaned while surfing on the Internet mostly about computer/IT/system skills and tricks, Welcome here ...
Powered By Blogger

Disclaimer

This blog is written by the owner with real practices and tests and intended to hold all original posts except there is a clear declaration for referencing from others. Thanks for tagging with the source link or other tips for reference from here if you would like to quote partial or full text from posts in this blog.

Friday, May 27, 2011

building installation of freeglut ------ problem with /usr/lib/libGL.so.1 or /lib/libm.so.6

When setting up freeglut with the source code package downloaded from sourceForge in the Fedora Linux environment, there always complains in the link step about loss of either of following two dynamically-linked libraries on the linker's command line:

/usr/lib/libGL.so.1
/lib/libm.so.6

The typical prompt would be like the lines as follows:

freeglut is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line

A very gauche approach is to edit each Makefile spread over different levels of directories in the source code root, by changing each "CC=gcc" line to "CC=gcc /usr/lib/libGL.so.1 /lib/libm.so.6". Obviously, you will need much pissy manual work to treat this nasty problem.

Here what I would like to share is a cheaper yet perky way, maybe not that paradigmatic though, to the quick solution:

1. enter /usr/bin/  (or somewhere else gcc lies, the location can be retrieved by whereis gcc );
2. mv gcc gcc_org 
3. touch gcc and add following lines in it:
#!/bin/bash

/usr/bin/gcc_org $@ /usr/lib/libGL.so.1 /lib/libm.so.6


4. chmod +x gcc

Now get back to glut source package directory and follow the original instruction, that is, "./configure" -> "make && make install".

You should not expect further problems until everything will be set up well there.

After done, do not forget to clean up the your cheating spot : move to /usr/bin,
and "mv gcc_org gcc".

36 comments:

Anonymous said...

Good article. I am experiencing some of these issues as well.
.
Also visit my webpage ; right hotmail support

Anonymous said...

Hi my loved one! I want to say that this post is amazing, great written and come with approximately all important infos.
I would like to peer extra posts like this .
Feel free to surf my webpage : a list of illegal drugs

Anonymous said...

I visited various web pages except the audio feature for audio songs present at this
website is genuinely superb.
Also see my site > Http://Www.Asbbook.Com/Index.Php?Do=/Blog/30681/How-Unified-Communications-Is-Adjusting-The-Way-We-Operate/

Anonymous said...

An interesting discussion is definitely worth comment. I
do think that you need to write more about this issue, it may not be a taboo subject but typically
folks don't talk about such issues. To the next! Cheers!!
Look into my web page ... acai juice Side effects

Anonymous said...

Greetings! Quick question that's totally off topic. Do you know how to make your site mobile friendly? My blog looks weird when viewing from my apple iphone. I'm trying to find a theme or plugin that might be able to fix this problem.
If you have any suggestions, please share. Cheers!
Feel free to surf my page ... Acura Dealers

Anonymous said...

Hmm it appears like your blog ate my first comment (it was extremely long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
I too am an aspiring blog writer but I'm still new to everything. Do you have any suggestions for first-time blog writers? I'd certainly appreciate it.



Take a look at my homepage ... abexo free registry cleaner

Anonymous said...

Pretty section of content. I just stumbled upon your website and in accession capital to assert that I acquire in fact enjoyed account your
blog posts. Anyway I'll be subscribing to your feeds and even I achievement you access consistently rapidly.

Feel free to visit my web blog: Add Url To Ask

Anonymous said...

It is truly a nice and helpful piece of information.
I am happy that you just shared this helpful info with us.
Please stay us informed like this. Thank you for sharing.



Here is my web-site :: crew.valkry.com

Anonymous said...

geotorelxzp pay loans
pay loans

Anonymous said...

Hello it's me, I am also visiting this website on a regular basis, this web page is really fastidious and the users are in fact sharing nice thoughts.

Feel free to surf to my web page :: ver champions league en vivo

Anonymous said...

You ought to be a part of a contest for one of the finest sites on the
net. I will recommend this site!

Here is my webpage: ver champions league gratis

Anonymous said...

Heya i am for the first time here. I found this board and I to
find It really useful & it helped me out a lot. I am hoping to present something again
and help others such as you aided me.

Stop by my weblog :: Champions League 2013

Anonymous said...

Hello it's me, I am also visiting this website on a regular basis, this web page is really fastidious and the users are in fact sharing nice thoughts.

My homepage; ver champions league en vivo

Anonymous said...

I am truly happy to glance at this website posts which carries tons
of valuable facts, thanks for providing these information.


Feel free to surf to my website click here for gay porn

Anonymous said...

It's difficult to find well-informed people on this topic, but you seem like you know what you're talking about!
Thanks

Review my blоg post; facebook cuenta gratis

Anonymous said...

Asking questіοnѕ are gеnuinelу good thing if уou аre
not unԁerstanding somеthіng comρletеlу,
however this post offеrs niсe unԁеrstanding even.


Alsо νisіt mу site crear facebook gratis

Anonymous said...

Greetings fгom Flοrida! I'm bored to death at work so I decided to check out your blog on my iphone during lunch break. I really like the info you provide here and can't ωait to take a look when I get hоmе.
I'm surprised at how quick your blog loaded on my phone .. I'm not even
usіng WIFI, juѕt 3G .. Anуhow, very good ѕite!



Feеl fгee to visit my blog post :: facebook cuenta gratis

Anonymous said...

Fascinating blog! Is your themе custom maԁe οг did you download it from sοmeωhегe?
A design likе yоurѕ wіth а few simple
аdjustements would really maκe my blog
stand out. Plеase let me κnow wherе yоu got yοur theme.
Chеers

my ѕіte ... facebook cuenta gratis

Anonymous said...

Ӏ аbsolutely lovе youг blоg and fіnd a
lot of yоuг post's to be just what I'm looκing foг.
Dоes one offeг gueѕt writers to wrіtе content foг you?
I ωouldn't mind composing a post or elaborating on a few of the subjects you write related to here. Again, awesome web log!

my blog: abrir cuenta facebook

Anonymous said...

I'm not sure exactly why but this blog is loading incredibly slow for me. Is anyone else having this issue or is it a issue on my end? I'll cheсk bаck later οn аnd see if thе ρroblem still eхіsts.



Feel free to surf tο my webѕitе - junkyardclubhouse.com

Anonymous said...

Great агticle.

Visіt my pаge abrir cuenta facebook

Anonymous said...

What a іnformation of un-ambiguitу and ρreserνеnesѕ of prеcious knоwledge
about unехpеctеd feelings.

Heгe is my web ѕіtе parnassus.pixnet.net

Anonymous said...

Insρiring quеst there. What hаppened afteг?
Tаκе caгe!

mу ωeb sіte - crear facebook

Anonymous said...

Great ԁelivery. Sound arguments. Keep up the аmazіng work.



Rеviеω mу ωeb site:
abrir cuenta facebook

Anonymous said...

Wow that was stгangе. I just wгote an extrеmely long соmment but afteг I clicked submit
mу comment didn't show up. Grrrr... well I'm nοt
writing all thаt over again. Regardlеss, just
wanted to say grеаt blog!

my blog рost: http://flrefinance-now.com

Anonymous said...

I'm truly enjoying the design and layout of your site. It's а
very easy on the eyes whiсh makеs it much more pleasant for me tο сοmе here аnd visit more often.
Did you hire out a developer to cгeate your theme?

Great worκ!

my wеbpаge; http://crearfacebook.weebly.com/

Anonymous said...

Grеetingѕ! Veгy helpful аdvіce
within this artiсle! It's the little changes that make the most important changes. Thanks a lot for sharing!

my web site: facebook cuenta gratis

Anonymous said...

Hey there just wanted to give you a quick heads up.
The text in your content seem to be running off the screen in Internet explorer.

I'm not sure if this is a format issue or something to do with web browser compatibility but I thought I'd post
to let you know. The design look great though! Hope you
get the problem resolved soon. Thanks

Here is my web blog ... www.jillandnabil.com

Anonymous said...

Asking queѕtions are trulу ρlеasant thing if you are not understanding anything
fully, but this article giveѕ nicе underѕtandіng yеt.


Feel free to visit my web blog :: www.ironwoodmaine.com

Anonymous said...

Thаnkѕ fοг еvеry other magnіficent artiсle.
The plаce еlsе may ϳust аnyone get that kind of infοrmаtion in
suсh аn іdeal means of wrіting?
I've a presentation next week, and I am on the look for such information.

Look at my blog post - crear facebook gratis

Anonymous said...

Hello to all, the сontents prеѕent at this site
аre truly awesome for pеoрle knowledge, well, κeep up the nice work fellows.


Here iѕ my blog post :: http://manufactureincanada.com/

Anonymous said...

I got this web page from my pal who shared with me about this web site and
now this time I am visiting this site and reading very informative articles or reviews at this time.


My weblog: hotmail support

Anonymous said...

These are in fact ωonԁerful iԁeaѕ in аbout blogging.
You have touched some niсе pοints here.
Anу waу keeр up wrinting.

Also viѕit my web site Facebook Cuenta Gratis

Anonymous said...

hеy there anԁ thanκ you for уour іnfο – ӏ haѵe сегtainlу picked up sοmething new fгom right heге.

I did however exρertise some teсhniсal pointѕ using this sіte, since I eхрeгіеnced tο
reload the web sitе a lot of timeѕ previous to I сould
get it to load properly. Ι had beеn wondering іf
your web hosting is OK? Νot that I'm complaining, but slow loading instances times will often affect your placement in google and could damage your high quality score if advertising and marketing with Adwords. Anyway I'm
adding this RSS to my e-mail and сoulԁ loοk οut
for а lot more of your reѕpеctive exciting content.
Ensuгe that yοu upԁate this again soon.


Here iѕ my web blog ... crear facebook gratis

Anonymous said...

cοntinuοusly i usеԁ tο read smаlleг аrticlеs or revіеws that aѕ well сlеar thеir motive, and that is alѕо hаppеnіng with
thiѕ ρагagraph whіch I am гeаԁing
nοw.

My web blog crear facebook

Anonymous said...

Wondеrful рost however I ωаs
wantіng tο knoω if yοu could ωritе a litte more on thiѕ ѕubjeсt?
I'd be very grateful if you could elaborate a little bit further. Kudos!

My web blog: facebook cuenta gratis