Create static executable from shared one

February 9, 2008 by santhosh

Did you get an error, like this one, when you tried to run an executable:

./MyOldBinFile: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

This happens to you if you try to execute an old dynamically linked executable, whose library dependencies are missing. Here is how you would have to fix it. Use the command ldd <binFile>, to identify missing shared libraries. Find them online or on other machines and copy them onto your’s. That should do it. Moreover, go one step further and use a software like Ermine OR statifier to create a statically linked executable from a dynamically linked one.

./ErwinePro.i386 MyOldBinFile –output=MyOldBinFile_Static

Independence day – India

August 15, 2007 by santhosh

Its been 60 years that India gained independence from the British rule. Look at some indicators for India, compared against US, EU, Japan, Germany and China. Some of the prominent ranks/numbers (from CIA fact book page) include:

  • Largest democracy in the world
  • GDP (official exchange rate) rank : 13th @ $804 billion; preceded by South Korea
  • GDP (purchasing power parity) rank : 5th @ $4.156 trillion; preceded by Japan
  • Resource Consumption ranks are as follows; Electricity : 6th, Oil : 7th , Natural Gas: 22nd
  • Second largest roadways.
  • 18th largest importer and 30th largest exporter. Lots of room for improvement here.
  • Seventh largest in total land area
  • India has the largest arable/irrigated land. The only big nation to have as much as 48% of its land arable.
  • Second most populous nation @1.13 billion with median age of 24.8 y, while chinese median age is at 33.2
  • Second largest HIV/AIDS incidence at around 5 million, next to South Africa. :(
  • India has world’s largest number of people living below poverty line ~ 280 million ~ 25%
  • One third of the population in India is still illiterate.
  • Holy cow !! India has the largest cattle population. :)

Mars Direct | Singularity

July 19, 2007 by santhosh

Place holder for two concepts that grabbed my attention recently.

Mars Direct – A low-cost plan for a manned mission to Mars proposed by Robert Zubrin and David Baker
Video: A documentary on Zubrin’s effort to kick-start manned Mars missions.
Book: The Case for Mars – Robert Zubrin

Singularity – An eventuality due to accelerated tecnologies, as professed by Ray Kurzweil, when humans evolve beyond biological forms and integrate with matter completely
Video: Ray speaks at Singularity Summit, Stanford
Book: Singularity is Near- Ray Kurzweil

Seven Habits for Effective Text Editing

April 25, 2007 by santhosh

By none other than Bram Moolenar, the creator of Vim (improved VI editor)

Gators win NCAA 2007 BasketBall Championship

April 2, 2007 by santhosh

Gators win the 2007 NCAA Basketball Championship back to back. Its a tough match alright and Gators did deliver big time. Gainesville will become a rowdy town now.

Gators: 84 Buckeyes:75

Florida Gators are now part of college sports history and there are plenty of records to take home tonight.

  1. Florida wins its second NCAA Basketball Title ( back to back .. last such repeat was by Duke in 1991-2)
  2. (Guess) Its the only team to defeat the same opponent, Ohio State Buckeyes, in both the FB & BB finals.
  3. Lee Humphrey has the most 3-Pointers (47) in NCAA Tournaments ever.

Also, Florida Gators is the only team to win both Football and Basketball championships in the same year.

Go Gators !!

Full Story|Recap | Scorecard | Highlights

Gators win back 2 back championship

GatorZone Gallery

Florida’s Starting Five Win Second Straight Basketball Title
Bloomberg - 42 minutes ago
Ohio State Seeks Sweet Revenge Wall Street Journal
Ohio State fans relish another shot at Gators Myrtle Beach Sun News
ESPNCBC NewsMiami HeraldAOL SPORTS
all 1,586 news articles ยป (Google News)