Board index FlightGear Support Installation Linux

Fedora 15 Installation - boost libraries

Installing FlightGear, scenery, aircraft etc. on Linux systems like Ubuntu.

Fedora 15 Installation - boost libraries

Postby RPaul » Sat Oct 01, 2011 6:58 am

Hello,

I am attempting to install FlightGear v2.4 on a machine running Fedora 15. I have successfully installed OpenSceneGraph. When I am in the simgear-2.4.0 directory and run "./configure" I get the following error:

-----------------------------------error message-----------------------------------------------------
checking for boostlib >= 1.37.0... configure: error: We could not detect the boost libraries (version 1.37 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
-------------------------------------------------------------------------------------------------------------

I installed the package boost-1.46.0-3.fc15 (x86_64) from the fedora repository, but still get the same error when working with Simgear.

Suggestions are appreciated. Thank you,

Ryan
Last edited by RPaul on Sat Oct 01, 2011 3:28 pm, edited 1 time in total.
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Hyde » Sat Oct 01, 2011 12:21 pm

boost-1.6.0-3.fc15 is too old.
Mine is boost-1.46.0-3.fc15.x86_64.
Have you enabled romfusion repository and updated?

--Edit
I confirmed boost is in updates repository.
How did you install it?
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Fedora 15 Installation - boost libraries

Postby RPaul » Sat Oct 01, 2011 4:03 pm

I have edited original post to boost-1.46
rpmfusion is enabled and updated.

boost-1.46.0-3.fc15.x86_64 was installed using the fedora add/remove software. I confirmed it was up to date using yum as well. I still get the same error trying to run ./configure for simgear.
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Hyde » Sat Oct 01, 2011 5:46 pm

Hmm.. I can compile and run on both Fedora14 and 15.
Have you run the autogen.sh before configure, of course?
Then I have no idea, sorry. :cry:
Hyde
 
Posts: 724
Joined: Fri Aug 12, 2011 2:09 pm
Location: Peachtree city, GA
Callsign: N407DS
Version: GIT
OS: Fedora 25

Re: Fedora 15 Installation - boost libraries

Postby Sealbhach » Sat Oct 01, 2011 6:02 pm

Are you sure you have the -dev version of the library installed?

.
Sealbhach
 
Posts: 934
Joined: Wed Jun 30, 2010 10:17 am

Re: Fedora 15 Installation - boost libraries

Postby RPaul » Sat Oct 01, 2011 9:11 pm

Thanks to Hyde and Sealbhach I have been able to install FGFS in my /usr/local/bin directory. Once I installed the dev libraries the installation began to work.

My only remaining issue is when I try /usr/local/bin/fgfs to run the program I get the following error:

---------------------- error message below ---------------------------------------
./fgfs: error while loading shared libraries: libosgFX.so.80: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------------------------


libosgFX.so.80 is installed in /usr/local/lib64/libosgFX.so.80.

Any other suggestions would be appreciated.
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Tuxklok » Sat Oct 01, 2011 9:46 pm

Try running the command sudo ldconfig in terminal and then trying again.

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Fedora 15 Installation - boost libraries

Postby RPaul » Sat Oct 01, 2011 10:00 pm

I tried sudo ldconfig

Same error-

/usr/local/bin/fgfs: error while loading shared libraries: libosgFX.so.80: cannot open shared object file: No such file or directory
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Tuxklok » Sat Oct 01, 2011 10:52 pm

Hmm..check if /usr/local/lib64 is listed in /etc/ld.so.conf? If not then try adding it and running ldconfig again.

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Fedora 15 Installation - boost libraries

Postby RPaul » Sun Oct 02, 2011 12:12 am

The only thing in /etc/ld.so.conf is the text:

include ld.so.conf.d/*.conf

How do you add /usr/local/lib64 to this?

Thank you in advance,
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Tuxklok » Sun Oct 02, 2011 12:25 am

You can check the .conf files in /etc/ld.so.conf.d and see if any contain the line /usr/local/lib64. If so, your good, and if not you can either add a new .conf file containing a line /usr/local/lib64...or just add /usr/local/lib64 on the line below the include statement in /etc/ld.so.conf.

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Fedora 15 Installation - boost libraries

Postby RPaul » Sun Oct 02, 2011 3:31 am

Thank you Tuxklok, that worked and flightgear is running
RPaul
 
Posts: 10
Joined: Sat Oct 01, 2011 6:47 am

Re: Fedora 15 Installation - boost libraries

Postby Tuxklok » Sun Oct 02, 2011 4:05 am

Great! See you in the skies...

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest