LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-02-2010, 06:47 AM   #1
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Rep: Reputation: 20
Question building boost.pyhton


Dear all,

I've successfully build the mains boost_1_45_0 package on my Slackware 13.0 but can't figure out how to get the library libboost_python-mt.so by building boost.python.
I do

Code:
./bjam --with-python link=shared runtime-link=shared
but only get

libboost_python.so.1.45.0 and libboost_python.so

Any idea how to solve this issue?
Thanks,

Eric.

Last edited by aihaike; 12-02-2010 at 06:59 AM.
 
Old 12-02-2010, 10:27 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
Quote:
how to get the library libboost_python-mt.so
That's what you get by building e.g. version 1.38.
( mt in the file name ended with either 1.38 or 1.39,
I think. Please read the boost 'Changelog'.)

Later versions have the mt function included in e.g. libboost_python.so.1.42.0


Example with 1.38 and 1.42 installed at the same time :
ls /usr/lib/libboost* | grep python
/usr/lib/libboost_python-mt.so@
/usr/lib/libboost_python-mt.so.1.38.0*
/usr/lib/libboost_python.so@
/usr/lib/libboost_python.so.1.38.0*
/usr/lib/libboost_python.so.1.42.0*
The ' .so ' links are to version 1.42.

From an rpm spec file, boost 1.42 :
Code:
for file in %{buildroot}%{_libdir}/*.so; do
	cp -a $file ${file%.so}-mt.so
I.e., if you want those mt names, you will have to create them.
.....

Last edited by knudfl; 12-02-2010 at 10:31 AM.
 
1 members found this post helpful.
Old 12-03-2010, 12:40 AM   #3
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Thumbs up

thank you for your help, that solved the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] sequence and merge jpeg images using pyhton? dili Programming 7 06-11-2010 05:04 AM
Boost.Signals adriv Slackware 14 01-28-2008 01:12 AM
pyhton-devel libraries not found? daTerminehtor SUSE / openSUSE 2 07-19-2006 02:53 PM
how to install Boost 1.3.20 chutsu Linux - Software 0 11-10-2004 02:22 PM
Pyhton Directory List facets Programming 4 06-09-2004 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 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