LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2010, 12:27 AM   #1
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Rep: Reputation: 1
boost lib problem


i want install a software,which reported that:
"checking for boostlib >= 1.37.0... Failed...
configure: Configure failed with the error message: [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>"

when i finished installed boost, i got:
"The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

/var/soft/boost_1_43_0

The following directory should be added to linker library paths:

/var/soft/boost_1_43_0/stage/lib
"
what should i do next?
Any help would be greatly appreciated.
 
Old 05-20-2010, 12:47 AM   #2
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
Hi and welcome on LQ!

It looks like you are installing (or compiling even!?) software that needs the boost library package to work.
I have no experience with it, but google (first hit!) turned op boost.org
Have a look there, download and install their libraries and give the "installation" another go!
 
1 members found this post helpful.
Old 05-20-2010, 01:07 AM   #3
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kurwongbah View Post
Hi and welcome on LQ!

It looks like you are installing (or compiling even!?) software that needs the boost library package to work.
I have no experience with it, but google (first hit!) turned op boost.org
Have a look there, download and install their libraries and give the "installation" another go!
it seems i had installed boost successful. what i need is setenv related to" linker library paths". and i donot know what it means.
 
1 members found this post helpful.
Old 05-20-2010, 01:11 AM   #4
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
Can you please give a sequence of the steps you performed and what error turned up where?
 
Old 05-20-2010, 01:32 AM   #5
biocc
LQ Newbie
 
Registered: May 2010
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kurwongbah View Post
Can you please give a sequence of the steps you performed and what error turned up where?
thanks
according to the boost document, i did the follow things
#tar -zxvf boost_1_43_0.tar.gz
#./bootstrap.sh
#./bjam
and i got the result
......

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

/var/soft/boost_1_43_0

The following directory should be added to linker library paths:

/var/soft/boost_1_43_0/stage/lib
 
Old 05-20-2010, 05:33 PM   #6
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
Okay, I get it now, I think...
1) You try to install a program that complained about not being able to find the boost libs
2) You installed the boost libs succesfully
Have you tried step 1 again.
If so, what did it say now?
 
Old 05-22-2010, 02:25 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The safe choice is boost-1.38.
New boost is different. Please see the 'Changelog'.

I guess, you have a very good reason to use /var/ for software ?
' /var/ ' is certainly not meant for that.


How about installing boost : # ./bjam install
.. which should put boost in place : /usr/local/lib/ , etc.
..

Last edited by knudfl; 05-22-2010 at 10:17 PM.
 
Old 09-16-2010, 04:11 AM   #8
shitou
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 0
Hi,I have meet the same question.

When I configure the VMware-open-source-view-client using the command “configure --host=sh4-linux CC=sh4-linux-gcc CXX=sh4-linux-g++ “ to configure the VMware-open-source-view-client which is proper running on the ARM architecture.

configure:10578: result: no

configure:10518: checking for exit in -lboost_signals-mt

configure:10578: result: no

configure:10518: checking for exit in -lboost_signals-mt

configure:10578: result: no

configure:10518: checking for exit in -lboost_signals

configure:10553: sh4-linux-gcc -o conftest -g -O2 -DBUILT_BY_root -I/usr/include -L/usr/lib conftest.c -lboost_signals >&5

conftest.c:52: warning: conflicting types for built-in function 'exit'

/opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld: skipping incompatible /usr/lib/libboost_signals.so when searching for - lboost_signals

/opt/STM/STLinux-2.3/devkit/sh4/lib/gcc/sh4-linux/4.2.4/../../../../sh4-linux/bin/ld: cannot find -lboost_signals

collect2: ld returned 1 exit statud

My host OS is fedora 11,and I have checked that the boost.signal version is 1.37.0
 
Old 09-17-2010, 07:52 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ shitou, post # 8 : boost-1.37.0-6.fc11.i586 is installed,
and cannot be used for sh4-linux / arm. Will do for x86 architecture only.

But I guess, you already know that from your other thread with the same question.

..
 
  


Reply



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
Could Copying Something From /usr/lib to /lib stop connectivity? onesikgypo Linux - Newbie 12 08-23-2009 11:51 AM
Problem with boost regex - can't compile easiest examples lodziarz Programming 3 02-28-2008 04:15 PM
Compiling libtorrent-0.12 failing on boost lib that does exist agentc0re Slackware 4 01-12-2008 01:36 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM
g++ and boost problem mixx Programming 1 07-20-2005 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration